Template:InfoBox: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (just adding this extra IF/THEN to accommodate SGU Episode 1000's extra fan fare title for the infobox)
m (trying pulling two nbsp's to fit four-digit episodes)
Line 21: Line 21:
|<p style="text-align:left;padding-left: 1em">{{#if: {{{previous|}}} | [[SGU Episode {{{previous}}}|SGU {{{previous}}}]] | [[SGU Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}-1 }}|SGU {{#expr: {{#sub:{{PAGENAME}}|12|0}}-1 }}]]}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{#if: {{{next|}}} | [[SGU Episode {{{next}}}|SGU {{{next}}}]] | [[SGU Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}+1 }}|SGU {{#expr: {{#sub:{{PAGENAME}}|12|0}}+1 }}]]}}</p>
|<p style="text-align:left;padding-left: 1em">{{#if: {{{previous|}}} | [[SGU Episode {{{previous}}}|SGU {{{previous}}}]] | [[SGU Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}-1 }}|SGU {{#expr: {{#sub:{{PAGENAME}}|12|0}}-1 }}]]}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{#if: {{{next|}}} | [[SGU Episode {{{next}}}|SGU {{{next}}}]] | [[SGU Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}+1 }}|SGU {{#expr: {{#sub:{{PAGENAME}}|12|0}}+1 }}]]}}</p>
{{#if:{{{pastpredictions|}}}
{{#if:{{{pastpredictions|}}}
|<tr><td><p style="text-align:left;padding-left: 0.75em">[[SGU Episode {{{pastpredictions}}}|''SGU {{{pastpredictions}}}'']] <small>''&larr; predictions''</small>{{#if:{{{futurepredictions|}}}|<small>''&rarr;''</small>&nbsp;[[SGU Episode {{{futurepredictions}}}|''SGU {{{futurepredictions}}}'']]}}|{{#if:{{{futurepredictions|}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<small>''predictions &rarr;''</small>&nbsp;[[SGU Episode {{{futurepredictions}}}|''SGU {{{futurepredictions}}}'']]}}</p></td></tr>
|<tr><td><p style="text-align:left;padding-left: 0.75em">[[SGU Episode {{{pastpredictions}}}|''SGU {{{pastpredictions}}}'']] <small>''&larr; predictions''</small>{{#if:{{{futurepredictions|}}}|<small>''&rarr;''</small>&nbsp;[[SGU Episode {{{futurepredictions}}}|''SGU {{{futurepredictions}}}'']]}}|{{#if:{{{futurepredictions|}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<small>''predictions &rarr;''</small>&nbsp;[[SGU Episode {{{futurepredictions}}}|''SGU {{{futurepredictions}}}'']]}}</p></td></tr>
}}
}}
{{#if:{{{previousyir|}}}
{{#if:{{{previousyir|}}}
|<tr><td><p style="text-align:left;padding-left: 0.75em">[[SGU Episode {{{previousyir}}}|''SGU {{{previousyir}}}'']] <small>''&larr; YIR episodes''</small>{{#if:{{{nextyir|}}}|<small>''&rarr;''</small>&nbsp;[[SGU Episode {{{nextyir}}}|''SGU {{{nextyir}}}'']]}}|{{#if:{{{nextyir|}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<small>''YIR episodes &rarr;''</small>&nbsp;[[SGU Episode {{{nextyir}}}|''SGU {{{nextyir}}}'']]}}</p></td></tr>
|<tr><td><p style="text-align:left;padding-left: 0.75em">[[SGU Episode {{{previousyir}}}|''SGU {{{previousyir}}}'']] <small>''&larr; YIR episodes''</small>{{#if:{{{nextyir|}}}|<small>''&rarr;''</small>&nbsp;[[SGU Episode {{{nextyir}}}|''SGU {{{nextyir}}}'']]}}|{{#if:{{{nextyir|}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<small>''YIR episodes &rarr;''</small>&nbsp;[[SGU Episode {{{nextyir}}}|''SGU {{{nextyir}}}'']]}}</p></td></tr>
}}
}}
|-
|-

Revision as of 05:13, 31 January 2024

{{{episodeTitle}}}
{{{episodeDate}}}
SAMPLE icon.jpg
(brief caption for the episode icon)

SGU -1                      SGU 1

Skeptical Rogues
S: Steven Novella


Links
SGU Podcast archive
SGU Forum

For information on how to use this template, see Help:Episode infobox