Template:Footer Nav: Difference between revisions

Template page
w:c:strategywiki>Prod
(changed #outer -> #top, adding default labels)
w:c:strategywiki>Inarius
(default ''Current Page'')
Line 1: Line 1:
<div style="clear: both; width: auto; margin-bottom: 1em; border: 1px solid #AAAAAA; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; text-align: center; font-size: 12px;" {{qif|test={{{toc|}}}|then=|else=class="NavFrame"}}>
<includeonly><div style="clear: both; width: auto; margin-bottom: 1em; border: 1px solid #AAAAAA; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; text-align: center; font-size: 12px;" {{qif|test={{{toc|}}}|then=|else=class="NavFrame"}}>
<p style="position: relative; padding-left: 0.5%; padding-right: 0.5%;" {{qif|test={{{toc|}}}|then=|else=class="NavHead"}}>
<p style="position: relative; padding-left: 0.5%; padding-right: 0.5%;" {{qif|test={{{toc|}}}|then=|else=class="NavHead"}}>
<span style="float: left; font-size: smaller;">[[{{FULLPAGENAME}}#top|[go to top]]]</span>
<span style="float: left; font-size: smaller;">[[{{FULLPAGENAME}}#top|[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}}}|{{qif|test={{{backname|}}}|then={{{backname}}}|else={{{backpage}}}}}]]|else=[[{{{game}}}]]}}</span><span style="padding-left: 5px; padding-right: 5px;">{{{here}}}</span><span style="border-left: 1px solid grey; padding-left: 5px; margin-left: 5px;">{{qif|test={{{nextpage|}}}|then=[[{{{game}}}/{{{nextpage}}}|{{qif|test={{{nextname|}}}|then={{{nextname}}}|else={{{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>{{-}}{{qif|test={{{toc|}}}|then=|else=<div align=left class="NavContent" style="border-top: 1px solid #CCCCCC; padding: 5px;">{{:{{{game}}}/Table of Contents}}</div>}}</div><noinclude>
<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}}}|{{qif|test={{{backname|}}}|then={{{backname}}}|else={{{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}}}|{{qif|test={{{nextname|}}}|then={{{nextname}}}|else={{{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>{{-}}{{qif|test={{{toc|}}}|then=|else=<div align=left class="NavContent" style="border-top: 1px solid #CCCCCC; padding: 5px;">{{:{{{game}}}/Table of Contents}}</div>}}</div></includeonly>
 
<nowiki>{{Footer_Nav|game=Game|backpage=Previous Page|backname=label|here=This Page (optional)|nextpage=Next Page|nextname=label}}</nowiki>
<nowiki>{{Footer_Nav|game=Game|backpage=Previous Page|backname=label|here=This Page|nextpage=Next Page|nextname=label}}</nowiki>


You can also use the custom parameters <code>customback=</code> and <code>customnext=</code> to add additional links to a direction.
You can also use the custom parameters <code>customback=</code> and <code>customnext=</code> to add additional links to a direction.
Line 11: Line 10:


without toc=no
without toc=no
{{Footer_Nav|game=Game|backpage=Previous Page|backname=label|here=This Page|nextpage=Next Page|nextname=label}}
{{Footer_Nav|game=Game|backpage=Previous Page|backname=label|nextpage=Next Page|nextname=label}}


with toc=no
with toc=no
{{Footer_Nav|game=Game|backpage=Previous Page|backname=label|here=This Page|nextpage=Next Page|nextname=label|toc=no}}
{{Footer_Nav|game=Game|backpage=Previous Page|backname=label|nextpage=Next Page|nextname=label|toc=no}}


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

Revision as of 07:03, 24 October 2006

{{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

{{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 Template loop detected: Template:Footer Nav

with toc=no Template loop detected: Template:Footer Nav

with toc=no

{{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 Template loop detected: Template:Footer Nav

with toc=no Template loop detected: Template:Footer Nav