Template:Header Nav: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
Test merge from All Nav
m (white space)
(Test merge from All Nav)
Line 1: Line 1:
[[{{{game}}}|'''{{{game}}}''']] | [[{{{game}}}/Table of Contents|Table of Contents]] | [[{{{game}}}/Introduction|Introduction]] | [[{{{game}}}/Walkthrough|Walkthrough]]
{{qif|test={{{num|}}}|then={{Template:0{{{num}}}p}} }}[[{{{game}}}|'''{{{game}}}''']] | [[{{{game}}}/Table of Contents|Table of Contents]] | [[{{{game}}}/Introduction|Introduction]] | [[{{{game}}}/Walkthrough|Walkthrough]]
{{-}}
{{-}}
<noinclude>
<noinclude>
==Implementation==
==Implementation==
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}}</nowiki>
<nowiki>{{All Game Nav|game=Game Name Goes Here|num=(optional)}}</nowiki>


This looks as follows when added to the guide:
This looks as follows when added to the guide without num:<br />
{{All Game Nav|game=Zelda: Ocarina of Time}}
Or, with num:<br />
{{All Game Nav|game=Zelda: Ocarina of Time|num=3}}


{{All Game Nav|game=Zelda: Ocarina of Time}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>