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 | 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}} |
Revision as of 13:29, April 4, 2021
Property | Value |
---|---|
Range | {{{1}}} |
Power | {{{2}}} |
Ability | None |
Purpose
WData is a template for pages regarding weapons, specifically those in Cadence of Hyrule. It is mainly used to keep weapon data tables uniform across pages.
Usage
WData should always have at least two parameters: range
describes the reach of the weapon, and power
describes the base weapon strength.
{{WData| range | power }}
WData also has a third parameter. Ability
describes any special properties pertaining to the weapon. Ability defaults to None if it is not used.
{{WData| range | power | ability }}