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: {{{weapon1|}}} | <tr> {{{{{weapon1}}}}} </tr> | }} | ||
{{#if: {{{weapon2|}}} | <tr> {{{{{weapon2}}}}} </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> | }} | |||
Revision as of 18:31, 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 }}