Template:WData: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary
(Removed optional cost parameter (Cost should go in the infobox, not the weapon data table).)
Line 9: Line 9:
|-
|-
| Ability || {{{3}}}
| Ability || {{{3}}}
|-
| {{#if:{{{4|}}}|style="display: table-cell;"|style="display: none;"}} | Cost || {{#if:{{{4|}}}|style="display: table-cell;"|style="display: none;"}} | {{{4}}}
|}
|}
</onlyinclude>
</onlyinclude>
Line 20: Line 18:


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


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

Revision as of 13:15, April 4, 2021

Property Value
Range {{{1}}}
Power {{{2}}}
Ability {{{3}}}

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 three parameters: range describes the reach of the weapon, power describes the base weapon strength, and ability describes any special properties pertaining to the weapon.

{{WData| range | power | ability }}