Template:MissionChain
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) |
Senatorhung (Talk | contribs) m |
||
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;" | | + | ! style="text-align: center;" | Mission Chain |
! 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>{{{ missionchain }}}</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. |
== Template Usage == | == Template Usage == | ||
Line 16: | Line 16: | ||
<pre> | <pre> | ||
{{MissionChain | {{MissionChain | ||
+ | |missionchain= | ||
|prevmission= | |prevmission= | ||
|nextmission= | |nextmission= | ||
Line 25: | Line 26: | ||
<pre> | <pre> | ||
{{MissionChain | {{MissionChain | ||
+ | |missionchain=[[Mission_Chains#Invincible_Planet_Chain]] | ||
|prevmission=[[The Terra Project]] | |prevmission=[[The Terra Project]] | ||
|nextmission=[[The Rift Project]] | |nextmission=[[The Rift Project]] | ||
Line 31: | Line 33: | ||
Will Produce:<br /> | Will Produce:<br /> | ||
{{MissionChain | {{MissionChain | ||
+ | |missionchain=[[Mission_Chains#Invincible_Planet_Chain]] | ||
|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 | Mission Chain | 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.
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 |missionchain= |prevmission= |nextmission= }}
Example Usage
Using:
{{MissionChain |missionchain=[[Mission_Chains#Invincible_Planet_Chain]] |prevmission=[[The Terra Project]] |nextmission=[[The Rift Project]] }}
Will Produce:
Previous Mission | Mission_Chains#Invincible_Planet_Chain (#? 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.