Template:Creature nav

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

This template automatically generates a navigation table for the different ranks of an NPC by searching for the rank prefixes.

Usage[edit]

{{Creature nav}}
{{Creature nav|<NPC name>|young=<young prefix/suffix>|veteran=<veteran NPC>|elite=<elite NPC>|champion=<champion NPC>|legendary=<legendary NPC>|epic=<epic NPC>|family=<header>}}
{{Creature nav|young=<young prefix/suffix>}}
{{Creature nav|<normal NPC, required>|young name=<full young name if prefix/suffix isn't enough>}}

Parameters[edit]

1 (unnamed parameter)
Optional. Name of the creature. If no parameter is given the PAGENAME is used. By default this parameter is used to get the "core" part of all NPC names by removing the rank and a possible "(NPC)" suffix.
veteran
elite
champion
legendary
epic
Optional. Overrides the NPC and creates a wikilink to the given page.
young
Optional. Young suffix (e.g. "Young") or prefix (e.g. "Calf", "Cup", "Hatchling", "Pup"), which is appended to the parameter family accordingly.
young name
Optional. Full young name if the young suffix/prefix isn't sufficient. This requires the unnamed parameter 1 to be set to the normal NPC on the young page.
family
Optional. Overrides the heading of the nav and defines the "core" part of all NPC names.

Examples[edit]

{{Creature nav|Risen Spider}}

{{Creature nav|Veteran Aatxe}}

{{Creature nav|Corrupted Griffon|elite = Claw of Jormag}}

{{Creature nav|Veteran Chak Lobber}}

{{Creature nav|Shark (NPC)}}

{{Creature nav|Rock Gazelle Fawn|young=Fawn}}