Template:Footer Nav: Difference between revisions

Template page
w:c:strategywiki>Prod
mNo edit summary
w:c:strategywiki>Prod
(Capitalizing Go to top)
Line 1: Line 1:
<includeonly><div style="clear: both; width: 100%; border: 1px solid #AAAAAA; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; text-align: left; font-size: 0.9em;" {{qif|test={{{toc|}}}|then=|else=class="NavFrame"}}>
<includeonly><div style="clear: both; width: 100%; border: 1px solid #AAAAAA; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; text-align: left; font-size: 0.9em;" {{qif|test={{{toc|}}}|then=|else=class="NavFrame"}}>
<p style="position: relative; text-align: center" {{qif|test={{{toc|}}}|then=|else=class="NavHead"}}>
<p style="position: relative; text-align: center" {{qif|test={{{toc|}}}|then=|else=class="NavHead"}}>
<span style="float: left; font-size: smaller;">[[{{FULLPAGENAME}}#|[go to top]]]</span>
<span style="float: left; font-size: smaller;">[[{{FULLPAGENAME}}#|[Go to top]]]</span>
<span>{{qif|test={{{customback|}}}|then=<span style="border-right: 1px solid grey; padding-right: 5px; margin-right: 5px;">← {{{customback}}}</span>}}<span style="border-right: 1px solid grey; padding-right: 5px; margin-right: 5px;">← {{qif|test={{{backpage|}}}|then=[[{{{game}}}/{{{backpage}}}|{{{backname|{{{backpage}}}}}}]]|else=[[{{{game}}}]]}}</span><span style="padding-left: 5px; padding-right: 5px;">{{qif|test={{{here|}}}|then={{{here}}}|else={{SUBPAGENAME}}}}</span><span style="border-left: 1px solid grey; padding-left: 5px; margin-left: 5px;">{{qif|test={{{nextpage|}}}|then=[[{{{game}}}/{{{nextpage}}}|{{{nextname|{{{nextpage}}}}}}]]|else=[[{{{game}}}]]}} →</span>{{qif|test={{{customnext|}}}|then=<span style="border-left: 1px solid grey; padding-left: 5px; margin-left: 5px;">{{{customnext}}} →</span> }}</span></p>
<span>{{qif|test={{{customback|}}}|then=<span style="border-right: 1px solid grey; padding-right: 5px; margin-right: 5px;">← {{{customback}}}</span>}}<span style="border-right: 1px solid grey; padding-right: 5px; margin-right: 5px;">← {{qif|test={{{backpage|}}}|then=[[{{{game}}}/{{{backpage}}}|{{{backname|{{{backpage}}}}}}]]|else=[[{{{game}}}]]}}</span><span style="padding-left: 5px; padding-right: 5px;">{{qif|test={{{here|}}}|then={{{here}}}|else={{SUBPAGENAME}}}}</span><span style="border-left: 1px solid grey; padding-left: 5px; margin-left: 5px;">{{qif|test={{{nextpage|}}}|then=[[{{{game}}}/{{{nextpage}}}|{{{nextname|{{{nextpage}}}}}}]]|else=[[{{{game}}}]]}} →</span>{{qif|test={{{customnext|}}}|then=<span style="border-left: 1px solid grey; padding-left: 5px; margin-left: 5px;">{{{customnext}}} →</span> }}</span></p>
<div class="NavContent" style="display: none;"><p style="color: #06033f; font-weight: normal; margin: 0; padding-top: .1em; padding-bottom: .1em; border-bottom: 1px solid #CCCCCC; font-size: 150%; padding-left: 5px; margin-bottom: .6em;">Table of Contents</p>{{qif|test={{{toc|}}}|then=|else={{:{{{game}}}/Table of Contents}}{{-}}}}</div></div></includeonly><noinclude>
<div class="NavContent" style="display: none;"><p style="color: #06033f; font-weight: normal; margin: 0; padding-top: .1em; padding-bottom: .1em; border-bottom: 1px solid #CCCCCC; font-size: 150%; padding-left: 5px; margin-bottom: .6em;">Table of Contents</p>{{qif|test={{{toc|}}}|then=|else={{:{{{game}}}/Table of Contents}}{{-}}}}</div></div></includeonly><noinclude>

Revision as of 04:37, 16 January 2007

{{Footer Nav|game=Game|backpage=Previous Page|backname=label|here=This Page (optional)|nextpage=Next Page|nextname=label}}

You can also use the custom parameters customback= and customnext= to add additional links to a direction.

If you do not want/need the popdown table of contents, then add the variable toc=no (or any value, actually) to the template,which will remove the popdown and show/hide link:

without toc=no

with toc=no