Template:Navigation: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
(automated navigation, overriden by including 'previous' and 'next' values)
 
m (testing #top for center image 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={{PAGENAME}}|300px]]  <!-- 402 × 175 -->
|align="center" |[[file:SGU HRes Logo sm.gif|link=#top|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]] }}
|}
|}
<!-- automates if no 'previous' or 'next' value, overrides if present -->
<!-- automates if no 'previous' or 'next' value, overrides if present -->

Revision as of 03:30, 10 May 2012

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