From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
m (category fix)
m (update usage)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This template is used to display a "footer nav" at the bottom of a page, which contains links to the previous and next pages, as well as an expandable table of contents, which is usually hidden, but is shown by default for "Walkthrough" pages.
{{High-risk}}
This template is used to display a navigation bar at the bottom of a page. It contains links to the previous and following pages in the walkthrough as well as an expandable table of contents. The table of contents is collapsed by default, except on "Walkthrough" pages.


==Usage==
==Usage==
Line 12: Line 13:
|nextname=Next page label (optional)
|nextname=Next page label (optional)
|nextimg=[[Image:sample.jpg]] (optional image to display with the "next" link)
|nextimg=[[Image:sample.jpg]] (optional image to display with the "next" link)
|customprev=Additional links on the left. Each link must be a bullet point. (optional)
|customnext=Additional links on the right. Each link must be a bullet point. (optional)
}}</pre>
}}</pre>


The <tt>prevname</tt>, <tt>here</tt> and <tt>nextname</tt> parameters are optional, and should only be passed if you want the previous/next links to have labels different from the page name (e.g. if the previous or next pages are sub-sub-pages), or if you want the current page label to be different from the current page's name.
The <tt>prevname</tt>, <tt>here</tt> and <tt>nextname</tt> parameters are optional, and should only be passed if you want the previous/next links to have labels different from the page name (e.g. if the previous or next pages are sub-sub-pages), or if you want the current page label to be different from the current page's name.


You can also use the custom parameters <tt>customprev=</tt> and <tt>customnext=</tt> to add additional links to a direction.
You can also use the custom parameters <tt>customprev=</tt> and <tt>customnext=</tt> to add additional links.


==Example==
==Example==
Line 24: Line 27:
</pre>
</pre>


<noinclude>[[Category:Template documenation|F]]</noinclude>
A more complex usage would be:
<pre>
{{Footer Nav|game=Grand Theft Auto III|prevpage=Waka-Gashira Wipeout|previmg=[[File:GTA3 Icon Donald.png]]|hereimg=[[File:GTA3 Icon Donald.png]]|nextpage=Grand Theft Aero|nextimg=[[File:GTA3 Icon Donald.png]]|customnext=[[File:GTA3 Icon Ray.png]] [[../Marked Man/]]
* [[File:GTA3 Icon D-Ice.png]] [[../Uzi Money/]]
* [[../Gripped!/]]}}
</pre>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 22:26, 20 May 2024

This template is used to display a navigation bar at the bottom of a page. It contains links to the previous and following pages in the walkthrough as well as an expandable table of contents. The table of contents is collapsed by default, except on "Walkthrough" pages.

Usage[edit]

{{Footer Nav
|game=Game name
|prevpage=Previous page name (do not include game name)
|prevname=Previous page label (optional)
|previmg=[[Image:sample.jpg]] (optional image to display with the "previous" link)
|here=This page label (optional; do not include game name)
|hereimg=[[Image:sample.jpg]] (optional image to display with the "here" label)
|nextpage=Next page name (do not include game name)
|nextname=Next page label (optional)
|nextimg=[[Image:sample.jpg]] (optional image to display with the "next" link)
|customprev=Additional links on the left. Each link must be a bullet point. (optional)
|customnext=Additional links on the right. Each link must be a bullet point. (optional)
}}

The prevname, here and nextname parameters are optional, and should only be passed if you want the previous/next links to have labels different from the page name (e.g. if the previous or next pages are sub-sub-pages), or if you want the current page label to be different from the current page's name.

You can also use the custom parameters customprev= and customnext= to add additional links.

Example[edit]

Most commonly you will run into a basic Footer Nav with only the minimum requirements, such as the following:

{{Footer Nav|game=Super Metroid|prevpage=Controls|nextpage=Space Colony Ceres}}

A more complex usage would be:

{{Footer Nav|game=Grand Theft Auto III|prevpage=Waka-Gashira Wipeout|previmg=[[File:GTA3 Icon Donald.png]]|hereimg=[[File:GTA3 Icon Donald.png]]|nextpage=Grand Theft Aero|nextimg=[[File:GTA3 Icon Donald.png]]|customnext=[[File:GTA3 Icon Ray.png]] [[../Marked Man/]]
* [[File:GTA3 Icon D-Ice.png]] [[../Uzi Money/]]
* [[../Gripped!/]]}}