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

Template:Ep: Difference between revisions

Template page
Joe Beaudoin Jr. (talk | contribs)
Created page with "<includeonly>{{#vardefine:first_section|true}}<sup>({{#if:{{{cap|}}}|{{#vardefine:first_section|false}}CAP: {{#forargs:cap|key|val|[[{{#var:val}}]]}}{{#if:{{{del{{#var:key}}}}|}}| deleted scene}}{{#vardefine: i | {{#expr: {{#var:key}} + 1 }} }}{{#if:{{#arg:cap|{{#var:i}}}}|{{#vardefine: j | {{#expr: {{#var:key}} + 2 }} }}{{#if:{{#arg:cap|{{#var:j}}}}|, | and }}|}}|}}{{#if:{{{t..."
Tags: 2017 source edit Disambiguation links
 
Joe Beaudoin Jr. (talk | contribs)
mNo edit summary
Line 17: Line 17:
==== Combined Series ====
==== Combined Series ====
To cite episodes from both series:
To cite episodes from both series:
<code><nowiki>{{CS|cap=Pilot|Rebirth|trs=33|Pegasus}}</nowiki></code>
<code><nowiki>{{ep|cap=Pilot|Rebirth|trs=33|Pegasus}}</nowiki></code>


'''Prints:''' <sup>(CAP: [[Pilot]] and [[Rebirth]]; TRS: [[33]] and [[Pegasus]])</sup>
'''Prints:''' <sup>(CAP: [[Pilot]] and [[Rebirth]]; TRS: [[33]] and [[Pegasus]])</sup>
Line 23: Line 23:
==== Single Series ====
==== Single Series ====
The template can also be used for a single series, if desired.
The template can also be used for a single series, if desired.
<code><nowiki>{{CS|trs=The Hand of God|Colonial Day|Kobol's Last Gleaming, Part I}}</nowiki></code>
<code><nowiki>{{ep|trs=The Hand of God|Colonial Day|Kobol's Last Gleaming, Part I}}</nowiki></code>


'''Prints:''' <sup>(TRS: [[The Hand of God]], [[Colonial Day]], and [[Kobol's Last Gleaming, Part I]])</sup>
'''Prints:''' <sup>(TRS: [[The Hand of God]], [[Colonial Day]], and [[Kobol's Last Gleaming, Part I]])</sup>
Line 29: Line 29:
==== With Deleted Scenes ====
==== With Deleted Scenes ====
To mark a deleted scene from a ''Caprica'' episode. Note that 'del1' corresponds to the first episode in the 'cap' list ("Pilot" in this case).
To mark a deleted scene from a ''Caprica'' episode. Note that 'del1' corresponds to the first episode in the 'cap' list ("Pilot" in this case).
<code><nowiki>{{CS|cap=Pilot|Apotheosis|del1=Y|trs=Razor}}</nowiki></code>
<code><nowiki>{{ep|cap=Pilot|Apotheosis|del1=Y|trs=Razor}}</nowiki></code>


'''Prints:''' <sup>(CAP: [[Pilot]]&nbsp;[[List of Deleted Scenes (Caprica)#Pilot|deleted scene]] and [[Apotheosis]]; TRS: [[Razor]])</sup>
'''Prints:''' <sup>(CAP: [[Pilot]]&nbsp;[[List of Deleted Scenes (Caprica)#Pilot|deleted scene]] and [[Apotheosis]]; TRS: [[Razor]])</sup>


</noinclude>
</noinclude>

Revision as of 16:07, 26 July 2025

Documentation

This template allows for easy inline citation of episodes from multiple series in a single citation call. It is designed to combine citations from Caprica and the Re-imagined Series.

Usage

The template uses named parameters to distinguish between the series.

  • cap: Used for Caprica episodes. Episode titles are separated by the pipe character (|).
  • trs: Used for Re-imagined Series episodes. Episode titles are separated by the pipe character (|).
  • del#: To mark a deleted scene from a Caprica episode, where the # corresponds to the position of the episode in the 'cap' parameter.
  • nocat: Set to "Y" or "true" to prevent the template from adding categories to the page.

Examples

Combined Series

To cite episodes from both series: {{ep|cap=Pilot|Rebirth|trs=33|Pegasus}}

Prints: (CAP: Pilot and Rebirth; TRS: 33 and Pegasus)

Single Series

The template can also be used for a single series, if desired. {{ep|trs=The Hand of God|Colonial Day|Kobol's Last Gleaming, Part I}}

Prints: (TRS: The Hand of God, Colonial Day, and Kobol's Last Gleaming, Part I)

With Deleted Scenes

To mark a deleted scene from a Caprica episode. Note that 'del1' corresponds to the first episode in the 'cap' list ("Pilot" in this case). {{ep|cap=Pilot|Apotheosis|del1=Y|trs=Razor}}

Prints: (CAP: Pilot deleted scene and Apotheosis; TRS: Razor)