Template:Header Nav: Difference between revisions

Template page
w:c:strategywiki>Mason11987
m (white space)
w:c:strategywiki>Echelon
(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>

Revision as of 19:12, 25 June 2006

Template:Qif[[{{{game}}}|{{{game}}}]] | [[{{{game}}}/Table of Contents|Table of Contents]] | [[{{{game}}}/Introduction|Introduction]] | [[{{{game}}}/Walkthrough|Walkthrough]]

Implementation

Add the template to a page like this: {{All Game Nav|game=Game Name Goes Here|num=(optional)}}

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