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

Template:Episode: Difference between revisions

Template page
Joe Beaudoin Jr. (talk | contribs)
tweak
Joe Beaudoin Jr. (talk | contribs)
m Text replacement - "Greetings from Earth" to "Greetings From Earth"
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
|tos
|tos
|TOS={{#switch:{{{1|}}}
|TOS={{#switch:{{{1|}}}
|1.01|101={{#if:{{{link}}}|[[Saga of a Star World]]|Saga of a Star World}}
|1.01|101={{#if:{{{link|}}}|[[Saga of a Star World]]|Saga of a Star World}}
|1.02|102={{#if:{{{link|}}}|[[Lost Planet of the Gods, Part I]]|Lost Planet of the Gods, Part I}}
|1.02|102={{#if:{{{link|}}}|[[Lost Planet of the Gods, Part I]]|Lost Planet of the Gods, Part I}}
|1.03|103={{#if:{{{link|}}}|[[Lost Planet of the Gods, Part II]]|Lost Planet of the Gods, Part II}}
|1.03|103={{#if:{{{link|}}}|[[Lost Planet of the Gods, Part II]]|Lost Planet of the Gods, Part II}}
Line 18: Line 18:
|1.15|115= {{#if:{{{link|}}}|[[The Man with Nine Lives]]|The Man with Nine Lives}}
|1.15|115= {{#if:{{{link|}}}|[[The Man with Nine Lives]]|The Man with Nine Lives}}
|1.16|116= {{#if:{{{link|}}}|[[Murder on the Rising Star]]|Murder on the Rising Star}}
|1.16|116= {{#if:{{{link|}}}|[[Murder on the Rising Star]]|Murder on the Rising Star}}
|1.17|117= {{#if:{{{link|}}}|[[Greetings from Earth]]|Greetings from Earth}}
|1.17|117= {{#if:{{{link|}}}|[[Greetings From Earth]]|Greetings From Earth}}
|1.18|118= {{#if:{{{link|}}}|[[Baltar's Escape]]|Baltar's Escape}}
|1.18|118= {{#if:{{{link|}}}|[[Baltar's Escape]]|Baltar's Escape}}
|1.19|119= {{#if:{{{link|}}}|[[Experiment in Terra]]|Experiment in Terra}}
|1.19|119= {{#if:{{{link|}}}|[[Experiment in Terra]]|Experiment in Terra}}
Line 148: Line 148:
|bac|BAC|b&c|bloodandchrome={{#if:{{{link|}}}|[[Blood and Chrome]]|Blood and Chrome}}
|bac|BAC|b&c|bloodandchrome={{#if:{{{link|}}}|[[Blood and Chrome]]|Blood and Chrome}}
}}{{{after|}}}</includeonly>
}}{{{after|}}}</includeonly>
<noinclude>This template provides a link to episodes.
<noinclude>This template provides either a name and link to episodes, or a name, when a number and name are sent through it. By default, it will only print the name.


Example: <pre><nowiki>{{episode|101|tos}}</nowiki></pre> prints {{episode|101|tos}}
Example: <pre><nowiki>{{episode|101|tos}}</nowiki></pre> prints {{episode|101|tos}}
Line 154: Line 154:
== Disabling Link ==
== Disabling Link ==


To disable the link feature that's active in the template by default, use <pre><nowiki>|link=no</nowiki></pre>, e.g.:
To enable the link feature that's not active in the template by default, use <pre><nowiki>|link=yes</nowiki></pre>, e.g.:


Example: <pre><nowiki>{{episode|101|tos|link=no}}</nowiki></pre> prints {{episode|101|tos|link=no}}
Example: <pre><nowiki>{{episode|101|tos|link=yes}}</nowiki></pre> prints {{episode|101|tos|link=yes}}


[[Category:Battlestar Wiki Templates|Episode]]
[[Category:Battlestar Wiki Templates|Episode]]


</noinclude>
</noinclude>

Latest revision as of 03:13, 22 September 2023

This template provides either a name and link to episodes, or a name, when a number and name are sent through it. By default, it will only print the name.

Example:

{{episode|101|tos}}

prints Saga of a Star World


Disabling Link

To enable the link feature that's not active in the template by default, use

|link=yes

, e.g.: Example:

{{episode|101|tos|link=yes}}

prints Saga of a Star World