From UnwelcomeGuests
Jump to: navigation, search
(Stubs parameter)
Line 4: Line 4:
 
''This template manages the layout of an episode.''
 
''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 '}'.''<br/>
+
''<font color="red">The main thing to be careful of when editing show source files is not to mess up the curly brackets '{' and '}'.</font>''<br/>
  
 
''The different sections of the template begin with a '|' character. i.e.''
 
''The different sections of the template begin with a '|' character. i.e.''
Line 26: Line 26:
 
<br/><font face="courier">|rebroadcast=</font face="courier">A number of an earlier episode if it contains a significant part of it (usually this will be blank)
 
<br/><font face="courier">|rebroadcast=</font face="courier">A number of an earlier episode if it contains a significant part of it (usually this will be blank)
 
<br/><font face="courier">|prebroadcast=</font face="courier">A number of an later episode that repeats a significant part of it (usually this will be blank)
 
<br/><font face="courier">|prebroadcast=</font face="courier">A number of an later episode that repeats a significant part of it (usually this will be blank)
 +
<br/><font face="courier">|stub=</font face="courier">Set = 1 to indicate that this is a [[:category:stubs| page stub]].
  
 
''Episode plans will have the following extra sections:''
 
''Episode plans will have the following extra sections:''
Line 50: Line 51:
 
}} }}<br/>
 
}} }}<br/>
 
<table style="border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #873200; padding: 0; color:#{{{textcolor}}};" cellpadding="1"><tr><td style="background-color:#cc6622; border-style: solid; border-width: 0 0 1px 0">{{#if: {{{choice|}}}|[[image:star.jpg|link=Editor's Choice|alt=This is a choice episode]]|}} {{#if: {{{date|}}} |'''<big>⌚</big> {{#time: D j F Y | {{{date}}}}}''' | <font color="red">Missing 'date'</font/> }}&nbsp; {{#if: {{{contributors|}}} | [[:Category:Speaker | <big>☻</big>]] '''{{{contributors|}}}'''|}}{{#if: {{{possible_contributors|}}} | <br/> <font color="black">[[:Category:Speaker | <big>☺</big>?]] {{{possible_contributors|}}} </font> |}}</td></tr><tr><td style="padding:12px; background-color:#ffffcc;">{{#if: {{{number|}}} | <mp3>{{{number}}}</mp3><br /> <small>[http://www.unwelcomeguests.net/archive/ug{{{number}}}-hour1mix.mp3 Download Hour1]  [http://www.unwelcomeguests.net/archive/ug{{{number}}}-hour2mix.mp3 Download Hour2]</small>|}}
 
<table style="border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #873200; padding: 0; color:#{{{textcolor}}};" cellpadding="1"><tr><td style="background-color:#cc6622; border-style: solid; border-width: 0 0 1px 0">{{#if: {{{choice|}}}|[[image:star.jpg|link=Editor's Choice|alt=This is a choice episode]]|}} {{#if: {{{date|}}} |'''<big>⌚</big> {{#time: D j F Y | {{{date}}}}}''' | <font color="red">Missing 'date'</font/> }}&nbsp; {{#if: {{{contributors|}}} | [[:Category:Speaker | <big>☻</big>]] '''{{{contributors|}}}'''|}}{{#if: {{{possible_contributors|}}} | <br/> <font color="black">[[:Category:Speaker | <big>☺</big>?]] {{{possible_contributors|}}} </font> |}}</td></tr><tr><td style="padding:12px; background-color:#ffffcc;">{{#if: {{{number|}}} | <mp3>{{{number}}}</mp3><br /> <small>[http://www.unwelcomeguests.net/archive/ug{{{number}}}-hour1mix.mp3 Download Hour1]  [http://www.unwelcomeguests.net/archive/ug{{{number}}}-hour2mix.mp3 Download Hour2]</small>|}}
{{#if: {{{summary|}}} | ''{{{summary|}}}'' | <font color="red">Missing 'summary'</font/>}}</td></tr></table>{{#if: {{{description|}}} | {{{description|}}} |}}{{#if: {{{music|}}} | <br />''<font color="#88cc55">Music: {{{music|}}}''</font> |}}{{#if: {{{credits|}}} | <br />''<font color="#888800">{{{credits|}}}''</font>|}}{{#if: {{{note|}}} | <br />''<font color="#cc5588">{{{note|}}}''</font> |}}{{DiscussInvite}}{{#if:{{{rebroadcast|}}} | <br />''<font color="#cc8855">This episode rebroadcasts content from {{{rebroadcast|}}}.''</font> |}}{{#if: {{{prebroadcast|}}} | <br />''<font color="#cc8855">Some of this episode's content is repeated in episode {{{prebroadcast|}}}.''</font> |}}{{#if: {{{similar|}}} | <br />''<font color="#8855cc">{{{similar}}}.''</font>|}}{{#if: {{{content|}}} | {{#if: {{{possible_content|}}} |''<br/>Content:''|}}{{EpisodeContentTable| number={{{number|}}} |content={{{content}}} | textcolor=000}} |}}{{#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|}}}'' |}}{{#if: {{{number|}}} | {{EpisodeFooter|number={{{number}}}|date={{{date}}} }}}} {{#ifexpr: (0{{{number}}}>1) ||}}</includeonly>
+
{{#if: {{{summary|}}} | ''{{{summary|}}}'' | <font color="red">Missing 'summary'</font/>}}</td></tr></table>{{#if: {{{description|}}} | {{{description|}}} |}}{{#if: {{{music|}}} | <br />''<font color="#88cc55">Music: {{{music|}}}''</font> |}}{{#if: {{{credits|}}} | <br />''<font color="#888800">{{{credits|}}}''</font>|}}{{#if: {{{note|}}} | <br />''<font color="#cc5588">{{{note|}}}''</font> |}}{{DiscussInvite}}{{#if:{{{rebroadcast|}}} | <br />''<font color="#cc8855">This episode rebroadcasts content from {{{rebroadcast|}}}.''</font> |}}{{#if: {{{prebroadcast|}}} | <br />''<font color="#cc8855">Some of this episode's content is repeated in episode {{{prebroadcast|}}}.''</font> |}}{{#if: {{{similar|}}} | <br />''<font color="#8855cc">{{{similar}}}.''</font>|}}{{#if: {{{content|}}} | {{#if: {{{possible_content|}}} |''<br/>Content:''|}}{{EpisodeContentTable| number={{{number|}}} |content={{{content}}} | textcolor=000}} |}}{{#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|}}}'' |}}{{#if: {{{number|}}} | {{EpisodeFooter|number={{{number}}}|date={{{date}}} }}}} {{#ifexpr: (0{{{number}}}>1) ||}}{{#if: {{{stub|}}} | [[category:stubs]]|}}'</includeonly>

Revision as of 20:40, 13 November 2012

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
|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

The less common sections are:
|choice=Set =1 if this episode features in Editor's Choice
|image_caption=Possible text to appear under the image
|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)
|stub=Set = 1 to indicate that this is a page stub.

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