Template:5X5 infobox: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
(removed image as per discussion)
(The notes page links have changed, so add a template parameter for 5x5 episode number)
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| style="float: right;border: 1px solid darkgray;padding: 5;background:#F8F9F9;margin: 1em;width:180px;" cellpadding="1" cellspacing="0"
{| style="float: right;border: 1px solid darkgray;padding: 5;background:#F8F9F9;margin: 1em;width:180px;" cellpadding="1" cellspacing="0"
! colspan ="2" style="background:LightSteelBlue;padding-top:0.5em" | {{{episodeID}}}
! colspan ="2" style="background:LightSteelBlue" | {{#if: {{{episodeNum|}}} | 5X5 Episode {{{episodeNum}}} | {{{episodeID}}} }}
|-
|-
| colspan ="2" | ''{{{Contents}}}''
| colspan ="2" {{InfoBox_Headers |header = {{{Contents}}} }}
|-
|-
| colspan ="2" style="text-align:center;" | {{{episodeDate}}}
| colspan ="2" style="text-align:center;" | {{{episodeDate}}}
{{#if: {{{verified|}}} | {{Tick}} [[Help:Transcript Verified|Transcript Verified]] {{Numerical titles
|page      = {{PAGENAME}}
|category  = Verified
|}}
}}
|-
|-
|style="text-align:left;width:50%;padding-left: 1em" |{{#if: {{{previous|}}} | [[5X5 Episode {{{previous}}}|5X5 {{{previous}}}]] | [[5X5 Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}-1 }}|5X5 {{#expr: {{#sub:{{PAGENAME}}|12|0}}-1 }}]] }}
|style="text-align:left;width:50%;padding-left: 1em" |{{#if: {{{previous|}}} | [[5X5 Episode {{{previous}}}|5X5 {{{previous}}}]] | [[5X5 Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}-1 }}|5X5 {{#expr: {{#sub:{{PAGENAME}}|12|0}}-1 }}]] }}
|style="text-align:right;width:50%;padding-right: 1em" | {{#if: {{{next|}}} | [[5X5 Episode {{{next}}}|5X5 {{{next}}}]] | [[5X5 Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}+1 }}|5X5 {{#expr: {{#sub:{{PAGENAME}}|12|0}}+1 }}]] }}
|style="text-align:right;width:50%;padding-right: 1em" | {{#if: {{{next|}}} | [[5X5 Episode {{{next}}}|5X5 {{{next}}}]] | [[5X5 Episode {{#expr: {{#sub:{{PAGENAME}}|12|0}}+1 }}|5X5 {{#expr: {{#sub:{{PAGENAME}}|12|0}}+1 }}]] }}
|-
|-
| colspan ="2" {{Draft_infoBox_Headers |header = Skeptical Rogues }}
| colspan ="2" {{InfoBox_Headers |header = Skeptical Rogues }}
|-
|-
| colspan ="2" style="padding-top:0.5em; text-indent:3em"| S: Steven Novella
| colspan ="2" style="padding-top:0.5em; text-indent:3em"| S: Steven Novella
Line 21: Line 26:
| colspan ="2" style="text-indent:3em"| {{#if: {{{evan|}}} | E: Evan Bernstein}}
| colspan ="2" style="text-indent:3em"| {{#if: {{{evan|}}} | E: Evan Bernstein}}
|-
|-
| {{#if: {{{guest1|}}} |colspan ="2" {{Draft_infoBox_Headers |header = Guest}} }}
| {{#if: {{{guest1|}}} | {{#if: {{{guest2|}}} |colspan ="2" {{InfoBox_Headers |header = Guests}} |colspan ="2" {{InfoBox_Headers |header = Guest}} }} }}
|-
|-
| colspan ="2"  style="text-indent:3em"| {{#if: {{{guest1|}}} | {{{guest1}}}}}
| colspan ="2"  style="text-align:center"| {{#if: {{{guest1|}}} | {{{guest1}}}}}
|-
|-
| colspan ="2" {{Draft_infoBox_Headers |header = Links}}
| colspan ="2" style="text-align:center"| {{#if: {{{guest2|}}} | {{{guest2}}}}}
|-
| colspan ="2" {{InfoBox_Headers |header = Links}}
|-
|-
| colspan ="2"  style="text-align:center;" | {{#if: {{{downloadLink|}}}  | [{{{downloadLink}}} Download Podcast]}}
| colspan ="2"  style="text-align:center;" | {{#if: {{{downloadLink|}}}  | [{{{downloadLink}}} Download Podcast]}}
|-
|-
| colspan ="2"  style="text-align:center;" | {{#if: {{{notesLink|}}}   | [{{{notesLink}}} Show Notes] }}
| colspan ="2"  style="text-align:center;" | {{#if: {{{episodeNum|}}} |<!--
    Episode number given, use the new link format
-->[http://www.theskepticsguide.org/podcast/5x5/{{{episodeNum}}} Show Notes] |<!--
    else, fall back to the given link
    Remove this #if once all the template calls have been changed
-->{{#if: {{{notesLink|}}} | [{{{notesLink}}} Show Notes] }}
}}
|-
|-
| colspan ="2"  style="text-align:center;" | {{#if: {{{forumLink|}}}  | [{{{forumLink}}} Forum Topic] }}
| colspan ="2"  style="text-align:center;" | {{#if: {{{forumLink|}}}  | [{{{forumLink}}} Forum Topic] }}
|}
|}
{{Numerical titles
|page      = {{PAGENAME}}
|category  = 5X5 Episodes
|}}
<noinclude>For information on how to use this template, see [[Help:5X5 infobox]]
[[Category: Infobox templates]]
</noinclude>

Latest revision as of 13:40, 25 July 2013

{{{episodeID}}}
{{{Contents}}}
{{{episodeDate}}}
5X5 -1 5X5 1
Skeptical Rogues
S: Steven Novella
Links

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