Template:InfoBox: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (ok trying out the mini template I was sandboxing)
m (ok this is a transplant of what I sandboxed)
Line 1: Line 1:
{| style="float: right;border: 1px solid darkgray;padding: 5;background:#F8F9F9;margin: 1em;width:240px;" cellpadding="1" cellspacing="0"
<includeonly>{| style="float: right;border: 1px solid darkgray;padding: 5;background:#F8F9F9;margin: 1em;width:240px;" cellpadding="1" cellspacing="0"
! colspan ="2" style="background:LightSteelBlue;font-size:10pt" | {{#if: {{{episodeNum|}}} |SGU Episode {{{episodeNum}}}| {{{episodeTitle}}} }}
! style="background:LightSteelBlue;font-size:10pt" | {{#if: {{{episodeNum|}}} |SGU Episode {{{episodeNum}}}| {{{episodeTitle}}} }}
|-
|-
| colspan ="2" style="text-align:center;font-size:9pt" | {{{episodeDate}}}
| style="text-align:center;font-size:9pt" | {{{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 8: Line 8:
|}} }}
|}} }}
|-
|-
| colspan ="2" |{{#if:{{{episodeIcon|}}}|[[{{{episodeIcon}}}|center|200px]]}}
|{{#if:{{{episodeIcon|}}}|[[{{{episodeIcon}}}|center|200px]]}}
|-
|-
| colspan ="2" 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)''}}
|-
|-
|style="text-align:left;width:50%;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 }}]] }}
|<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>
|style="text-align:right;width:50%;padding-right: 1em" | {{#if: {{{next|}}} | [[SGU Episode {{{next}}}|SGU {{{next}}}]] | [[SGU Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}+1 }}|SGU {{#expr: {{#sub:{{PAGENAME}}|12|0}}+1 }}]] }}
|-
|-
| colspan ="2" {{InfoBox_Headers |header = Skeptical Rogues }}
|-
| colspan ="2" style="font-size:9pt;text-indent:70px"| S: Steven Novella
|  {{SandboxRoguesList
|  {{SandboxRoguesList
|cara=y
|bob=y
|jay=y
|}}
|}}
{{#if: {{{guest1|}}} |
{{#if: {{{guest1|}}} |
{{!}}-
{{!}}-
{{#if: {{{guest2|}}} |
{{#if: {{{guest2|}}} |
{{!}} colspan ="2" {{InfoBox_Headers |header = Guests}} |
{{!}} {{InfoBox_Headers |header = Guests}} |
{{!}} colspan ="2" {{InfoBox_Headers |header = Guest}} }} }}
{{!}} {{InfoBox_Headers |header = Guest}} }} }}
{{#if: {{{guest1|}}} |
{{#if: {{{guest1|}}} |
{{!}}-
{{!}}-
{{!}} colspan ="2" 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"{{!}} {{{guest1}}}
{{#if: {{{guest2|}}} |
{{#if: {{{guest2|}}} |
{{!}}-
{{!}}-
{{!}} colspan ="2" 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"{{!}} {{{guest2}}} }}
{{#if: {{{guest3|}}} |
{{#if: {{{guest3|}}} |
{{!}}-
{{!}}-
{{!}} colspan ="2" 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"{{!}} {{{guest3}}} }}
{{#if: {{{guest4|}}} |
{{#if: {{{guest4|}}} |
{{!}}-
{{!}}-
{{!}} colspan ="2" 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"{{!}} {{{guest4}}} }}
{{#if: {{{guest5|}}} |
{{#if: {{{guest5|}}} |
{{!}}-
{{!}}-
{{!}} colspan ="2" 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"{{!}} {{{guest5}}} }} }}
|-
|-
{{#if: {{{multiplequotes|}}} |  
{{#if: {{{multiplequotes|}}} |  
{{!}} colspan ="2" {{InfoBox_Headers |header = Quotes of the Week}} |  
{{!}} {{InfoBox_Headers |header = Quotes of the Week}} |  
{{!}} colspan ="2" {{InfoBox_Headers |header = Quote of the Week}} }}
{{!}} {{InfoBox_Headers |header = Quote of the Week}} }}
|-
|-
| colspan ="2" 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:125%">{{{qowText}}}</p> }}
|-
|-
| colspan ="2" 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|}}} | {{{qowAuthor}}}}}
|-
|-
| colspan ="2" {{InfoBox_Headers |header = Links}}
| {{InfoBox_Headers |header = Links}}
|-
|-
| colspan ="2" style="text-align:center;font-size:9pt" | {{#if: {{{downloadLink|}}}  | [{{{downloadLink}}} Download Podcast]}}
| style="text-align:center;font-size:9pt" | {{#if: {{{downloadLink|}}}  | [{{{downloadLink}}} Download Podcast]}}
|-
|-
| colspan ="2" style="text-align:center;font-size:9pt" | {{#if: {{{episodeNum|}}} |<!--
| style="text-align:center;font-size:9pt" | {{#if: {{{episodeNum|}}} |<!--
     Episode number given, use the new link format
     Episode number given, use the new link format
  -->[http://www.theskepticsguide.org/podcast/sgu/{{{episodeNum}}} Show Notes]
  -->[http://www.theskepticsguide.org/podcast/sgu/{{{episodeNum}}} Show Notes]
}}
}}
|-
|-
| colspan ="2" style="text-align:center;font-size:9pt" | {{#if: {{{forumLink|}}}  | [{{{forumLink}}} Forum Topic] }}
| style="text-align:center;font-size:9pt" | {{#if: {{{forumLink|}}}  | [{{{forumLink}}} Forum Topic] }}
|}<includeonly>
|}<includeonly>
{{#ifeq: {{#sub:{{PAGENAME}}|0|11}}|SGU Episode|{{Numerical titles
{{#ifeq: {{#sub:{{PAGENAME}}|0|11}}|SGU Episode|{{Numerical titles

Revision as of 04:36, 27 November 2022

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