Template:WData: Difference between revisions

Want an adless experience? Log in or Create an account.
m
no edit summary
No edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
{| class="wikitable"
{| class="wikitable"
|-
|-
! Property !! value
! Property !! Value
|-
|-
| Range || {{{1}}}
| Range || {{{1}}}
Line 8: Line 8:
| Power || {{{2}}}
| Power || {{{2}}}
|-
|-
| Ability || {{{3}}}
| Ability || {{{3|None}}}
|-
| {{#if:{{{4}}}|style="display: table-cell;"|style="display: none;"}} | Cost || {{#if:{{{4}}}|style="display: table-cell;"|style="display: none;"}} | {{{4}}}
|}
|}
</onlyinclude>
</onlyinclude>
==Purpose==
==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.
WData is a template for pages regarding weapons in ''[[Cadence of Hyrule]]''. It is mainly used to keep weapon data tables uniform across pages.


==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|ability}}
{{Usage|range|power}}


WData has an optional fourth parameter <code>cost</code> that describes the cost of the weapon. It should not be used on tier 3 or unique weapons.
WData also has a third parameter. <code>Ability</code> describes any special properties pertaining to the weapon '''not mentioned in range or power'''. Ability defaults to None if it is not used.


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


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

edits