Template:InfoBox: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (ok this is a transplant of what I sandboxed)
m (now that predictions, YIR eps are small text, maybe 1.0 padding will do)
 
(89 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| 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: {{{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}}}
| style="text-align:center;font-size:9pt" | {{{episodeDate}}}
Line 8: Line 8:
|}} }}
|}} }}
|-
|-
|{{#if:{{{episodeIcon|}}}|[[{{{episodeIcon}}}|center|200px]]}}
|{{#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: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="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)''}}
|-
|-
|<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|}}}
|<tr><td><p style="text-align:left;padding-left: 1em"><small>[[SGU Episode {{{pastpredictions}}}|''SGU {{{pastpredictions}}}'']]&nbsp;''&larr; predictions''</small>{{#if:{{{futurepredictions|}}}|<small>''&rarr;''&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;''&nbsp;[[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}}}'']]&nbsp;''&larr; YIR episodes''</small>{{#if:{{{nextyir|}}}|<small>''&rarr;''&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;''&nbsp;[[SGU Episode {{{nextyir}}}|''SGU {{{nextyir}}}'']]}}</small></p></td></tr>
}}
|-
|-
| {{SandboxRoguesList
|{{InfoBox_Headers |header = Skeptical Rogues }}
|cara=y
|-
|bob=y
| style="font-size:9pt;text-indent:70px"| S: Steven Novella
|jay=y
{{#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|}}} |
{{!}}-
{{!}}-
Line 26: Line 49:
{{#if: {{{guest1|}}} |
{{#if: {{{guest1|}}} |
{{!}}-
{{!}}-
{{!}} style="text-align:center;font-size:9pt;padding-left: 0.4em;padding-right: 0.4em"{{!}} {{{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"{{!}} {{{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"{{!}} {{{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"{{!}} {{{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"{{!}} {{{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}} |  
{{!}} {{InfoBox_Headers |header = Quotes of the Week}} |  
{{!}} {{InfoBox_Headers |header = Quote 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:125%">{{{qowText}}}</p> }}
| 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|}}} | {{{qowAuthor}}}}}
| 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}}
| {{InfoBox_Headers |header = Links}}
|-
|-
| style="text-align:center;font-size:9pt" | {{#if: {{{downloadLink|}}}  | [{{{downloadLink}}} Download Podcast]}}
| style="text-align:center;font-size:9pt" | {{#if: {{{downloadLink|}}}  | [{{{downloadLink}}} Download Podcast] }}
|-
|-
| style="text-align:center;font-size:9pt" | {{#if: {{{episodeNum|}}} |<!--
| 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] }}
    Episode number given, use the new link format
-->[http://www.theskepticsguide.org/podcast/sgu/{{{episodeNum}}} Show Notes]
}}
|-
|-
| style="text-align:center;font-size:9pt" | {{#if: {{{forumLink|}}}  | [{{{forumLink}}} Forum Topic] }}
| 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] }} }}
|}<includeonly>
|}
{{#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
}}|}}</includeonly>
}}|}}
<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 04:41, 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