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.
No edit summary
No edit summary
Line 10: Line 10:
| Ability || {{{3}}}
| Ability || {{{3}}}
|-
|-
| {{#if:!{{{4}}}|style="display: none;"}} | Cost || {{#if:!{{{4}}}|style="display: none;"}} | {{{4}}}
| {{#if:{{{4}}}|style="display: table-cell;"|style="display: none;"}} | Cost || {{#if:{{{4}}}|style="display: table-cell;"|style="display: none;"}} | {{{4}}}
|}
|}
</onlyinclude>
</onlyinclude>

Revision as of 19:47, February 15, 2021

Property value
Range {{{1}}}
Power {{{2}}}
Ability {{{3}}}
Cost {{{4}}}

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 }}

WData has an optional fourth parameter cost that describes the cost of the weapon. It should not be used on tier 3 or unique weapons.

{{WData| range | power | ability | cost }}