From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
m (Template:All Game Nav/Documentation moved to Template:Header Nav/Documentation: as per Community Portal Discussion)
m (fix link)
Line 1: Line 1:
----
----
<includeonly>The documentation for this template is transcluded from [[Template:All Game Nav/Documentation]].  Click <span class="plainlinks">[http://strategywiki.org/w/index.php?title=Template:All_Game_Nav/Documentation&action=edit here]</span> to edit it.</includeonly>
<includeonly>The documentation for this template is transcluded from [[Template:Header Nav/Documentation]].  Click <span class="plainlinks">[http://strategywiki.org/w/index.php?title=Template:Header_Nav/Documentation&action=edit here]</span> to edit it.</includeonly>
<noinclude>This documentation is transcluded into [[Template:All Game Nav]] so that it may be edited without requiring an update for all uses of Template:All Game Nav.</noinclude>
<noinclude>This documentation is transcluded into [[Template:Header Nav]] so that it may be edited without requiring an update for all uses of Template:Header Nav.</noinclude>
----
----
This template is used '''at the top''' of (just about) every article to ease navigation around guides. Custom versions can be made, but deference should usually be given to this standard template.
This template is used '''at the top''' of (just about) every article to ease navigation around guides. Custom versions can be made, but deference should usually be given to this standard template.
Line 7: Line 7:
Add the template to a page like this:
Add the template to a page like this:
<pre>
<pre>
{{All Game Nav
{{Header Nav
|game=Game Name Goes Here
|game=Game Name Goes Here
|num=(optional number from 0 to 4)
|num=(optional number from 0 to 4)
Line 15: Line 15:


This looks as follows when added to the guide without num:
This looks as follows when added to the guide without num:
{{All Game Nav|game=The Legend of Zelda: Ocarina of Time}}
{{Header Nav|game=The Legend of Zelda: Ocarina of Time}}


=== Usage of num ===
=== Usage of num ===
Line 30: Line 30:


<pre>
<pre>
{{All Game Nav
{{Header Nav
|game=The Legend of Zelda: Ocarina of Time
|game=The Legend of Zelda: Ocarina of Time
|custom=[[The Legend of Zelda: Ocarina of Time/Maps|Maps]] <nowiki><nowiki></nowiki>|<nowiki></nowiki></nowiki> [[The Legend of Zelda:Ocarina of Time/Controls|Controls]]  
|custom=[[The Legend of Zelda: Ocarina of Time/Maps|Maps]] <nowiki><nowiki></nowiki>|<nowiki></nowiki></nowiki> [[The Legend of Zelda:Ocarina of Time/Controls|Controls]]  
Line 37: Line 37:


Example output:
Example output:
{{All Game Nav
{{Header Nav
|game=The Legend of Zelda: Ocarina of Time
|game=The Legend of Zelda: Ocarina of Time
|custom=[[The Legend of Zelda: Ocarina of Time/Maps|Maps]] <nowiki>|</nowiki> [[The Legend of Zelda: Ocarina of Time/Controls|Controls]]  
|custom=[[The Legend of Zelda: Ocarina of Time/Maps|Maps]] <nowiki>|</nowiki> [[The Legend of Zelda: Ocarina of Time/Controls|Controls]]  
Line 46: Line 46:


<pre>
<pre>
{{All Game Nav
{{Header Nav
|game=Pinball
|game=Pinball
|onepage=1
|onepage=1
Line 53: Line 53:


Example output:
Example output:
{{All Game Nav
{{Header Nav
|game=Pinball
|game=Pinball
|onepage=1
|onepage=1
Line 61: Line 61:


=== Usage of parent ===
=== Usage of parent ===
If your guide is one of a few guides which all need to share a Table of Contents and Walkthrough page, set the value of parent to the main page where the TOC and Walkthrough subpages are located.  This will use the Table of Contents and Walkthrough links from the parent page rather than the guide with the All Game Nav.
If your guide is one of a few guides which all need to share a Table of Contents and Walkthrough page, set the value of parent to the main page where the TOC and Walkthrough subpages are located.  This will use the Table of Contents and Walkthrough links from the parent page rather than the guide with the Header Nav.


<pre>
<pre>
{{All Game Nav
{{Header Nav
|game=Super Street Fighter II
|game=Super Street Fighter II
|parent=Street Fighter II
|parent=Street Fighter II
Line 71: Line 71:


Example output:
Example output:
{{All Game Nav
{{Header Nav
|game=Super Street Fighter II
|game=Super Street Fighter II
|parent=Street Fighter II
|parent=Street Fighter II

Revision as of 15:10, 26 May 2007


This documentation is transcluded into Template:Header Nav so that it may be edited without requiring an update for all uses of Template:Header Nav.


This template is used at the top of (just about) every article to ease navigation around guides. Custom versions can be made, but deference should usually be given to this standard template.

Usage

Add the template to a page like this:

{{Header Nav
|game=Game Name Goes Here
|num=(optional number from 0 to 4)
|custom=(optional custom nonhidden links)
}}

This looks as follows when added to the guide without num:

Usage of num

Always be sure to use the num variable only on the main page of guides to represent the overall completion level of the guide.

  • 0 represents an abysmal level of completion for a guide that has just been created. There is nearly no useful information present in a level-0 guide.
  • 1 represents a low level of completion. There is some useful information present, but it is neither organized nor plentiful.
  • 2 represents a halfway point, or a guide that is half "complete"
  • 3 represents a level of near completion, or a guide which is almost "complete". Such a guide may be missing only a few small sections or require only a limited amount of cleaning.
  • 4 represents a "complete" and "perfected guide", these guides provide all known useful information to the reader in a clear and organized manner. Additions to these guides are definitely useful and no guide is ever really finished on StrategyWiki.

Usage of custom

The custom variable is for adding extra links to be always visible to the right of the walkthrough link. To make the look and feel standard, put a | in between each link, separated by spaces, and enclosed in nowiki tags, so it wont break template markup.. example usage:

{{Header Nav
|game=The Legend of Zelda: Ocarina of Time
|custom=[[The Legend of Zelda: Ocarina of Time/Maps|Maps]] <nowiki>|</nowiki> [[The Legend of Zelda:Ocarina of Time/Controls|Controls]] 
}}

Example output:

Usage of onepage

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.

Usage of parent

If your guide is one of a few guides which all need to share a Table of Contents and Walkthrough page, set the value of parent to the main page where the TOC and Walkthrough subpages are located. This will use the Table of Contents and Walkthrough links from the parent page rather than the guide with the Header Nav.

{{Header Nav
|game=Super Street Fighter II
|parent=Street Fighter II
}}

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.