Template:WData: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(Removed optional cost parameter (Cost should go in the infobox, not the weapon data table).)
(Added parameter 3 default value)
Line 8: Line 8:
| Power || {{{2}}}
| Power || {{{2}}}
|-
|-
| Ability || {{{3}}}
| Ability || {{{3|None}}}
|}
|}
</onlyinclude>
</onlyinclude>
Line 15: Line 15:


==Usage==
==Usage==
WData should always have at least three parameters: <code>range</code> describes the reach of the weapon, <code>power</code> describes the base weapon strength, and <code>ability</code> describes any special properties pertaining to the weapon.
WData should always have at least two parameters: <code>range</code> describes the reach of the weapon, and <code>power</code> describes the base weapon strength.
 
{{Usage|range|power}}
 
WData also has a third parameter. <code>Ability</code> describes any special properties pertaining to the weapon. Ability defaults to None if it is not used.


{{Usage|range|power|ability}}
{{Usage|range|power|ability}}


{{Cat|Formatting Templates}}
{{Cat|Formatting Templates}}