Template:MissionChain
Thaumanovic (Talk | contribs) (→Template Usage: Instructions to not supply argument instead of leaving blank.) |
Senatorhung (Talk | contribs) m |
||
Line 1: | Line 1: | ||
{| style="width: 100%; background: #27406f;" | {| style="width: 100%; background: #27406f;" | ||
- | ! style="width: | + | ! style="width: 200px; padding: 2px;" | Previous Mission |
! style="text-align: center;" | Current Mission | ! style="text-align: center;" | Current Mission | ||
- | ! style="width: | + | ! style="width: 200px; padding: 2px; text-align: right;" | Next Mission |
|- | |- | ||
- | | style="width: | + | | style="width: 200px; padding: 2px;" | {{{ prevmission | None}}} |
| style="text-align: center" | <strong>{{PAGENAME}}</strong> | | style="text-align: center" | <strong>{{PAGENAME}}</strong> | ||
- | | style="width: | + | | style="width: 200px; padding: 2px; text-align: right;" | {{{ nextmission | None}}} |
|} | |} | ||
<noinclude> | <noinclude> |
Revision as of 01:08, 6 March 2017
Previous Mission | Current Mission | Next Mission |
---|---|---|
None | MissionChain | None |
This template is for use on a mission's page to clearly show its relative position in a mission chain. It automatically inherits the using page's name, so should only be used on mission info pages.
Template Usage
Copy and paste the syntax below to easily implement this template on a page. Insert wiki links to the appropriate missions on the right side of each of the equal signs.
Note that when no mission is present on either side of the current mission, you should not supply the argument; this will cause the template to use the default value of "None".
{{MissionChain |prevmission= |nextmission= }}
Example Usage
Using:
{{MissionChain |prevmission=[[The Terra Project]] |nextmission=[[The Rift Project]] }}
Will Produce:
Previous Mission | {{{ missionchain }}} (#? of ?) | Next Mission |
---|---|---|
The Terra Project | MissionChain | The Rift Project |
Note that the "Current Mission" field inherits the name of the page using the template, and is thus wrong in this example.