Template:InfoBox: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (adding if statement for future predictions if, like currently with 913, we don't know which episode number will be the predictions episode for 2024)
m (if there's something in past predictions, do it and check for future predictions; if not, then if there's still something in future predictions, do it)
Line 14: Line 14:
|<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.5em">[[SGU Episode {{{pastpredictions}}}|''SGU {{{pastpredictions}}}'']] <small>''&larr; predictions''</small>{{#if:{{{futurepredictions|}}}|''&rarr;''&nbsp;[[SGU Episode {{{futurepredictions}}}|''SGU {{{futurepredictions}}}'']]|}}</p></td></tr>
|<tr><td><p style="text-align:left;padding-left: 0.5em">[[SGU Episode {{{pastpredictions}}}|''SGU {{{pastpredictions}}}'']] <small>''&larr; predictions''</small>{{#if:{{{futurepredictions|}}}|''&rarr;''&nbsp;[[SGU Episode {{{futurepredictions}}}|''SGU {{{futurepredictions}}}'']]}}|{{#if:{{{futurepredictions|}}}|''predictions &rarr;''&nbsp;[[SGU Episode {{{futurepredictions}}}|''SGU {{{futurepredictions}}}'']]}}</p></td></tr>
}}
}}
|-
|-

Revision as of 07:48, 16 January 2023

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

SGU -1                      SGU 1

Skeptical Rogues
S: Steven Novella


Quote of the Week
Links

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