Template:MissionChain
Senatorhung (Talk | contribs) m |
Senatorhung (Talk | contribs) m (Undo revision 45655 by Senatorhung (Talk)) |
||
Line 1: | Line 1: | ||
{| style="width: 100%; background: #27406f;" | {| style="width: 100%; background: #27406f;" | ||
! style="width: 200px; padding: 2px;" | Previous Mission | ! style="width: 200px; padding: 2px;" | Previous Mission | ||
- | ! style="text-align: center;" | Mission | + | ! style="text-align: center;" | Current Mission |
! 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>{{ | + | | 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> | ||
- | This template is for use on a mission's page to clearly show its relative position in a mission chain. | + | 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 == | == Template Usage == | ||
Line 16: | Line 16: | ||
<pre> | <pre> | ||
{{MissionChain | {{MissionChain | ||
- | |||
|prevmission= | |prevmission= | ||
|nextmission= | |nextmission= | ||
Line 26: | Line 25: | ||
<pre> | <pre> | ||
{{MissionChain | {{MissionChain | ||
- | |||
|prevmission=[[The Terra Project]] | |prevmission=[[The Terra Project]] | ||
|nextmission=[[The Rift Project]] | |nextmission=[[The Rift Project]] | ||
Line 33: | Line 31: | ||
Will Produce:<br /> | Will Produce:<br /> | ||
{{MissionChain | {{MissionChain | ||
- | |||
|prevmission=[[The Terra Project]] | |prevmission=[[The Terra Project]] | ||
|nextmission=[[The Rift Project]] | |nextmission=[[The Rift Project]] |
Revision as of 23: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.