From UnwelcomeGuests
(Nav Icons) |
|||
Line 3: | Line 3: | ||
|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>'''<!-- | ||
+ | OLD METHOD: | ||
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. | 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>⇨</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>'''|}}]]|}}<!-- | |}{{#if: {{{image|}}} | [[File:{{{image}}}|frame|right| {{#if: {{{image_caption|}}} | '''<center>{{{image_caption|}}}</center>'''|}}]]|}}<!-- | ||
Below used by maintenanceBot scripts - Ignore but leave here | Below used by maintenanceBot scripts - Ignore but leave here |
Revision as of 10:05, 14 April 2012
This template builds the header at the top of the page, with title, number, images and arrows (⇦ ⇨) for navigation.