Template:CAP: Difference between revisions

Template page
(diswitch implementation; rm "(Caprica)" after Pilot mentions as diswitch handles that now)
(now with args!)
Line 1: Line 1:
<includeonly>{{#if:{{{prose|}}}|''[[Caprica (series){{!}}Caprica]]''{{'|s}}|([[Caprica (series){{!}}CAP]]:}} {{#if:{{{1|}}}|"[[{{diswitch|{{{1}}}}}{{!}}{{0|{{{1}}}}}]]"}}{{#if:{{{del1|}}}|&nbsp;[[List of Deleted Scenes (Caprica)#{{{1}}}|deleted scene]]}}{{#if:{{{2|}}}|, "[[{{diswitch|{{{2}}}}}{{!}}{{0|{{{2}}}}}]]"}}{{#if:{{{del2|}}}|&nbsp;[[List of Deleted Scenes (Caprica)#{{{2}}}|deleted scene]]}}{{#if:{{{3|}}}|, "[[{{diswitch|{{{3}}}}}{{!}}{{0|{{{3}}}}}]]"}}{{#if:{{{del3|}}}|&nbsp;[[List of Deleted Scenes (Caprica)#{{{3}}}|deleted scene]]}}{{#if:{{{4|}}}|, "[[{{diswitch|{{{4}}}}}{{!}}{{0|{{{4}}}}}]]"}}{{#if:{{{del4|}}}|&nbsp;[[List of Deleted Scenes (Caprica)#{{{4}}}|deleted scene]]}}{{#if:{{{5|}}}|, "[[{{diswitch|{{{5}}}}}{{!}}{{0|{{{5}}}}}]]"}}{{#if:{{{del5|}}}|&nbsp;[[List of Deleted Scenes (Caprica)#{{{5}}}|deleted scene]]}}{{#if:{{{6|}}}|, "[[{{diswitch|{{{6}}}}}{{!}}{{0|{{{6}}}}}]]"}}{{#if:{{{del6|}}}|&nbsp;[[List of Deleted Scenes (Caprica)#{{{6}}}|deleted scene]]}}{{#if:{{{7|}}}|, "[[{{diswitch|{{{7}}}}}{{!}}{{0|{{{7}}}}}]]"}}{{#if:{{{del7|}}}|&nbsp;[[List of Deleted Scenes (Caprica)#{{{7}}}|deleted scene]]}}{{#if:{{{8|}}}|, "[[{{diswitch|{{{8}}}}}{{!}}{{0|{{{8}}}}}]]"}}{{#if:{{{del8|}}}|&nbsp;[[List of Deleted Scenes (Caprica)#{{{8}}}|deleted scene]]}}{{#if:{{{prose|}}}|{{void}}|)}}</includeonly><noinclude>
<includeonly>{{#if:{{{prose|}}}|''[[Caprica (series){{!}}Caprica]]''{{'|s}}|([[Caprica (series){{!}}CAP]]:}}&nbsp;{{#fornumargs: number|value|"[[{{diswitch|{{#var: value }}}}{{!}}{{0|{{#var: value }}}}]]"{{#if:{{{del{{#var: number}}|}}}|&nbsp;[[List of Deleted Scenes (Caprica)#{{#var: value }}}|deleted scene]]|{{void}}}}{{#vardefine: i | {{#expr: {{#var: number}} + 1 }} }}{{#if:{{{{{#var: i}}|}}}|,&nbsp;|{{void}}}}}}{{#if:{{{prose|}}}|{{void}}|)}}{{#if:{{{nocat|}}}|{{void}}|{{#fornumargs: number|value|[[Category:{{#var:value}}]]}}}}</includeonly><noinclude>
= Documentation =
= Documentation =



Revision as of 00:44, 27 April 2021

Documentation[edit]

This template allows for easy inline citation of episodes (up to 8 per line), with the parentheses already surrounding the citation.

Usage[edit]

Singular episode:

{{CAP|Episode Title 1}}

Multiple episodes:

{{CAP|Episode Title 1|Episode Title 2|Episode Title 3}}

In using this template, simply put in the ARTICLE NAME of the episode, sans any quotes or wikisyntax. You may add up to 8 episode titles, each separated by the pipe — | — character.

Notation of Deleted Scenes[edit]

For episode noting information from deleted scenes, an additional parameter is used, in the form of |del#=Y, with the pound sign signifying the number value assigned to a specific episode in the citation call.

Singular episode (wherein the first episode title is referred to as |del1=Y:

{{CAP|Episode Title 1|del1=Y}}

Multiple episodes (wherein the deleted scene is referred to the second episode title, ergo |del2=Y):

{{CAP|Episode Title 1|Episode Title 2|Episode Title 3|del2=Y}}

Examples[edit]

Singular episode:

Evelyn gifts Joseph Adama a lighter {{CAP|Dirteaters}}.

Prints: Evelyn gifts Joseph Adama a lighter (CAP: "Dirteaters").

Multiple episodes:

With Caprica arming itself with a legion of robot soldiers and political tensions escalating throughout the Twelve Worlds, different factions from the various colonies begin vying for the U-87 technology {{CAP|False Labor|Blowback|The Heavens Will Rise}}.

Prints: With Caprica arming itself with a legion of robot soldiers and political tensions escalating throughout the Twelve Worlds, different factions from the various colonies begin vying for the U-87 technology (CAP: "False Labor", "Blowback", "The Heavens Will Rise").

Notation of Deleted Scenes[edit]

Singular episode:

[[Sister Clarice]] tells [[Lacy Rand]] that she grew up in the slums of [[Sagittaron]] {{CAP|Pilot|del1=Y}}.

Prints: Sister Clarice tells Lacy Rand that she grew up in the slums of Sagittaron (CAP: "Pilot" [[List of Deleted Scenes (Caprica)#Pilot}|deleted scene]]).

Multiple episodes:

[[Abasi Lowe]] and [[Steve Bahara]] broadcast "[[Pyramid Tonight]]" from {{RDM|Caprica}}'s [[Atlas Arena]] {{CAP|Rebirth|Reins of a Waterfall|Apotheosis (episode)|del2=Y}}.

Prints: Abasi Lowe and Steve Bahara broadcast "Pyramid Tonight" from Caprica's Atlas Arena (CAP: "Rebirth", "Reins of a Waterfall" [[List of Deleted Scenes (Caprica)#Reins of a Waterfall}|deleted scene]], "Apotheosis").

Prose Form[edit]

For citations where the Galactipedian wishes to include the series and episode title into the prose, the |prose=y option exists.

Examples[edit]

Singular episode:

While Avan Jogia is credited as a series regular for the {{CAP|Pilot|prose=y}}, he is later billed as a guest star in {{CAP|Rebirth|prose=y}}.

Prints: While Avan Jogia is credited as a series regular for the Caprica's "Pilot", he is later billed as a guest star in Caprica's "Rebirth".