From UnwelcomeGuests
Jump to: navigation, search
(Fix size of link to next show)
Line 55: Line 55:
 
{{#if: {{{content|}}} | {{#if: {{{possible_content|}}} |''<br/>Content:''|}} {{ContentTable| content={{{content}}} | textcolor=000}} |}}
 
{{#if: {{{content|}}} | {{#if: {{{possible_content|}}} |''<br/>Content:''|}} {{ContentTable| content={{{content}}} | textcolor=000}} |}}
 
{{#if: {{{possible_content|}}} | {{#if: {{{content|}}} || <br/>}} <font color="#888888">''Possible Content:</font> {{ContentTable| content={{{possible_content}}} | textcolor=cd6521}} |}}
 
{{#if: {{{possible_content|}}} | {{#if: {{{content|}}} || <br/>}} <font color="#888888">''Possible Content:</font> {{ContentTable| content={{{possible_content}}} | textcolor=cd6521}} |}}
{{#if: {{{possible_music|}}} | <br />''Possible Music: {{{possible_music|}}}'' |}}<center><small>{{#if: {{{number|}}} | <big><big><big>{{#ifexpr: ({{{number}}}>1) | '''[[{{#expr:({{{number}}}-1)}} | {{#expr:({{{number}}}-1)}}&nbsp;⇦]]''' </big></big></big> &nbsp; &nbsp; &nbsp; }} To link to this episode, please use the short, permanent URL:</small> <span class="plainlinks"><font face="courier">'''http://UnwelcomeGuests.net/{{{number}}}'''</font></span> <big><big> &nbsp; &nbsp; &nbsp; '''<!--  
+
{{#if: {{{possible_music|}}} | <br />''Possible Music: {{{possible_music|}}}'' |}}<center><small>{{#if: {{{number|}}} | <big><big><big>{{#ifexpr: ({{{number}}}>1) | '''[[{{#expr:({{{number}}}-1)}} | {{#expr:({{{number}}}-1)}}&nbsp;⇦|<center><small>]]''' </big></big></big> &nbsp; &nbsp; &nbsp; }} To link to this episode, please use the short, permanent URL:</small> <span class="plainlinks"><font face="courier">'''http://UnwelcomeGuests.net/{{{number}}}'''</font></span> <big><big> &nbsp; &nbsp; &nbsp; '''<!--  
 
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)}} |⇨&nbsp;{{#expr:({{{number}}}+1)}}]] | [[Next week's show | Next&nbsp;⇨]] }}'''</big></big> | This is an episode plan, which is likely to change before being released.</small> }}</center></includeonly>
 
--> {{#ifexpr: ({{#time: U}} > {{#expr: 604800 + {{#time: U | {{{date|}}}}} }}) | [[{{#expr:({{{number}}}+1)}} |⇨&nbsp;{{#expr:({{{number}}}+1)}}]] | [[Next week's show | Next&nbsp;⇨]] }}'''</big></big> | This is an episode plan, which is likely to change before being released.</small> }}</center></includeonly>

Revision as of 11:06, 8 August 2011

Unwelcome Guests Template:Episode page:

This template manages the layout of an episode.

The main thing to be careful of when editing show source files is not to mess up the curly brackets '{' and '}'.

The different sections of the template begin with a '|' character. i.e.
|number=For episodes, which episode number (will be blank for plans)
|date=When this episode was released (or when the plan was posted)
|title=Short, catchy description
|subtitle=Expansion on/explanation of the description
|image=A unique name of the image for this episode
|image_caption=Possible text to appear under the image
|summary=About 5 lines of text to give an overview of this episode
|description=More text to tell in detail what this episode contains, which points it makes, etc.
|credits=A line of thanks to anyone other than the contributors who have helped make this episode possible
|content= A list of content items, as {{mp3}}, {{mp4}}, {{pdf}} or {{ppt}} templates
|contributors= A list of names of speakers on this show, as internal links
|music=A list of names, as internal links (this will be blank if the episode has no music content)
|similar=Links to other related shows
|note=Anything else (usually this will be blank)
|rebroadcast=A number of an earlier episode if it contains a significant part of it (usually this will be blank)
|prebroadcast=A number of an later episode that repeats a significant part of it (usually this will be blank)

Episode plans will have the following extra sections:
|possible_content= A list of suggested content items
|possible_contributors= A list of names of suggested speakers on this episode, as internal links
|possible_music= A list of names of suggested music contributors, as internal links