Template:Footer Nav: Difference between revisions

Template page
w:c:strategywiki>Garrett
(highly experimental template)
 
w:c:strategywiki>Garrett
m (fixing)
Line 2: Line 2:
<p style="position: relative; padding: 0px;" class="NavHead">
<p style="position: relative; padding: 0px;" class="NavHead">
{{qif|test={{{customback|}}}|then=<span style="border-right: 1px solid grey; padding-right: 5px; margin-right: 5px;">{{{customback}}}</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;">← '''[[{{{game}}}/{{{back}}}]]'''</span>
<span style="border-right: 1px solid grey; padding-right: 5px; margin-right: 5px;">← [[{{{game}}}/{{{backpage}}}|'''{{{backname}}}''']]</span>
<span style="padding-left: 5px; padding-right: 5px;">'''{{{here}}}'''</span>
<span style="padding-left: 5px; padding-right: 5px;">'''{{{here}}}'''</span>
<span style="border-left: 1px solid grey; padding-left: 5px; margin-left: 5px;">'''[[{{{game}}}/{{{next}}}]]''' →</span>
<span style="border-left: 1px solid grey; padding-left: 5px; margin-left: 5px;">[[{{{game}}}/{{{nextpage}}}'''{{{nextname}}}''']] →</span>
{{qif|test={{{customnext|}}}|then=<span style="border-left: 1px solid grey; padding-left: 5px; margin-left: 5px;">{{{customnext}}}</span> }}
{{qif|test={{{customnext|}}}|then=<span style="border-left: 1px solid grey; padding-left: 5px; margin-left: 5px;">{{{customnext}}}</span> }}
</p>
</p>
{{-}}
{{-}}
<div class="NavContent" style="border-top: 1px solid #CCCCCC; padding: 5px;">
<div class="NavContent" style="border-top: 1px solid #CCCCCC; padding: 5px;">
{{{game}}}/Walkthrough Index
{{:{{{game}}}/Walkthrough Index}}
</div></div>
</div></div>


<pre><nowiki>{{Footer_Nav|game=Game Here|back=Previous Page|here=This Page|next=Next Page}}</nowiki></pre>
<pre><nowiki>{{Footer_Nav|game=Game|backpage=Previous Page|backname=label|here=This Page|nextpage=Next Page|nextname=label}}</nowiki></pre>


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.

Revision as of 02:31, 20 August 2006

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

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