Template:Header Nav: Difference between revisions

Template page
w:c:strategywiki>Blendmaster
(well, maybe I won't)
w:c:strategywiki>Mason11987
m (cleanup and moving todo to talk page)
Line 8: Line 8:


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.
== Todo ==
The "fake h2" in the template should have its CSS moved to a global class.


== Usage ==
== Usage ==


Add the template to a page like this:
Add the template to a page like this:
<nowiki>{{All Game Nav|game=Game Name Goes Here|num=(optional number from 0 to 4)|tocpage=(optional name of Table of Contents subpage)}}|custom=(optional custom nonhidden links)}}</nowiki>
<pre>
{{All Game Nav
|game=Game Name Goes Here
|num=(optional number from 0 to 4)
|tocpage=(optional name of Table of Contents subpage)}}
|custom=(optional custom nonhidden links)
}}
</pre>


This looks as follows when added to the guide without num:<br />
This looks as follows when added to the guide without num:<br />
Line 23: Line 26:
{{All Game Nav|game=The Legend of Zelda: Ocarina of Time|num=3}}
{{All Game Nav|game=The Legend of Zelda: Ocarina of Time|num=3}}


=== num variable ===
=== Usage of num ===


Always be sure to use the num variable on the introduction page of guides to represent the overall completion level of the guide. You may also use num on pages of considerable length where it would be useful to ascertain the level of completion since it may be ordinarily difficult to tell with longer pages.
Always be sure to use the num variable on the introduction page of guides to represent the overall completion level of the guide. You may also use num on pages of considerable length where it would be useful to ascertain the level of completion since it may be ordinarily difficult to tell with longer pages.
Line 33: Line 36:
* '''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 definitly useful and no guide is ever really finished on a StrategyWiki.
* '''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 definitly useful and no guide is ever really finished on a StrategyWiki.


=== custom variable ===
=== Usage of custom ===
 
The custom variable is for adding extra links to be always visible to the left 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:


The custom variable is for adding more always visible links to the All Game Nav. They will appear after the Cheats 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:
<pre>
{{All Game Nav
|game=The Legend of Zelda: Ocarina of Time
|custom=[[The Legend of Zelda/Maps|Maps]] <nowiki><nowiki></nowiki>|<nowiki></nowiki></nowiki> [[The Legend of Zelda:Ocarina of Time/Controls|Controls]]
}}
</pre>


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


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


=== tocpage variable ===
=== Usage of tocpage ===


'''This variable has been deprecated, as tocpages have been enabled by default.'''
'''This variable has been deprecated, as tocpages have been enabled by default.'''

Revision as of 19:33, 24 August 2006


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:

{{All Game Nav
|game=Game Name Goes Here
|num=(optional number from 0 to 4)
|tocpage=(optional name of Table of Contents subpage)}}
|custom=(optional custom nonhidden links)
}}

This looks as follows when added to the guide without num:
Template:All Game Nav Or, with num:
Template:All Game Nav

Usage of num

Always be sure to use the num variable on the introduction page of guides to represent the overall completion level of the guide. You may also use num on pages of considerable length where it would be useful to ascertain the level of completion since it may be ordinarily difficult to tell with longer pages.

  • 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 definitly useful and no guide is ever really finished on a StrategyWiki.

Usage of custom

The custom variable is for adding extra links to be always visible to the left 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:

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

example output: Template:All Game Nav


Usage of tocpage

This variable has been deprecated, as tocpages have been enabled by default.

Template:All Game Nav