From UnwelcomeGuests
Jump to: navigation, search
(Debug bits to help easily parse the page)
 
(61 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
+
<noinclude>This template builds the header at the top of the page, with title, number, images and arrows (<big><big><big>⇦ ⇨</big></big></big>) for navigation.<br/>
{|
+
See also [[Template:EpisodeFooter]].</noinclude><includeonly>{| style="width:100%;"
| <big><big>{{#ifexpr: ({{{number}}}>1) | '''[[{{#expr:({{{number}}}-1)}} | {{#expr:({{{number}}}-1)}}&nbsp;⇦]]''' </big></big> | </big></big> }} '''
+
|width="240px"|{{tinylink |number={{#expr:({{{number}}}-4)}} }}{{tinylink |number={{#expr:({{{number}}}-3)}} }}{{tinylink |number={{#expr:({{{number}}}-2)}} }}{{tinylink |number={{#expr:({{{number}}}-1)}} }}'''<big><big><big><big>{{#ifexpr: ({{{number}}}>1) |[[{{#expr:({{{number}}}-1)}}|⇦]]</big></big></big></big>'''|}}
|align="center" | <big><big>'''Episode <font color="#EE3300">#{{{number}}} - {{{title}}}''' {{#if: {{{subtitle|}}} | ''({{{subtitle|}}})'' |}}</font></big></big>
+
|align="center" | <big><big>'''<font color="#883300">Episode</font> <font color="#ee7722">#{{{number}}} - {{{title}}}'''<br/>{{#if: {{{subtitle|}}} | ''({{{subtitle|}}})'' |}}</font></big></big>
| <big><big>'''<!--
+
|width="240px"|<!--
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)}} |⇨&nbsp;{{#expr:({{{number}}}+1)}}]] | [[Next week's show | Next&nbsp;⇨]] }}'''</big></big>
+
|}
+
  
{{#if: {{{image|}}} | [[File:{{{image}}}|frame|right| {{#if: {{{image_caption|}}} | '''<center>{{{image_caption|}}}</center>''' |}} ]] |}}
+
Compare the current time (in Unix seconds) with 14 days (14*24*60*60) after the date of this show.
{{#if: {{{date|}}} | <font color="#7E3E00">'''{{#time: D j F Y | {{{date}}}}}:''' </font/> | <font color="red">Missing 'date'</font/> }}{{#ifexpr: ({{{number}}}>0) | [http://UnwelcomeGuests.net/archive/ug{{{number}}}-hour1mix.mp3 http://www.unwelcomeguests.net/images/6/69/Downloads.gif][http://UnwelcomeGuests.net/archive/ug{{{number}}}-hour1mix.mp3 Hour #1] ― [http://UnwelcomeGuests.net/archive/ug{{{number}}}-hour2mix.mp3 http://www.unwelcomeguests.net/images/6/69/Downloads.gif][http://UnwelcomeGuests.net/archive/ug{{{number}}}-hour2mix.mp3 Hour #2] | <!-- No audio ready yet --> }}
+
If there should be a next show, link to it with "".
<!--
+
<span id="ru-number">{{{number}}}</font>
+
<span id="ru-title">{{{title}}}</font>
+
<span id="ru-subtitle">{{{subtitle}}}</span>
+
 
-->
 
-->
</includeonly>
+
'''<big><big><big>{{#ifexpr: ({{#time: U}} > {{#expr: 1209600 + {{#time: U | {{{date|}}}}} }}) | [[{{#expr:({{{number}}}+1)}} |<big>⇨]] | [[Next week's show | Next&nbsp;<big>⇨]] }}'''</big></big></big></big>'''{{tinylink |number={{#expr:({{{number}}}+1)}} }}{{tinylink |number={{#expr:({{{number}}}+2)}} }}{{tinylink |number={{#expr:({{{number}}}+3)}} }}{{tinylink |number={{#expr:({{{number}}}+4)}} }}
 +
|}{{#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-title">{{{title}}}</span>
 +
<span id="ru-subtitle">{{{subtitle}}}</span>
 +
--></includeonly>

Latest revision as of 16:08, 18 December 2015

This template builds the header at the top of the page, with title, number, images and arrows (⇦ ⇨) for navigation.
See also Template:EpisodeFooter.