This page has been transcluded from Template:Header Nav/Documentation.
This template is used at the top of (just about) every article to ease navigation around guides. Custom versions should not be made; if you think you have a need to create one, you don't. You're probably looking for the custom parameter or a Custom Nav page (see below).
Contents |
Add the template to a page like this:
{{Header Nav
|game=Game name
|num=Number from 0 to 5 (main guide page only)
|custom=custom non-hidden links (optional)
}}
This looks as follows when added to the guide without num:
{{Header Nav|game=The Legend of Zelda: Ocarina of Time}}
Always be sure to use the num variable only on the main page of guides to represent the overall completion level of the guide.
To put custom links on every page in a guide, a Custom Nav page needs to be created (e.g. Chip's Challenge/Custom Nav), which will be included in the Header Nav for each page in that guide after the Walkthrough link but before any other custom links. This is the recommended way to include standard custom links on Header Navs in a guide, and apart from creating the Custom Nav page, no other modifications to the guide have to be made.
To add extra links to the Header Nav for a specific page, use the custom parameter for the Header Nav on that page. To make the look and feel standard, put a {{!}} between links. Example usage:
{{Header Nav
|game=The Legend of Zelda: Ocarina of Time
|custom=[[The Legend of Zelda: Ocarina of Time/Maps|Maps]] {{!}} [[The Legend of Zelda:Ocarina of Time/Controls|Controls]]
}}
Example output:
If your guide is one page, and is only ever going to be one page, assign any value to the one page variable. This will hide the Table of Contents and Walkthrough links which do not apply to your page. Example usage:
{{Header Nav|game=Pinball|onepage=1}}
Example output:
This should not be considered an acceptable alternative to sub-paging large guides. Single page guides are only acceptable for very simple games or compilation games which redirect to expanded guides for the games they contain.