Difference between revisions of "Template:Mission"
m (cat) |
(try 2) |
||
Line 1: | Line 1: | ||
{|- cellpadding="8" style="background:#000000;" align="center" | {|- cellpadding="8" style="background:#000000;" align="center" | ||
− | | {{{ | + | | {{ #if: {{{previous|}}} | {{PreviousMission|previous={{{previous}}} }} | First Mission }} |
| [[{{{campaign}}}|Campaign Walkthrough]] | | [[{{{campaign}}}|Campaign Walkthrough]] | ||
− | | {{{ | + | | {{ #if: {{{next|}}} | {{NextMission|next={{{next}}} }} | Last Mission }} |
|- | |- | ||
− | |||
<noinclude> | <noinclude> |
Revision as of 00:38, 9 September 2007
Credits
All credit to hawke_ on #osm for writing these templates, Template:NextMission and Template:PreviousMission being the others.
Todo
This needs fixed to deal with mission loops such as the Argonautica with its 2 next missions. These templates can only handle 1 next mission.
Purpose
This collection of templates are to be used as campaign headers for mission walkthroughs.
Usage
Add this to the first mission of a campaign - {{Mission|next=The Place of Chariots|first=Surrender, Belisarius|campaign=Campaign Walkthrough}}
, substituing the relevent parameters.
The last mission should have {{Mission|last=Apocalypse|previous=Clash of the Titans II|campaign=Campaign Walkthrough}}
at the top.
Other missions get {{Mission|next=The Romans Blunder|previous=Surrender, Belisarius|campaign=Campaign Walkthrough}}
for instance.
The Campaign parameter is the name of the campaign's wiki page.
First Mission | [[{{{campaign}}}|Campaign Walkthrough]] | Last Mission |