More actions
diswitch implementation |
m Superscript Tag: 2017 source edit |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{prose|}}}|[[Re-imagined Series]]'|([[ | <includeonly>{{#if:{{{prose|}}}|[[Re-imagined Series]]{{'}}|<sup>([[Re-imagined Series{{!}}TRS]]:}} {{#fornumargs: number|value|"[[{{diswitch|{{#var: value }}}}{{!}}{{0|{{#var: value }}}}]]"{{#if:{{{del{{#var: number}}|}}}| [[{{diswitch|series=TOS|{{#var: value }}}}/Deleted scenes|deleted scene]]|{{void}}}}{{#vardefine: i | {{#expr: {{#var: number}} + 1 }} }}{{#if:{{{{{#var: i}}|}}}|, |{{void}}}}}}{{#if:{{{prose|}}}|{{void}}|)</sup>}}{{#if:{{{nocat|}}}|{{void}}|{{#fornumargs: number|value|[[Category:{{diswitch|series=TOS|{{#var: value }}}}]]}}}}</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 | <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 | <code>'''Prints:'''</code> ''Pegasus'' survives the attack on the Scorpion Fleet Shipyards {{TRS|Razor|Pegasus}}. | ||
==Prose Form== | ==Prose Form== | ||
Line 42: | Line 42: | ||
<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. | <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}}]]<templatedata> | ||
{ | |||
"params": { | |||
"1": { | |||
"type": "wiki-page-name" | |||
}, | |||
"2": { | |||
"type": "wiki-page-name" | |||
}, | |||
"3": { | |||
"type": "wiki-page-name" | |||
}, | |||
"4": { | |||
"type": "wiki-page-name" | |||
}, | |||
"5": { | |||
"type": "wiki-page-name" | |||
}, | |||
"6": { | |||
"type": "wiki-page-name" | |||
}, | |||
"7": { | |||
"type": "wiki-page-name" | |||
}, | |||
"8": { | |||
"type": "wiki-page-name" | |||
}, | |||
"9": { | |||
"type": "wiki-page-name" | |||
}, | |||
"10": { | |||
"type": "wiki-page-name" | |||
}, | |||
"prose": { | |||
"type": "boolean" | |||
}, | |||
"nocat": { | |||
"type": "boolean" | |||
} | |||
} | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 20:42, 14 September 2024
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.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | no description | Page name | optional |
2 | 2 | no description | Page name | optional |
3 | 3 | no description | Page name | optional |
4 | 4 | no description | Page name | optional |
5 | 5 | no description | Page name | optional |
6 | 6 | no description | Page name | optional |
7 | 7 | no description | Page name | optional |
8 | 8 | no description | Page name | optional |
9 | 9 | no description | Page name | optional |
10 | 10 | no description | Page name | optional |
prose | prose | no description | Boolean | optional |
nocat | nocat | no description | Boolean | optional |