Template:5X5 Navigation: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
(navigation for 5X5 episodes, same graphics as 'Navigation')
 
m (added description)
Line 4: Line 4:
|style="padding-top:30px;" align="right"|{{#if: {{{next|}}} | [[file:Navi-next.png|link=5X5 Episode {{{next}}}|110px]] | [[file:Navi-next.png|link=5X5 Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}+1 }}|110px]] }}
|style="padding-top:30px;" align="right"|{{#if: {{{next|}}} | [[file:Navi-next.png|link=5X5 Episode {{{next}}}|110px]] | [[file:Navi-next.png|link=5X5 Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}+1 }}|110px]] }}
|}
|}
<!-- automates if no 'previous' or 'next' value, overrides if present -->
<noinclude>
=== Description ===
Navigation icons for inclusion at the end of 5X5 episode transcription pages, linking to the previous episode, the top of the page, and the next episode respectively.
 
For full SGU episodes, use [[Template:Navigation]].
=== Usage ===
This template has two optional variables, <code>previous</code> and <code>next</code>. 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:
 
<pre>
{{5X5 Navigation
|previous  = 1
|next      = 52
}}
</pre>
 
If no input is given, the template automates links to the previous/next episode in numerical order, regardless of whether the transcription page exists.
</noinclude>

Revision as of 21:21, 8 July 2012

Navi-previous.png SGU HRes Logo sm.gif Navi-next.png

Description

Navigation icons for inclusion at the end of 5X5 episode transcription pages, linking to the previous episode, the top of the page, and the next episode respectively.

For full SGU episodes, use Template: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:

{{5X5 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.