Template:Episode: Difference between revisions
No edit summary |
(added default image if left blank) |
||
Line 1: | Line 1: | ||
<includeonly>{|cellpadding=3 | <includeonly>{|cellpadding=3 | ||
|{{#if:{{{1|}}}|{{FNSTopStoriesCrop-width|{{{IMAGE|}}}|{{{NAME|}}} ({{{SHIP|}}})}}|{{FNSTopStoriesCrop|{{{IMAGE|}}}|{{{NAME|}}} ({{{SHIP|}}})}}}} | |{{#if:{{{1|}}}|{{FNSTopStoriesCrop-width|{{{IMAGE|}}}|{{{NAME|}}} ({{{SHIP|}}})}}|{{FNSTopStoriesCrop|{{{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:{{{NUMBER|}}}|{{{NUMBER|}}}: |}}Stardate {{{STARDATE|}}}''''' | *'''''{{#if:{{{NUMBER|}}}|{{{NUMBER|}}}: |}}Stardate {{{STARDATE|}}}''''' | ||
Line 13: | Line 13: | ||
|SHIP=Ship name without the USS | |SHIP=Ship name without the USS | ||
|STARDATE=Stardate(s) of episode | |STARDATE=Stardate(s) of episode | ||
|IMAGE=Picture for 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) | |BLURB=TV guide like description (recommend just one sentence that will make a reader want to click to read more) | ||
}} | }} | ||
Line 42: | Line 42: | ||
|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}}. | |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}}. | ||
}} | }} | ||
If you leave the image blank, the template will return a default image: | |||
{{FNSTopStoriesCrop|UFOPgrayseal-square.png}} | |||
==Fit Image to width instead of height== | ==Fit Image to width instead of height== |
Revision as of 09:30, 3 April 2015
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=The Ghost Ship of Shadows |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}}. }}
The Ghost Ship of Shadows
|
If you leave the image blank, the template will return a default image:
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 |bywidth after the image name.
Fit to height
The Taking of Deep Space 10
|
Fit to width
{{Episode |NAME=The Taking of Deep Space 10 |SHIP=Garuda |STARDATE=239110-239111 |IMAGE=Nikael.jpg|bywidth |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. }}
The Taking of Deep Space 10
|
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=The Ghost Ship of Shadows |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}}. }}
The Ghost Ship of Shadows
|
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=The Ghost Ship of Shadows |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=The Taking of Deep Space 10 |SHIP=Garuda |STARDATE=239110-239111 |IMAGE=Nikael.jpg|bywidth |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. }}
The Ghost Ship of Shadows
|
The Taking of Deep Space 10
|
Example of a final TV guide like listing for a ship's missions
Questions/Comments/Suggests
Let me know. ♫ Rich ▪ talk ▪ 118Wiki Administrator