Template:Episode: Difference between revisions
(Making STARDATE and NUMBER params optional. Makes the relevant line disappear entirely if neither is specified, and displays them separately appropriately.) |
(Fixing asteriskseses?) |
||
Line 2: | Line 2: | ||
|{{#if:{{{1|}}}|{{FNSTopStoriesCrop-width|{{{IMAGE|}}}|{{{NAME|}}} ({{{SHIP|}}})}}|{{FNSTopStoriesCrop|{{#if:{{{IMAGE|}}}|{{{IMAGE|}}}|UFOPgrayseal-square.png}}|{{{NAME|}}} ({{{SHIP|}}})}}}} | |{{#if:{{{1|}}}|{{FNSTopStoriesCrop-width|{{{IMAGE|}}}|{{{NAME|}}} ({{{SHIP|}}})}}|{{FNSTopStoriesCrop|{{#if:{{{IMAGE|}}}|{{{IMAGE|}}}|UFOPgrayseal-square.png}}|{{{NAME|}}} ({{{SHIP|}}})}}}} | ||
|valign=top|<font size=4>'''[[{{{NAME|}}} ({{{SHIP|}}})|{{{NAME|}}}]]'''</font> | |valign=top|<font size=4>'''[[{{{NAME|}}} ({{{SHIP|}}})|{{{NAME|}}}]]'''</font> | ||
{{#if:{{{STARDATE|}}}{{{NUMBER|}}}|*'''''{{#if:{{{NUMBER|}}}|{{{NUMBER|}}}: |}}{{#if:{{{STARDATE|}}}|Stardate {{{STARDATE|}}}'''''|}}|}} | {{#if:{{{STARDATE|}}}{{{NUMBER|}}}|*'''''{{#if:{{{NUMBER|}}}|{{{NUMBER|}}}: |}}{{#if:{{{STARDATE|}}}|Stardate {{{STARDATE|a}}}'''''|}} | ||
*|}}*{{{BLURB|}}} | |||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
This template will create TV Guide-like listings for your ship's episodes. | This template will create TV Guide-like listings for your ship's episodes. |
Latest revision as of 21:20, 17 July 2023
This template will create TV Guide-like listings for your ship's episodes.
How to Use
{{Episode |NAME=Name of episode |SHIP=Ship name without the USS |STARDATE=Stardate(s) of episode |IMAGE=Picture for episode (optional) |BLURB=TV guide like description (recommend just one sentence that will make a reader want to click to read more) }}
IMPORTANT! Your ship's episodes MUST be named in the following format:
- Episode Name (Ship Name without the USS)
Example:
Example
{{Episode |NAME=Ghost Ship |SHIP=Garuda |STARDATE=239108-239109 |IMAGE=Oracleclass.png |BLURB=Shore leave is cut short when the ''Garuda'' crew are called on an urgent mission to hunt down a rogue Starfleet vessel: the Garuda's predecessor {{USS|Mercury}}. }}
Ghost Ship
|
If you leave the image blank, the template will return a default image:
{{Episode |NAME=Ghost Ship |SHIP=Garuda |STARDATE=239108-239109 |IMAGE= |BLURB=Shore leave is cut short when the ''Garuda'' crew are called on an urgent mission to hunt down a rogue Starfleet vessel: the Garuda's predecessor {{USS|Mercury}}. }}
Ghost Ship
|
Fit Image to width instead of height
By default, the image is fit to height like with the Mercury image above. If your image is taller than it is wide, you can have the image be fit to width instead by putting |w after the image name.
Fit to height
Quarantine
|
Fit to width
{{Episode |NAME=Quarantine |SHIP=Garuda |STARDATE=239110-239111 |IMAGE=Nikael.jpg|w |BLURB=While Captain Egan Manno and the ''Garuda'' are summoned away, the rest of the crew remaining on DSX led by Nia Calderan are suddenly trapped when terrorists calling themselves the Maquis Reborn lock the station down in a quarantine protocol with a deadly virus. }}
Quarantine
|
Add an Optional Episode Number
If you want to add the episode number, simply add |NUMBER= as a variable. Number it how you see fit ("Episode 6", "Season 1, Episode 6", "1x06", etc.)
{{Episode |NAME=Ghost Ship |SHIP=Garuda |NUMBER=Episode 6 |STARDATE=239108-239109 |IMAGE=Oracleclass.png |BLURB=Shore leave is cut short when the ''Garuda'' crew are called on an urgent mission to hunt down a rogue Starfleet vessel: the Garuda's predecessor {{USS|Mercury}}. }}
Ghost Ship
|
Stacking episodes
Episodes are stackable so that you can simply list them one after another to create a full page for each season/year of your ship.
{{Episode |NAME=Ghost Ship |SHIP=Garuda |STARDATE=239108-239109 |IMAGE=Oracleclass.png |BLURB=Shore leave is cut short when the ''Garuda'' crew are called on an urgent mission to hunt down a rogue Starfleet vessel: the Garuda's predecessor {{USS|Mercury}}. }} {{Episode |NAME=Quarantine |SHIP=Garuda |STARDATE=239110-239111 |IMAGE=Nikael.jpg|w |BLURB=While Captain Egan Manno and the ''Garuda'' are summoned away, the rest of the crew remaining on DSX led by Nia Calderan are suddenly trapped when terrorists calling themselves the Maquis Reborn lock the station down in a quarantine protocol with a deadly virus. }}
Ghost Ship
|
Quarantine
|
Example of a final TV guide like listing for a ship's missions
Questions/Comments/Suggests
Let me know. ♫ Rich ▪ talk ▪ 118Wiki Administrator