Template:TRS: Difference between revisions

Template page
(test w/nowiki)
(→‎Examples: + rm (episode) after "Pegasus" due to deployment of Template:diswitch)
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>([[Battlestar Galactica (TRS)|TRS]]: {{#if:{{{1|}}}|"[[{{{1}}}{{!}}{{#explode:{{{1}}}|(|0}}]]"}}{{#if:{{{2|}}}|, "[[{{{2}}}{{!}}{{#explode:{{{2}}}|<nowiki> (</nowiki>|0}}]]"}}{{#if:{{{3|}}}|, "[[{{{3}}}{{!}}{{#explode:{{{3}}}|(|0}}]]"}}{{#if:{{{4|}}}|, "[[{{{4}}}{{!}}{{#explode:{{{4}}}|(|0}}]]"}}{{#if:{{{5|}}}|, "[[{{{5}}}{{!}}{{#explode:{{{5}}}|(|0}}]]"}}{{#if:{{{6|}}}|, "[[{{{6}}}{{!}}{{#explode:{{{6}}}|(|0}}]]"}}{{#if:{{{7|}}}|, "[[{{{7}}}{{!}}{{#explode:{{{8}}}|(|0}}]]"}}{{#if:{{{8|}}}|, "[[{{{8}}}{{!}}{{#explode:{{{8}}}|(|0}}]]"}})</includeonly><noinclude>
<includeonly>{{#if:{{{prose|}}}|[[Re-imagined Series]]'|([[Battlestar Galactica (TRS){{!}}TRS]]:}} {{#if:{{{1|}}}|"[[{{diswitch|{{{1}}}}}{{!}}{{0|{{{1}}}}}]]"}}{{#if:{{{2|}}}|, "[[{{diswitch|{{{2}}}}}{{!}}{{0|{{{2}}}}}]]"}}{{#if:{{{3|}}}|, "[[{{diswitch|{{{3}}}}}{{!}}{{0|{{{3}}}}}]]"}}{{#if:{{{4|}}}|, "[[{{diswitch|{{{4}}}}}{{!}}{{0|{{{4}}}}}]]"}}{{#if:{{{5|}}}|, "[[{{diswitch|{{{5}}}}}{{!}}{{0|{{{5}}}}}]]"}}{{#if:{{{6|}}}|, "[[{{diswitch|{{{6}}}}}{{!}}{{0|{{{6}}}}}]]"}}{{#if:{{{7|}}}|, "[[{{diswitch|{{{7}}}}}{{!}}{{0|{{{7}}}}}]]"}}{{#if:{{{8|}}}|, "[[{{diswitch|{{{8}}}}}{{!}}{{0|{{{8}}}}}]]"}}{{#if:{{{prose|}}}|{{void}}|)}}</includeonly><noinclude>
= Documentation =
= Documentation =


Line 26: Line 26:
Multiple episodes:
Multiple episodes:


<code><nowiki>''Pegasus'' survives the attack on the Scorpion Fleet Shipyards {{TRS|Razor|Pegasus (episode)}}.</nowiki></code>
<code><nowiki>''Pegasus'' survives the attack on the Scorpion Fleet Shipyards {{TRS|Razor|Pegasus}}.</nowiki></code>


<code>'''Prints:'''</code> ''Pegasus'' survives the attack on the Scorpion Fleet Shipyards {{TRS|Razor|Pegasus (episode)}}.
<code>'''Prints:'''</code> ''Pegasus'' survives the attack on the Scorpion Fleet Shipyards {{TRS|Razor|Pegasus}}.
 
==Prose Form==
 
For citations where the Galactipedian wishes to include the series and episode title into the prose, the <code>|prose=y</code> option exists.
 
=== Examples ===
 
Singular episode:
 
<code><nowiki>In the [[Battlestar Galactica (2005 Novel)|novelization]] of {{TRS|Miniseries|prose=y}}, the character of specialist Cally was referred to as [[Jane Cally]], although this is later disproven by the fact that the character itself was given the proper name of [[Cally Henderson]] later in the series.</nowiki></code>
 
<code>'''Prints:'''</code> In the [[Battlestar Galactica (2005 Novel)|novelization]] of {{TRS|Miniseries|prose=y}}, the character of specialist Cally was referred to as [[Jane Cally]], although this is later disproven by the fact that the character itself was given the proper name of [[Cally Henderson]] later in the series.


[[Category: Battlestar Wiki Templates|{{PAGENAME}}]]</noinclude>
[[Category: Battlestar Wiki Templates|{{PAGENAME}}]]</noinclude>

Revision as of 03:08, 10 January 2021

Documentation

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

Usage

Singular episode:

{{TRS|Episode Title 1}}

Multiple episodes:

{{TRS|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.

Examples

Singular episode:

''Olympic Carrier'' is destroyed {{TRS|33}}.

Prints: Olympic Carrier is destroyed (TRS: "33").

Multiple episodes:

''Pegasus'' survives the attack on the Scorpion Fleet Shipyards {{TRS|Razor|Pegasus}}.

Prints: Pegasus survives the attack on the Scorpion Fleet Shipyards (TRS: "Razor", "Pegasus").

Prose Form

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

Examples

Singular episode:

In the [[Battlestar Galactica (2005 Novel)|novelization]] of {{TRS|Miniseries|prose=y}}, the character of specialist Cally was referred to as [[Jane Cally]], although this is later disproven by the fact that the character itself was given the proper name of [[Cally Henderson]] later in the series.

Prints: In the novelization of Re-imagined Series' "Miniseries", the character of specialist Cally was referred to as Jane Cally, although this is later disproven by the fact that the character itself was given the proper name of Cally Henderson later in the series.