Template:Nav
From Guild Wars 2 Wiki
Jump to navigationJump to search
Usage[edit]
This templates can be used to create a navbox with arbitrary content. While it can be used on any article page, the main purpose of this template is to simplify the creation of more specific navigation templates.
{{nav | title = <title> | <content> }}
If only a list of quick links is required, {{blank nav}} might be the better choice.
Parameters[edit]
- 1 (unnamed parameter)
- Required. The content of the navbox.
- title
- Required. Title of the navbox.
- class
- Optional. The table color class. See Template:STDT#Color examples for a list. Defaults to
mech1
. - category
- Optional. Category that will only be used when this template is transcluded on a mainspace page. Doesn't set any category by default.
- template category
- Optional. Category that will only be used when this template is transcluded on another template page. Defaults to Navigation templates.
Example[edit]
{{nav | title = [[Dolyak]]s | class = ranger | ; Generic : {{hlist|[[Dolyak (NPC)|Dolyak]], [[Festive Dolyak]], [[Pack Dolyak]]}} ; Named : {{hlist|[[Emma]], [[Ramsy]], [[Titan]]}} }}
See also[edit]
- {{NavBox}}, a general purpose navbox with a different style