Template:Block-weapons: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
mNo edit summary
Line 51: Line 51:
=USAGE=
=USAGE=
Just paste what's below. The weapon1 is a variable for linking and display. The name is the name of the weapon template.  
Just paste what's below. The weapon1 is a variable for linking and display. The name is the name of the weapon template.  
{{Block-weapons
| weapon1 = {{weapon-name-goes-here}}
| weapon2 = {{weapon-name-goes-here}}
}}


<pre style="margin-left: 20px;">
<pre style="margin-left: 20px;">

Revision as of 14:22, 26 December 2023



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.

{{Block-weapons
| weapon1 = {{weapon-name-goes-here}}
| weapon2 = {{weapon-name-goes-here}}
}}

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.

{{Block-weapons
| weapon1 = {{weapon-name-goes-here}}
| weapon2 = {{weapon-name-goes-here}}
| weapon3 = {{weapon-name-goes-here}}
}}