Template:MissionChain
Senatorhung (Talk | contribs) m |
Senatorhung (Talk | contribs) m (got rid of the note regarding leaving out the argument .. better to hardcode None in ... in case the chain extends further) |
||
Line 4: | Line 4: | ||
! style="width: 200px; padding: 2px; text-align: right;" | Next Mission | ! style="width: 200px; padding: 2px; text-align: right;" | Next Mission | ||
|- | |- | ||
- | | style="width: 200px; padding: 2px;" | {{{ prevmission | + | | style="width: 200px; padding: 2px;" | {{{ prevmission }}} |
| style="text-align: center" | <strong>{{PAGENAME}}</strong> | | style="text-align: center" | <strong>{{PAGENAME}}</strong> | ||
- | | style="width: 200px; padding: 2px; text-align: right;" | {{{ nextmission | + | | style="width: 200px; padding: 2px; text-align: right;" | {{{ nextmission }}} |
|} | |} | ||
<noinclude> | <noinclude> | ||
Line 14: | Line 14: | ||
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. | 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. | ||
- | |||
<pre> | <pre> | ||
{{MissionChain | {{MissionChain |
Revision as of 01:19, 6 March 2017
Previous Mission | Current Mission | Next Mission |
---|---|---|
{{{ prevmission }}} | MissionChain | {{{ nextmission }}} |
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.
{{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.