Editing Template:Cite episode
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
<noinclude>This template is for citing television or radio programs and episodes. The only required field is '''title'''. | <noinclude>This template is for citing television or radio programs and episodes. The only required field is '''title''', which can be wikilinked. | ||
==Usage== | ==Usage== | ||
| Line 18: | Line 18: | ||
| number = | | number = | ||
| timestamp = | | timestamp = | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
| Line 24: | Line 23: | ||
==Fields== | ==Fields== | ||
===Wikilinks=== | ===Wikilinks=== | ||
Most fields can be wikilinked (ie. ''network'' = <nowiki>[[network article|network name]]</nowiki>), but should generally only be linked to an existing | Most fields can be wikilinked (ie. ''network'' = <nowiki>[[network article|network name]]</nowiki>), but should generally only be linked to an existing Wikipedia article. Any wikilinked field '''must not''' contain any brackets apart from normal round brackets <code>()</code> — don't use <code><nowiki><>[]{}</nowiki></code>. | ||
===Description of fields=== | ===Description of fields=== | ||
| Line 37: | Line 36: | ||
====Description==== | ====Description==== | ||
*'''title''': The title of the program or episode being cited. | *'''title''': The title of the program or episode being cited. | ||
**'''episodelink''': The title of a ''Battlestar Wiki'' article about this episode. Don't link this yourself, it will be linked by the template. Remember that you can use section names here if the only relevant material in | **'''episodelink''': The title of a '''Battlestar Wiki''' article about this episode. Don't link this yourself, it will be linked by the template. Remember that you can use section names here if the only relevant material in Wikipedia is a section of a larger article such as an episode list. | ||
*'''series''': The name of the series the episode belongs to. | *'''series''': The name of the series the episode belongs to. | ||
**'''serieslink''': The title of a | **'''serieslink''': The title of a Wikipedia article about the series. As with episodelink, don't link this yourself. | ||
*'''credits''': Writers, directors, performers, producers, etc. | *'''credits''': Writers, directors, performers, producers, etc. | ||
*'''writers''': ''Deprecated, do not use''. The scriptwriter(s), appends after ''credits''. | |||
*'''network''': The network the episode was aired on. (ex. ABC, NBC, CBS, Fox, Disney, USA Network) | *'''network''': The network the episode was aired on. (ex. ABC, NBC, CBS, Fox, Disney, USA Network) | ||
**'''station''': Call letters of the local station (if any). | **'''station''': Call letters of the local station (if any). | ||
**'''city''': City of the local station (if any) or network. | **'''city''': City of the local station (if any) or network. | ||
*'''airdate''': Full date the program or episode aired, in [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, eg. ''2004-06-27''. Must not be wikilinked. | *'''airdate''': Full date the program or episode aired, in [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, eg. ''2004-06-27''. Must not be wikilinked. | ||
*'''format''': What medium are you referencing to. (ex. TV, DVD, iTunes) | |||
*'''timestamp''': Time format in HH:MM:SS. Must not be wikilinked. | *'''timestamp''': Time format in HH:MM:SS. Must not be wikilinked. | ||
== Example == | == Example == | ||
A | ''A cylon{{cite episode | title = The A-Team | episodelink = Wikipedia:The A-Team | network = [[Wikipedia:NBC|NBC]] | timestamp = 00:12:35}} walks through the set of the A-Team during the opening credits. | ||
[[Category:Citation templates|{{PAGENAME}}]] | [[Category:Citation templates|{{PAGENAME}}]] | ||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] | ||
</noinclude><includeonly><cite class="episode" style="font-style:normal">{{ | </noinclude><includeonly><cite class="episode" style="font-style:normal">{{ | ||
#if: {{{ | #if: {{{series|}}} | {{ | ||
#if: {{{episodelink|}}} | |||
| "[[{{{episodelink}}}|{{{title}}}]]." | |||
| "{{{title}}}." | |||
}} {{ | }} {{ | ||
#if: {{{credits|}}} | {{{credits}}}{{ #if: {{{writers|}}} | , | . }} | |||
}} {{ | }} {{ | ||
#if: {{{writers|}}} | Writ. {{{writers}}}. | |||
#if: {{{ | |||
}} {{ | }} {{ | ||
#if: {{{serieslink|}}} | #if: {{{serieslink|}}} | ||
| Line 87: | Line 73: | ||
| ''{{{title}}}''. | | ''{{{title}}}''. | ||
}} {{ | }} {{ | ||
#if: {{{credits|}}} | {{{credits}}} | #if: {{{credits|}}} | {{{credits}}}{{ #if: {{{writers|}}} | , | . }} | ||
}} {{ | |||
#if: {{{writers|}}} | Writ. {{{writers}}}. | |||
}} | }} | ||
}} {{ | }} {{ | ||
#if: {{{network|}}} | {{{network}}}{{ | #if: {{{network|}}} | {{{network}}}{{ | ||
#if: {{{station|}}} | . {{{station}}} | #if: {{{station|}}} | . {{{station}}} | ||
}} {{ | }}{{ | ||
#if: {{{city|}}} | , {{{city}}}. |. | #if: {{{city|}}} | , {{{city}}}. | . | ||
}} | }} | ||
}} {{ | }} {{ | ||
#if: {{{airdate|}}} | {{{airdate}}}. | #if: {{{airdate|}}} | {{{airdate}}}. | ||
}} {{ | }} {{ | ||
#if: {{{ | #if: {{{format|}}} | {{{format}}} | ||
}} {{ | |||
#if: {{{timestamp|}}} | Seen at: ''{{{timestamp}}}''. | |||
}}</cite> | |||
</includeonly> | |||