Template:Header Nav: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
num migrated to completion in Template:Game
(Trying to add a custom header image parameter for Teddy.)
(num migrated to completion in Template:Game)
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{headerimage|}}}|<center>[[Image:headerimage]]</center>|}}<div class="nav_box header_nav {{#if:{{{onepage|}}}||NavFrame}}"><p style="position:relative" class="NavHead">{{#if:{{{num|}}}|[[Image: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 mw-collapsible mw-collapsed noprint"><div class="mw-collapsible-header">'''[[{{{game}}}]]''' | {{#ifeq:{{FULLPAGENAME}}|{{{game|}}}|[[#Table of Contents|Table of Contents]]|[[{{{game}}}/Table of Contents|Table of Contents]][[Category:Sub-pages]]}} | [[{{{game}}}/Gameplay|Gameplay]] | [[{{{game}}}/Walkthrough|Walkthrough]] {{Header Nav/Custom Nav|{{{game|}}}}} {{#if:{{{custom|}}}|{{!}} {{{custom}}}}}</div><div class="mw-collapsible-content"><p class="toc_heading">Table of Contents</p>{{:{{{game}}}/Table of Contents}}{{-}}</div></div><swsquaread /></includeonly><noinclude>
{{-}}</div></div></includeonly><noinclude>
{{Documentation}}
{{Documentation}}


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