Template:Block-weapons: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
No edit summary
m (Replaced content with "This block is no longer used. <noinclude>Category:Trash</noinclude>")
Tag: Replaced
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
This block is no longer used.  
=Weapons=
<noinclude>[[Category:Trash]]</noinclude>
<table>
 
<tr>
<th>Weapon</th><th>Stats</th><th>Specials</th>
</tr>
    {{#if: {{{weapon1|}}} | <tr> {{{{{weapon1}}}}} </tr> | }}
    {{#if: {{{weapon2|}}} | <tr> {{{{{weapon2}}}}} </tr> | }}
 
</table>
</includeonly>
 
<noinclude>
 
Made a reusable weapon block.
 
=USAGE=
Just paste what's below. The weapon1 is a variable for linking and display. The name is the name of the weapon template.  
 
<pre style="margin-left: 20px;">
{{Block-weapons
| weapon1 = weapon-name-goes-here
| weapon2 = weapon-name-goes-here
}}
</pre>
 
==More weapons==
Add a line for each new weapon, and change the weapon variable name by rolling the next number (like below). You can have 12.
<pre style="margin-left: 20px;">
{{Block-weapons
| weapon1 = weapon-name-goes-here
| weapon2 = weapon-name-goes-here
| weapon3 = weapon-name-goes-here
}}
</pre>
</noinclude>

Latest revision as of 01:07, 1 February 2024

This block is no longer used.