Template:Missions: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
m (Protected "Template:Missions" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|cellpadding=3
<includeonly>{|cellpadding=3
|{{#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|}}} – USS {{{SHIP|}}}]]'''</font>
*'''''{{#if:{{{NUMBER|}}}|{{{NUMBER|}}}:&nbsp;|}}Stardate {{{STARDATE|}}}'''''
*'''''{{#if:{{{NUMBER|}}}|{{{NUMBER|}}}:&nbsp;|}}Stardate {{{STARDATE|}}}'''''
**<font style="text-align: justified; color: blue">{{{BLURB|}}}</font>
**<div align="justify">{{{BLURB|}}}</div>
|}</includeonly><noinclude>
|}</includeonly><noinclude>
This template will create TV Guide-like listings for Tarsii's Bio wikipage.  
A modification of [[Template:Episode]] that adds the ship's name to the episode title and changes the blurb text alignment to "justify".


===How to Use===
===How to Use===
<pre style="white-space:pre-wrap">
<pre style="white-space:pre-wrap">
{{Episode
{{Missions
|NAME=Name of episode
|NAME=Name of episode/mission
|SHIP=Ship name without the USS
|SHIP=Ship name without the USS
|STARDATE=Stardate(s) of episode
|STARDATE=Stardate(s) of episode
Line 24: Line 24:
*[[Ghost Ship (Garuda)]]
*[[Ghost Ship (Garuda)]]
*[[Quarantine (Garuda)]]
*[[Quarantine (Garuda)]]
==Example==
==Example==
<pre style="white-space:pre-wrap">
<pre style="white-space:pre-wrap">
{{Episode
{{Missions
|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}}.
}}
</pre>
 
{{Episode
|NAME=Ghost Ship
|NAME=Ghost Ship
|SHIP=Garuda
|SHIP=Garuda
Line 42: Line 34:
|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:
<pre style="white-space:pre-wrap">
{{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}}.
}}
</pre>
{{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}}.
}}
==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===
{{Episode
|NAME=Quarantine
|SHIP=Garuda
|STARDATE=239110-239111
|IMAGE=Nikael.jpg
|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.
}}
===Fit to width===
<pre style="white-space:pre-wrap">
{{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.
}}
</pre>
</pre>


{{Episode
{{Missions
|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.
}}
 
==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.)
<pre style="white-space:pre-wrap">
{{Episode
|NAME=Ghost Ship
|NAME=Ghost Ship
|SHIP=Garuda
|SHIP=Garuda
|NUMBER=Episode 6
|STARDATE=239108-239109
|STARDATE=239108-239109
|IMAGE=Oracleclass.png
|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}}.
|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}}.
}}
}}
</pre>


{{Episode
How it would look just using [[Template: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}}.
}}
==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.
<pre style="white-space:pre-wrap">
{{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.
}}
</pre>


{{Episode
{{Episode
Line 142: Line 53:
|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}}.
}}
}}
{{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.
}}
==Example of a final TV guide like listing for a ship's missions==
*[[Garuda Mission History]]
*[[Victory Mission History]]


==Questions/Comments/Suggests==
Let me know. [[User:Rich|'''♫ Rich''']] ▪ [[User talk:Rich|<small>talk</small>]] ▪ [[118Wiki:Administrators|<small>118Wiki Administrator</small>]]
[[Category:Templates]]
[[Category:Templates]]
[[Category:Episodes|*]]
[[Category:Episodes|*]]
</noinclude>
</noinclude>

Latest revision as of 20:26, 30 April 2016

A modification of Template:Episode that adds the ship's name to the episode title and changes the blurb text alignment to "justify".

How to Use

{{Missions
|NAME=Name of episode/mission
|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

{{Missions
|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}}.
}}
Oracleclass.png
Ghost Ship – USS Garuda
  • Stardate 239108-239109
    • 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.

How it would look just using Template:Episode:

Oracleclass.png
Ghost Ship
  • Stardate 239108-239109
    • 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.