Template:Episode: Difference between revisions

added default image if left blank
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|}}}:&nbsp;|}}Stardate {{{STARDATE|}}}'''''
*'''''{{#if:{{{NUMBER|}}}|{{{NUMBER|}}}:&nbsp;|}}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==