From UnwelcomeGuests
Jump to: navigation, search
 
(55 intermediate revisions by the same user 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/>
{| style="width:100%;"
+
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>
+
|}
+
  
{{#ifexpr: ({{{number}}}=55) | <html_prop></p>
+
Compare the current time (in Unix seconds) with 14 days (14*24*60*60) after the date of this show.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="331" height="25" id="mini_player_mp3" align="middle">
+
If there should be a next show, link to it with "".
<param name="allowScriptAccess" value="sameDomain" />
+
-->
<param name="movie" value="mini_player_mp3.swf?my_mp3=test.mp3&amp;my_text=Hour #1" />
+
'''<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)}} }}
<param name="quality" value="high" />
+
|}{{#if: {{{image|}}} | [[File:{{{image}}}|frame|right| {{#if: {{{image_caption|}}} | '''<center>{{{image_caption|}}}</center>'''|}}]]|}}<!--  
<param name="bgcolor" value="#ffffff" />
+
Below used by maintenanceBot scripts - Ignore but leave here
 
+
<param name="wmode" value="transparent" />
+
<embed src="mini_player_mp3.swf?my_mp3=test.mp3&amp;my_text=Hour #1" quality="high" bgcolor="#ffffff" width="331" height="25" wmode="transparent" name="mini_player_mp3" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
+
</object>
+
</html_prop>
+
}}
+
 
+
{{#if: {{{image|}}} | [[File:{{{image}}}|frame|right| {{#if: {{{image_caption|}}} | '''<center>{{{image_caption|}}}</center>''' |}} ]] |}}
+
{{#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 --> }}
+
 
+
<!-- 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>
+

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.