Template:Navigation: Difference between revisions
Jump to navigation
Jump to search
(added description) |
m (added 'back to top' text to link) |
||
Line 1: | Line 1: | ||
{|style="width:80%; margin: 1em auto 1em auto;" | {|style="width:80%; margin: 1em auto 1em auto;" | ||
|style="padding-top:30px;" align="left"|{{#if: {{{previous|}}} | [[file:Navi-previous.png|link=SGU Episode {{{previous}}}|110px]] | [[file:Navi-previous.png|link=SGU Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}-1 }}|110px]] }} | |style="padding-top:30px;" align="left"|{{#if: {{{previous|}}} | [[file:Navi-previous.png|link=SGU Episode {{{previous}}}|110px]] | [[file:Navi-previous.png|link=SGU Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}-1 }}|110px]] }} | ||
|align="center" |[[file:SGU HRes Logo sm.gif|link=#top|300px]] <!-- 402 × 175 --> | |align="center" |[[file:SGU HRes Logo sm.gif|link=#top|Back to top of page|300px]] <!-- 402 × 175 --> | ||
|style="padding-top:30px;" align="right"|{{#if: {{{next|}}} | [[file:Navi-next.png|link=SGU Episode {{{next}}}|110px]] | [[file:Navi-next.png|link=SGU Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}+1 }}|110px]] }} | |style="padding-top:30px;" align="right"|{{#if: {{{next|}}} | [[file:Navi-next.png|link=SGU Episode {{{next}}}|110px]] | [[file:Navi-next.png|link=SGU Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}+1 }}|110px]] }} | ||
|} | |} |
Revision as of 16:51, 16 October 2012
Description
Navigation icons for inclusion at the end of full episode transcription pages, linking to the previous episode, the top of the page, and the next episode respectively.
For 5X5 episodes, use Template:5X5 Navigation.
Usage
This template has two optional variables, previous
and next
. You can specify these episode transcription pages by including the episode number as an input. This may be useful where the previous/next episode has not yet been transcribed. For example:
{{Navigation |previous = 1 |next = 52 }}
If no input is given, the template automates links to the previous/next episode in numerical order, regardless of whether the transcription page exists.