From UnwelcomeGuests
Line 1: | Line 1: | ||
− | <noinclude>This template builds the header strip for the show, with big arrows (<big><big>⇨</big></big>) to link to previous | + | <noinclude>This template builds the header strip for the show, with big arrows (<big><big>⇨</big></big>) to link to previous and subsequent episodes.</noinclude><includeonly> |
− | {| style="width:100%;" | + | {|style="width:100%;" |
− | | <big><big><big>{{#ifexpr: ({{{number}}}>1) | '''[[{{#expr:({{{number}}}-1)}} | {{#expr:({{{number}}}-1)}} ⇦]]''' </big></big></big> | </big></big></big> }} ''' | + | | <big><big><big>{{#ifexpr:({{{number}}}>1) | '''[[{{#expr:({{{number}}}-1)}} | {{#expr:({{{number}}}-1)}} ⇦]]''' </big></big></big> | </big></big></big>}}''' |
|align="center" | <big><big>'''<font color="#883300">Episode</font> <font color="#ee7722">#{{{number}}} - {{{title}}}''' {{#if: {{{subtitle|}}} | ''({{{subtitle|}}})'' |}}</font></big></big> | |align="center" | <big><big>'''<font color="#883300">Episode</font> <font color="#ee7722">#{{{number}}} - {{{title}}}''' {{#if: {{{subtitle|}}} | ''({{{subtitle|}}})'' |}}</font></big></big> | ||
− | | <big><big><big>'''<!-- | + | | <big><big><big>'''<!-- Compare the current time (in Unix seconds) with 7 days (7*24*60*60) after the date of this show. |
− | Compare the current time (in Unix seconds) with 7 days (7*24*60*60) after the date of this show. | + | Link either to the next published show, or the "Next week's show" link. -->{{#ifexpr: ({{#time: U}} > {{#expr: 604800 + {{#time: U | {{{date|}}}}} }}) | [[{{#expr:({{{number}}}+1)}} |⇨ {{#expr:({{{number}}}+1)}}]] | [[Next week's show | Next ⇨]] }}'''</big></big></big>|}{{#if: {{{image|}}} | [[File:{{{image}}}|frame|right| {{#if: {{{image_caption|}}} | '''<center>{{{image_caption|}}}</center>''' |}} ]] |
− | Link either to the next published show, or the "Next week's show" link. | + | |}<!-- |
− | --> {{#ifexpr: ({{#time: U}} > {{#expr: 604800 + {{#time: U | {{{date|}}}}} }}) | [[{{#expr:({{{number}}}+1)}} |⇨ {{#expr:({{{number}}}+1)}}]] | [[Next week's show | Next ⇨]] }}'''</big></big></big>|}{{#if: {{{image|}}} | [[File:{{{image}}}|frame|right| {{#if: {{{image_caption|}}} | '''<center>{{{image_caption|}}}</center>''' |}} ]] | | + | Below used by maintenanceBot scripts - Ignore but leave here |
<span id="ru-number">{{{number}}}</span> | <span id="ru-number">{{{number}}}</span> | ||
<span id="ru-title">{{{title}}}</span> | <span id="ru-title">{{{title}}}</span> | ||
<span id="ru-subtitle">{{{subtitle}}}</span> | <span id="ru-subtitle">{{{subtitle}}}</span> | ||
--></includeonly> | --></includeonly> |
Revision as of 10:09, 7 October 2010
This template builds the header strip for the show, with big arrows (⇨) to link to previous and subsequent episodes.