Template:Header Nav: Difference between revisions

Jump to navigation Jump to search
link to existing ToC without going to a new page
(add swsquaread)
(link to existing ToC without going to a new page)
Line 1: Line 1:
<includeonly><div class="nav_box header_nav {{#if:{{{onepage|}}}||NavFrame}} noprint"><p class="NavHead">{{#if:{{{num|}}}|[[File:000{{{num}}}.svg|link=:Category:Guides at completion stage {{{num}}}]][[Category:Guides at completion stage {{{num}}}]]&nbsp;|[[Category:Sub-pages]]}}'''[[{{{game}}}]]''' {{#if:{{{onepage|}}}| |{{!}} [[{{{game}}}/Table of Contents|Table of Contents]] {{!}} [[{{{game}}}/Walkthrough|Walkthrough]]}} {{#ifexist:{{{game}}}/Custom Nav|{{!}} {{:{{{game}}}/Custom Nav}}}} {{#if:{{{custom|}}}|{{!}} {{{custom}}}}}</p><div class="NavContent" style="display: none;"><p class="nav_box_toc_heading">Table of Contents</p>{{#if:{{{onepage|}}}||{{:{{{game}}}/Table of Contents}}}}
<includeonly><div class="nav_box header_nav {{#if:{{{onepage|}}}||NavFrame}} noprint"><p class="NavHead">{{#if:{{{num|}}}|[[File:000{{{num}}}.svg|link=:Category:Guides at completion stage {{{num}}}]][[Category:Guides at completion stage {{{num}}}]]&nbsp;|[[Category:Sub-pages]]}}'''[[{{{game}}}]]''' {{#if:{{{onepage|}}}| |{{!}} {{#ifeq:{{FULLPAGENAME}}|{{{game|}}}|[[#Table of Contents|Table of Contents]]|[[{{{game}}}/Table of Contents|Table of Contents]]}} {{!}} [[{{{game}}}/Walkthrough|Walkthrough]]}} {{#ifexist:{{{game}}}/Custom Nav|{{!}} {{:{{{game}}}/Custom Nav}}}} {{#if:{{{custom|}}}|{{!}} {{{custom}}}}}</p><div class="NavContent" style="display: none;"><p class="nav_box_toc_heading">Table of Contents</p>{{#if:{{{onepage|}}}||{{:{{{game}}}/Table of Contents}}}}
{{-}}</div></div><swsquaread /></includeonly><noinclude>
{{-}}</div></div><swsquaread /></includeonly><noinclude>
{{Documentation}}
{{Documentation}}


[[Category:Templates|H]]</noinclude>
[[Category:Templates]]</noinclude>

Navigation menu