(Create template for episodes in the reimagined series) |
m (Protected "Template:TRS": important template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Battlestar Galactica (TRS)|TRS]]: {{#if:{{{1|}}}|"[[{{{1}}}]]"}}{{#if:{{{2|}}}|, "[[{{{2}}}]]"}}{{#if:{{{3|}}}|, "[[{{{3}}}]]"}}{{#if:{{{4|}}}|, "[[{{{4}}}]]"}}{{#if:{{{5|}}}|, "[[{{{5}}}]]"}}{{#if:{{{6|}}}|, "[[{{{6}}}]]"}}{{#if:{{{7|}}}|, "[[{{{7}}}]]"}}{{#if:{{{8|}}}|, "[[{{{8}}}]]"}}<noinclude>[[Category: Battlestar Wiki Templates|{{PAGENAME}}]]</noinclude> | <includeonly>([[Battlestar Galactica (TRS)|TRS]]: {{#if:{{{1|}}}|"[[{{{1}}}{{!}}{{0|{{{1}}}}}]]"}}{{#if:{{{2|}}}|, "[[{{{2}}}{{!}}{{0|{{{2}}}}}]]"}}{{#if:{{{3|}}}|, "[[{{{3}}}{{!}}{{0|{{{3}}}}}]]"}}{{#if:{{{4|}}}|, "[[{{{4}}}{{!}}{{0|{{{4}}}}}]]"}}{{#if:{{{5|}}}|, "[[{{{5}}}{{!}}{{0|{{{5}}}}}]]"}}{{#if:{{{6|}}}|, "[[{{{6}}}{{!}}{{0|{{{6}}}}}]]"}}{{#if:{{{7|}}}|, "[[{{{7}}}{{!}}{{0|{{{7}}}}}]]"}}{{#if:{{{8|}}}|, "[[{{{8}}}{{!}}{{0|{{{8}}}}}]]"}})</includeonly><noinclude> | ||
= 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: | |||
<code><nowiki>{{TRS|Episode Title 1}}</nowiki></code> | |||
Multiple episodes: | |||
<code><nowiki>{{TRS|Episode Title 1|Episode Title 2|Episode Title 3}}</nowiki></code> | |||
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: | |||
<code><nowiki>''Olympic Carrier'' is destroyed {{TRS|33}}.</nowiki></code> | |||
<code>'''Prints:'''</code> ''Olympic Carrier'' is destroyed {{TRS|33}}. | |||
Multiple episodes: | |||
<code><nowiki>''Pegasus'' survives the attack on the Scorpion Fleet Shipyards {{TRS|Razor|Pegasus (episode)}}.</nowiki></code> | |||
<code>'''Prints:'''</code> ''Pegasus'' survives the attack on the Scorpion Fleet Shipyards {{TRS|Razor|Pegasus (episode)}}. | |||
[[Category: Battlestar Wiki Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 22:51, 2 May 2020
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 (episode)}}.
Prints:
Pegasus survives the attack on the Scorpion Fleet Shipyards (TRS: "Razor", "Pegasus").