Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Editing Template:Cite episode

Template page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
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 =  
| format =
}}
}}
</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 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>.
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 ''Battlestar Wiki'' is a section of a larger article such as an episode list.
**'''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 ''Battlestar Wiki'' article about the series. As with episodelink, don't link this yourself.
**'''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.
**'''[[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: {{{series|}}} | {{
    #if: {{{episodelink|}}}
    | "[[{{{episodelink}}}|{{{title}}}]]."
    | "{{{title}}}."
   }} {{
   }} {{
  #if: {{{number|}}} | Episode {{{number}}}.
    #if: {{{credits|}}} | {{{credits}}}{{ #if: {{{writers|}}} | , | . }}
   }} {{
   }} {{
  #if: {{{series|}}} | {{
     #if: {{{writers|}}} | Writ. {{{writers}}}.
    #if: {{{episodetitle|}}}
    | "{{{episodetitle}}}" |
    {{
     #if: {{{episodelink|}}}
    | "[[{{{episodelink}}}|{{{title}}}]]".
    | "{{{title}}}".
  }} }} {{
    #if: {{{credits|}}} | {{{credits}}}
   }} {{
   }} {{
     #if: {{{serieslink|}}}
     #if: {{{serieslink|}}}
Line 87: Line 68:
     | ''{{{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: {{{timestamp|}}} | Seen at: ''{{{timestamp}}}''. Format: {{mediatype|{{{format|TV}}}}}}}</cite></includeonly>
  #if: {{{format|}}} | {{{format}}}
}} {{
#if: {{{timestamp|}}} | Seen at: ''{{{timestamp}}}''.
}}</cite>
 
== Example ==
 
''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.
 
</includeonly>

To edit this page, please enter the words that appear below in the box (more info):

Refresh
Cancel Editing help (opens in new window)

  [] · [[]] · [[|]] · {{}} · · “” ‘’ «» ‹› „“ ‚‘ · ~ | ° &nbsp; · ± × ÷ ² ³ ½ · §
     [[Category:]] · [[:File:]] · [[Special:MyLanguage/]] · <code></code> · <nowiki></nowiki> <code><nowiki></nowiki></code> · <syntaxhighlight></syntaxhighlight> · <includeonly></includeonly> · <noinclude></noinclude> · #REDIRECT[[]] · <translate></translate> · <languages/> · {{#translation:}} · <tvar|></> · {{DEFAULTSORT:}} · <categorytree></categorytree> · <div style="clear:both;"></div> <s></s>


Your changes will be visible immediately.
  • For testing, please use the sandbox instead.
  • On talk pages, please sign your comment by typing four tildes (~~~~).