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
 
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> | }}
    {{#if: {{{weapon3|}}}  | <tr> {{{{{weapon3}}}}}  </tr> | }}
    {{#if: {{{weapon4|}}}  | <tr> {{{{{weapon4}}}}}  </tr> | }}
    {{#if: {{{weapon5|}}}  | <tr> {{{{{weapon5}}}}}  </tr> | }}
    {{#if: {{{weapon6|}}}  | <tr> {{{{{weapon6}}}}}  </tr> | }}
    {{#if: {{{weapon7|}}}  | <tr> {{{{{weapon7}}}}}  </tr> | }}
    {{#if: {{{weapon8|}}}  | <tr> {{{{{weapon8}}}}}  </tr> | }}
    {{#if: {{{weapon9|}}}  | <tr> {{{{{weapon9}}}}}  </tr> | }}
    {{#if: {{{weapon10|}}} | <tr> {{{{{weapon10}}}}} </tr> | }}
    {{#if: {{{weapon11|}}} | <tr> {{{{{weapon11}}}}} </tr> | }}
    {{#if: {{{weapon12|}}} | <tr> {{{{{weapon12}}}}} </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.