More actions
No edit summary |
→Sub Templates of Cite Episode: working |
||
(34 intermediate revisions by 3 users not shown) | |||
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'''. | ||
==Usage== | ==Usage== | ||
Line 18: | Line 18: | ||
| number = | | number = | ||
| timestamp = | | timestamp = | ||
| format = | |||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 23: | Line 24: | ||
==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 Battlestar Wiki 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 36: | Line 37: | ||
====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 | **'''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 ''Battlestar Wiki'' 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 ''Battlestar Wiki'' article about the series. As with episodelink, don't link this yourself. | ||
*'''credits''': Writers, directors, performers, producers, etc. | *'''credits''': Writers, directors, performers, producers, etc. | ||
*'''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. | ||
*'''timestamp''': Time format in HH:MM:SS. Must not be wikilinked. | *'''timestamp''': Time format in HH:MM:SS. Must not be wikilinked. | ||
**'''[[Template:Mediatype|format]]''': What medium are you referencing to. (ex. TV, DVD, iTunes) '''TV''' is default. | |||
== Example == | |||
A Cylon<ref>{{cite episode | title = The A-Team | network = [[Wikipedia:NBC|NBC]] | timestamp = 00:12:35}}</ref> walks through the set of the A-Team during the opening credits. | |||
''[[Pegasus (RDM)|Pegasus]]'' has arrived.<ref>{{cite episode/bsg|210}}</ref> You can watch the entrance at the start of the episode.<ref>{{cite episode/bsg|210|timestamp=00:03:34}}</ref> | |||
<div style="font-size:85%"><references/></div> | |||
==Sub Templates of Cite Episode == | |||
* [[Template:cite episode/bsg]] - Used for the [[Battlestar Galactica]] episodes only. | |||
** Usage: {{tlp|cite episode/bsg|''[[List of all episodes|Episode Number]]''| ''[<nowiki>series = TOS</nowiki>] ''| ''[<nowiki>timestamp = HH:MM:SS</nowiki>] ''| ''[<nowiki>format = TV</nowiki>] ''}} | |||
** Series Options: RDM, TOS, 1980, Caprica. '''RDM''' by default. | |||
** Format Options: TV, DVD, iTunes. '''TV''' by default. | |||
[[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: {{{season|}}} | {{{season}}}{{#if: {{{number|}}}|,|.}} | |||
}} {{ | |||
#if: {{{number|}}} | Episode {{{number}}}. | |||
}} {{ | |||
#if: {{{series|}}} | {{ | #if: {{{series|}}} | {{ | ||
#if: {{{episodetitle|}}} | |||
| "{{{episodetitle}}}" | | |||
{{ | |||
#if: {{{episodelink|}}} | #if: {{{episodelink|}}} | ||
| "[[{{{episodelink}}}|{{{title}}}]]. | | "[[{{{episodelink}}}|{{{title}}}]]". | ||
| "{{{title}}}. | | "{{{title}}}". | ||
}} {{ | }} }} {{ | ||
#if: {{{credits|}}} | {{{credits}}} | #if: {{{credits|}}} | {{{credits}}} | ||
}} {{ | }} {{ | ||
#if: {{{serieslink|}}} | #if: {{{serieslink|}}} | ||
Line 68: | Line 87: | ||
| ''{{{title}}}''. | | ''{{{title}}}''. | ||
}} {{ | }} {{ | ||
#if: {{{credits|}}} | {{{credits}}} | #if: {{{credits|}}} | {{{credits}}} | ||
}} | }} | ||
}} {{ | }} {{ | ||
#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: {{{timestamp|}}} | Seen at: ''{{{timestamp}}}''. Format: {{mediatype|{{{format|TV}}}}}}}</cite></includeonly> | ||
}}</cite></includeonly> |
Latest revision as of 18:18, 3 March 2009
This template is for citing television or radio programs and episodes. The only required field is title.
Usage
All fields must be lowercase. Copy a blank version to use:
{{cite episode | title = | episodelink = | series = | serieslink = | credits = | network = | station = | city = | airdate = | season = | number = | timestamp = | format = }}
Fields
Wikilinks
Most fields can be wikilinked (ie. network = [[network article|network name]]), but should generally only be linked to an existing Battlestar Wiki article. Any wikilinked field must not contain any brackets apart from normal round brackets ()
— don't use <>[]{}
.
Description of fields
Syntax (for the technical-minded)
Nested fields either rely on their parent fields, or replace them:
- parent
- child — may be used with parent (and is ignored if parent is not used)
- OR: child2 — may be used instead of parent (and is ignored if parent is used)
Description
- 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 Battlestar Wiki is a section of a larger article such as an episode list.
- series: The name of the series the episode belongs to.
- serieslink: The title of a Battlestar Wiki article about the series. As with episodelink, don't link this yourself.
- credits: Writers, directors, performers, producers, etc.
- 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).
- city: City of the local station (if any) or network.
- airdate: Full date the program or episode aired, in ISO 8601 YYYY-MM-DD format, eg. 2004-06-27. Must not be wikilinked.
- timestamp: Time format in HH:MM:SS. Must not be wikilinked.
- format: What medium are you referencing to. (ex. TV, DVD, iTunes) TV is default.
Example
A Cylon[1] walks through the set of the A-Team during the opening credits.
Pegasus has arrived.[2] You can watch the entrance at the start of the episode.[3]
- ↑ The A-Team. NBC . Seen at: 00:12:35. Format: TV
- ↑ "Pegasus" RDM. Official SciFi.com Site .
- ↑ "Pegasus" RDM. Official SciFi.com Site . Seen at: 00:03:34. Format: TV
Sub Templates of Cite Episode
- Template:cite episode/bsg - Used for the Battlestar Galactica episodes only.
- Usage: {{cite episode/bsg|Episode Number| [series = TOS] | [timestamp = HH:MM:SS] | [format = TV] }}
- Series Options: RDM, TOS, 1980, Caprica. RDM by default.
- Format Options: TV, DVD, iTunes. TV by default.