Template:Stats-weapon: Difference between revisions
Jump to navigation
Jump to search
m (Usage and example filled in. Variable specials added.) |
m (Added ranged vs melee variable) |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<tr> | <tr> | ||
<td style="padding: 2px; padding-right: 10px; font-weight: bold; border: 1px solid grey;">[[Template:{{{weapon}}}|{{{weapon}}}]] | <td style="padding: 2px; padding-right: 10px; font-weight: bold; border: 1px solid grey;">[[Template:{{{weapon}}}|{{{weapon}}}]]</td> | ||
</td> | <td style="padding: 2px; padding-right: 10px; font-weight: bold; border: 1px solid grey;">[[Category:{{{weapon-type}}} Attacks|{{{weapon-type}}}]] [[:Category:{{{weapon-type}}} Attacks|{{{weapon-type}}}]]</td> | ||
<td style="padding: 2px; padding-right: 10px; font-weight: bold; border: 1px solid grey;"><table style="border-collapse: collapse; text-align: center"> | <td style="padding: 2px; padding-right: 10px; font-weight: bold; border: 1px solid grey;"><table style="border-collapse: collapse; text-align: center"> | ||
<table> | <table> | ||
| Line 50: | Line 50: | ||
{{Stats-weapon | {{Stats-weapon | ||
| weapon = | | weapon = | ||
| weapon-type = | |||
| rng = | | rng = | ||
| aoe = | | aoe = | ||
| Line 68: | Line 69: | ||
== Acceptable values== | == Acceptable values== | ||
* weapon = the weapon template name. Example = "Weapon Name" | * weapon = the weapon template name. Example = "Weapon Name" | ||
* weapon-type = "melee" or "ranged" | |||
* rng = a number, except in the case of sprays. Example "sp8" or "10" | * rng = a number, except in the case of sprays. Example "sp8" or "10" | ||
* aoe = a number, or leave blank for it to not appear. | * aoe = a number, or leave blank for it to not appear. | ||
| Line 80: | Line 82: | ||
{{Stats-weapon | {{Stats-weapon | ||
| weapon = Example weapon | | weapon = Example weapon | ||
| weapon-type = | |||
| rng = 50 | | rng = 50 | ||
| aoe = | | aoe = | ||
| Line 97: | Line 100: | ||
{{Stats-weapon | {{Stats-weapon | ||
| weapon = Example weapon | | weapon = Example weapon | ||
| weapon-type = ranged | |||
| rng = 50 | | rng = 50 | ||
| aoe = | | aoe = | ||
Revision as of 21:56, 27 December 2023
USAGE
All weapons must be in a template. They call this template so that the information can go into the page.
Instructions
Paste the following into your weapon template:
<table>
{{Stats-weapon
| weapon =
| weapon-type =
| rng =
| aoe =
| rof =
| pow =
| special1 =
| special2 =
| special3 =
| special4 =
| special5 =
| special6 =
| special7 =
| special8 =
| special9 =
}}
</table>
Acceptable values
- weapon = the weapon template name. Example = "Weapon Name"
- weapon-type = "melee" or "ranged"
- rng = a number, except in the case of sprays. Example "sp8" or "10"
- aoe = a number, or leave blank for it to not appear.
- rof = a number, or leave blank for it to not appear.
- pow = a number, or dash or leave blank.
- special1 through special 9 = the special template name. This covers everything from damage typing to criticals, to special rules.
EXAMPLE
Here's an example
{{Stats-weapon
| weapon = Example weapon
| weapon-type = ranged
| rng = 50
| aoe =
| rof = 3
| pow = 20
| special1 = Example special
| special2 =
| special3 =
| special4 =
| special5 =
| special6 =
| special7 =
| special8 =
| special9 =
}}| Example weapon | [[Category: Attacks|]] [[:Category: Attacks|]] |
|
|