Template:Block-weapons: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
<th>Weapon</th><th>Stats</th><th>Specials</th> | <th>Weapon</th><th>Stats</th><th>Specials</th> | ||
</tr> | </tr> | ||
{{#if: {{{weapon1|}}} | <tr> {{{{{weapon1}}}}} </tr> | }} | |||
{{#if: {{{weapon2|}}} | <tr> {{{{{weapon2}}}}} </tr> | }} | |||
</table> | </table> | ||
</includeonly> | </includeonly> |
Revision as of 18:29, 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 }}