Template:InfoBox: Difference between revisions
Jump to navigation
Jump to search
m (maybe the pipe will help for "if no icon, do none of this"...) |
m (single M) |
||
(97 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| style="float: right;border: 1px solid darkgray;padding: 5;background:#F8F9F9;margin: 1em;width:240px;" cellpadding="1" cellspacing="0" | {| style="float: right;border: 1px solid darkgray;padding: 5;background:#F8F9F9;margin: 1em;width:240px;" cellpadding="1" cellspacing="0" | ||
! | ! 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" | {{#if:{{{episodeMonth|}}}|{{#switch: {{{episodeMonth}}} | ||
| 1 = January | |||
| 2 = February | |||
| 3 = March | |||
| 4 = April | |||
| 5 = May | |||
| 6 = June | |||
| 7 = July | |||
| 8 = August | |||
| 9 = September | |||
| 01 = January | |||
| 02 = February | |||
| 03 = March | |||
| 04 = April | |||
| 05 = May | |||
| 06 = June | |||
| 07 = July | |||
| 08 = August | |||
| 09 = September | |||
| 10 = October | |||
| 11 = November | |||
| 12 = December | |||
|#default = M | |||
}} {{#switch: {{{episodeDateNumber}}} | |||
| 1 = 1<sup>st</sup> | |||
| 21 = 21<sup>st</sup> | |||
| 31 = 31<sup>st</sup> | |||
| 2 = 2<sup>nd</sup> | |||
| 22 = 22<sup>nd</sup> | |||
| 3 = 3<sup>rd</sup> | |||
| 23 = 23<sup>rd</sup> | |||
| D = D<sup>th</sup> | |||
| #default = {{{episodeDateNumber}}}<sup>th</sup>}} {{{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}} | ||
|category = Verified | |category = Verified | ||
|}} | |}} }} | ||
|- | |- | ||
| | |{{#if:{{{hiddenIcon|}}}|[[File:Hidden icon.png|center|150px|link=https://www.sgutranscripts.org/wiki/{{{hiddenIcon}}}]]|{{#if:{{{episodeIcon|}}}|{{#switch: {{{episodeIcon}}}|File:SAMPLE_icon.jpg=[[File:SAMPLE_icon.jpg|center|200px]]{{Numerical titles | ||
|page = {{PAGENAME}} | |||
|category = Needs icon | |||
|}}|#default=[[{{{episodeIcon}}}|center|200px]]}}|[[File:SAMPLE_icon.jpg|center|200px]]{{Numerical titles | |||
|page = {{PAGENAME}} | |||
|category = Needs icon | |||
|}}}}}}<!-- IF there's something in hidden icon, then give the hidden icon image with a link to the episode icon file page; IF NOT, THEN if there's something in the episode icon slot, either display the sample icon if that's given (and add episode to "needs icon" category), or the episode icon file; IF NOT, THEN give the sample icon (and add episode to "needs icon" category) --> | |||
|- | |- | ||
|style="text-align: | | style="text-align:center;font-size:9pt;padding-left: 0.4em;padding-right: 0.4em" |{{#if: {{{caption|}}} | <p style="line-height:100%">''{{{caption}}}''</p> |''(brief caption for the episode icon)''}} | ||
|style=" | |||
|- | |- | ||
| | |<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 }}]]}} {{#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|}}} | |||
|<tr><td><p style="text-align:left;padding-left: 1em"><small>[[SGU Episode {{{pastpredictions}}}|''SGU {{{pastpredictions}}}'']] ''← predictions''</small>{{#if:{{{futurepredictions|}}}|<small>''→'' [[SGU Episode {{{futurepredictions}}}|''SGU {{{futurepredictions}}}'']]}}|{{#if:{{{futurepredictions|}}}| <small>''predictions →'' [[SGU Episode {{{futurepredictions}}}|''SGU {{{futurepredictions}}}'']]}}</small></p></td></tr> | |||
}} | |||
{{#if:{{{previousyir|}}} | |||
|<tr><td><p style="text-align:left;padding-left: 1em"><small>[[SGU Episode {{{previousyir}}}|''SGU {{{previousyir}}}'']] ''← YIR episodes''</small>{{#if:{{{nextyir|}}}|<small>''→'' [[SGU Episode {{{nextyir}}}|''SGU {{{nextyir}}}'']]}}|{{#if:{{{nextyir|}}}| <small>''YIR episodes →'' [[SGU Episode {{{nextyir}}}|''SGU {{{nextyir}}}'']]}}</small></p></td></tr> | |||
}} | |||
|- | |- | ||
| | |{{InfoBox_Headers |header = Skeptical Rogues }} | ||
|- | |- | ||
| | | style="font-size:9pt;text-indent:70px"| S: Steven Novella | ||
| | {{#if:{{{bob|}}} | ||
|<tr><td><div style= font-size:9pt;text-indent:70px ><p style="line-height:40%">B: Bob Novella</div></td></tr>}}{{#if:{{{rebecca|}}} | |||
| | |<tr><td><div style= font-size:9pt;text-indent:70px ><p style="line-height:40%">R: Rebecca Watson</div></td></tr>}}{{#if:{{{Rebecca|}}} | ||
| | |<tr><td><div style= font-size:9pt;text-indent:70px ><p style="line-height:40%">R: Rebecca Watson</div></td></tr>}}{{#if:{{{cara|}}} | ||
| | |<tr><td><div style= font-size:9pt;text-indent:70px ><p style="line-height:40%">C: Cara Santa Maria</div></td></tr>}}{{#if:{{{jay|}}} | ||
|<tr><td><div style= font-size:9pt;text-indent:70px ><p style="line-height:40%">J: Jay Novella</div></td></tr>}}{{#if:{{{evan|}}} | |||
|<tr><td><div style= font-size:9pt;text-indent:70px ><p style="line-height:40%">E: Evan Bernstein</div></td></tr>}}{{#if:{{{Evan|}}} | |||
| | |<tr><td><div style= font-size:9pt;text-indent:70px ><p style="line-height:40%">E: Evan Bernstein</div></td></tr>}}{{#if:{{{george|}}} | ||
|<tr><td><div style= font-size:9pt;text-indent:70px ><p style="line-height:40%">G: {{w|George Hrab|span=musican & skeptic}}</div></td></tr>}}{{#if:{{{George|}}} | |||
| | |<tr><td><div style= font-size:9pt;text-indent:70px ><p style="line-height:40%">G: {{w|George Hrab|span=musican & skeptic}}</div></td></tr>}}{{#if:{{{perry|}}} | ||
| | |<tr><td><div style= font-size:9pt;text-indent:70px ><p style="line-height:40%">P: Perry DeAngelis</div></td></tr>}}{{#if:{{{Perry|}}} | ||
| | |<tr><td><div style= font-size:9pt;text-indent:70px ><p style="line-height:40%">P: Perry DeAngelis</div></td></tr>}} | ||
{{#if: {{{guest1|}}} | | {{#if: {{{guest1|}}} | | ||
{{!}}- | {{!}}- | ||
{{#if: {{{guest2|}}} | | {{#if: {{{guest2|}}} | | ||
{{!}} | {{!}} {{InfoBox_Headers |header = Guests}} | | ||
{{!}} | {{!}} {{InfoBox_Headers |header = Guest}} }} }} | ||
{{#if: {{{guest1|}}} | | {{#if: {{{guest1|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} style="text-align:center;font-size:9pt;padding-left: 0.4em;padding-right: 0.4em"{{!}} <p style="line-height: 100%">{{{guest1}}} | ||
{{#if: {{{guest2|}}} | | {{#if: {{{guest2|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} style="text-align:center;font-size:9pt;padding-left: 0.4em;padding-right: 0.4em"{{!}} <p style="line-height: 100%">{{{guest2}}} }} | ||
{{#if: {{{guest3|}}} | | {{#if: {{{guest3|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} style="text-align:center;font-size:9pt;padding-left: 0.4em;padding-right: 0.4em"{{!}} <p style="line-height: 100%">{{{guest3}}} }} | ||
{{#if: {{{guest4|}}} | | {{#if: {{{guest4|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} style="text-align:center;font-size:9pt;padding-left: 0.4em;padding-right: 0.4em"{{!}} <p style="line-height: 100%">{{{guest4}}} }} | ||
{{#if: {{{guest5|}}} | | {{#if: {{{guest5|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} style="text-align:center;font-size:9pt;padding-left: 0.4em;padding-right: 0.4em"{{!}} <p style="line-height: 100%">{{{guest5}}} }} }} | ||
|- | |- | ||
{{#if: {{{multiplequotesweekyear|}}} | | |||
{{!}} {{InfoBox_Headers |header = Quotes of the Week/Year}} | | |||
{{#if: {{{multiplequotes|}}} | | {{#if: {{{multiplequotes|}}} | | ||
{{!}} | {{!}} {{InfoBox_Headers |header = Quotes of the Week}} | | ||
{{!}} | {{#if: {{{qowText|}}} | | ||
{{!}} {{InfoBox_Headers |header = Quote of the Week}} }} }} }} | |||
|- | |- | ||
| | | style="font-style:italic;text-align:{{#if: {{{qowLeft|}}} | left | center }};font-size:9pt;padding-left: 0.4em;padding-right: 0.4em" | {{#if: {{{qowText|}}} | <p style="line-height:100%"><span style="color:#820000">{{{qowText}}}</span></p> }} | ||
|- | |- | ||
| | | style="text-align:center;font-size:9pt;padding-left: 0.4em;padding-right: 0.4em" |{{#if: {{{qowAuthor|}}} | <p style="line-height:100%">{{{qowAuthor}}}}} | ||
|- | |- | ||
| | | {{InfoBox_Headers |header = Links}} | ||
|- | |- | ||
| | | 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: {{{forumLinktopic|}}} | [https://sguforums.org/index.php?topic={{{forumLinktopic}}} Forum Discussion] | {{#if: {{{forumLink|}}} | [{{{forumLink}}} Forum Discussion] | [https://sguforums.org/index.php SGU Forum] }} }} | ||
|} | |} | ||
{{#ifeq: {{#sub:{{PAGENAME}}|0|11}}|SGU Episode|{{Numerical titles | {{#ifeq: {{#sub:{{PAGENAME}}|0|11}}|SGU Episode|{{Numerical titles | ||
|page = {{PAGENAME}} | |page = {{PAGENAME}} | ||
|category = Full Episodes | |category = Full Episodes | ||
}}|}} | }}|}} | ||
<noinclude>For information on how to use this template, see [[Help:Episode infobox]] | <noinclude>For information on how to use this template, see [[Help:Episode infobox]] | ||
[[Category: Infobox templates]] | [[Category: Infobox templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 06:15, 2 May 2024
{{{episodeTitle}}} |
---|
{{{episodeDate}}} |
(brief caption for the episode icon) |
Skeptical Rogues |
S: Steven Novella
|
Links |
SGU Podcast archive |
SGU Forum |
For information on how to use this template, see Help:Episode infobox