Template:InfoBox: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (trying out mashing the date, month, and download link templates into this one template to reduce template calls)
m (prioritizing new parameters)
Line 2: Line 2:
! style="background:LightSteelBlue;font-size:10pt" | {{#if: {{{episodeNumDisplay|}}} |{{#if: {{{episodeNum|}}} |SGU Episode {{{episodeNumDisplay}}}| {{{episodeTitle}}} }}|{{#if: {{{episodeNum|}}} |SGU Episode {{{episodeNum}}}| {{{episodeTitle}}} }} }}
! style="background:LightSteelBlue;font-size:10pt" | {{#if: {{{episodeNumDisplay|}}} |{{#if: {{{episodeNum|}}} |SGU Episode {{{episodeNumDisplay}}}| {{{episodeTitle}}} }}|{{#if: {{{episodeNum|}}} |SGU Episode {{{episodeNum}}}| {{{episodeTitle}}} }} }}
|-
|-
| style="text-align:center;font-size:9pt" | {{{episodeDate}}}{{#if:{{{episodeMonth|}}}|{{#switch: {{{episodeMonth}}}
| style="text-align:center;font-size:9pt" | {{#if:{{{episodeMonth|}}}|{{#switch: {{{episodeMonth}}}
  | 1 = January
  | 1 = January
  | 2 = February
  | 2 = February
Line 33: Line 33:
  | 23 = 23<sup>rd</sup>
  | 23 = 23<sup>rd</sup>
  | D = D<sup>th</sup>
  | D = D<sup>th</sup>
  | #default = {{{episodeDateNumber}}}<sup>th</sup>}}&nbsp;{{{episodeYear}}}|}}
  | #default = {{{episodeDateNumber}}}<sup>th</sup>}}&nbsp;{{{episodeYear}}}|{{{episodeDate}}} }}
{{#if: {{{verified|}}} | {{Tick}} [[Help:Transcript Verified|Transcript Verified]] {{Numerical titles
{{#if: {{{verified|}}} | {{Tick}} [[Help:Transcript Verified|Transcript Verified]] {{Numerical titles
|page      = {{PAGENAME}}
|page      = {{PAGENAME}}
Line 107: Line 107:
| {{InfoBox_Headers |header = Links}}
| {{InfoBox_Headers |header = Links}}
|-
|-
| style="text-align:center;font-size:9pt" | {{#if: {{{downloadLink|}}}  | [{{{downloadLink}}} Download Podcast] }}{{#if:{{{downloadLinkYear|}}}|{{#if:{{{downloadLinkMonth|}}}|{{#if:{{{downloadLinkDate|}}}|https://media.libsyn.com/media/skepticsguide/skepticast{{{downloadLinkYear}}}-{{{downloadLinkMonth}}}-{{{downloadLinkDate}}}.mp3|}}|}}|}}
| style="text-align:center;font-size:9pt" | {{#if:{{{downloadLinkYear|}}}|{{#if:{{{downloadLinkMonth|}}}|{{#if:{{{downloadLinkDate|}}}|[https://media.libsyn.com/media/skepticsguide/skepticast{{{downloadLinkYear}}}-{{{downloadLinkMonth}}}-{{{downloadLinkDate}}}.mp3 Download Podcast ]|}}|}}|{{#if: {{{downloadLink|}}| [{{{downloadLink}}} Download Podcast]|}} }}
|-
|-
| style="text-align:center;font-size:9pt" | {{#if: {{{episodeNum|}}} | [http://www.theskepticsguide.org/podcast/sgu/{{{episodeNum}}} Show Notes] | [https://www.theskepticsguide.org/podcasts SGU Podcast archive] }}
| style="text-align:center;font-size:9pt" | {{#if: {{{episodeNum|}}} | [http://www.theskepticsguide.org/podcast/sgu/{{{episodeNum}}} Show Notes] | [https://www.theskepticsguide.org/podcasts SGU Podcast archive] }}

Revision as of 04:38, 2 May 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