Template:Armor set nav

From Guild Wars 2 Wiki
Jump to navigationJump to search

This template can be used when copy-pasting the navbox layout gets too annoying. Currently, it's not as smart as {{Weapon set nav}}.

Usage[edit]

{{armor set nav
| name = <armor set name>
| 
<content>
}}

Parameters[edit]

1 (unnamed parameter)
Optional. The raw navbox content. Using definition lists and hlists here is probably a good idea.
light head, light shoulder, light chest, light hand, light leg, light foot, medium head, ..., heavy foot
Optional. 18 parameters for each combination of armor weight and slot. Each should be set to just the name of the corresponding item.
These parameters can be used instead of or in addition to the raw content, depending on personal preference.
name
Somewhat required. Should be something like "XYZ armor". This sets the following two parameters in one go.
title
Optional. The navbox title. Defaults to {{{name}}}.
category
Optional. The armor set category. Defaults to {{{name}}}.

Examples[edit]

Using individual armor piece parameters[edit]

{{armor set nav
| name = Dolyak armor
| heavy head = Dolyak Hounskull | heavy shoulder = Dolyak Spaulders | heavy chest = Dolyak Mail
| heavy hand = Dolyak Gauntlets | heavy leg = Dolyak Chausses | heavy foot = Dolyak Greaves
}}

Using raw content[edit]

{{armor set nav
| name = Dolyak armor
| {{hlist|[[Dolyak Hounskull|Head]], [[Dolyak Spaulders|Shoulder]], [[Dolyak Mail|Chest]],
          [[Dolyak Gauntlets|Hand]], [[Dolyak Chausses|Leg]], [[Dolyak Greaves|Foot]]}}
}}