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 |
||
(14 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | {| style="width: | + | {| style="width: 932px; background: #27406f;" |
! style="width: 200px; padding: 2px;" | Previous Mission | ! style="width: 200px; padding: 2px;" | Previous Mission | ||
- | ! style="text-align: center;" | | + | ! style="text-align: center;" | {{{ missionchain }}} <span style="font-size: 0.94em;">(#{{{current|?}}} of {{{total|?}}})</span> |
! style="width: 200px; padding: 2px; text-align: right;" | Next Mission | ! style="width: 200px; padding: 2px; text-align: right;" | Next Mission | ||
|- | |- | ||
Line 9: | Line 9: | ||
|} | |} | ||
<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= | ||
+ | |current= | ||
+ | |total= | ||
|prevmission= | |prevmission= | ||
|nextmission= | |nextmission= | ||
Line 25: | Line 28: | ||
<pre> | <pre> | ||
{{MissionChain | {{MissionChain | ||
+ | |missionchain=[[Mission_Chains#Invincible_Planet_Chain|Invincible Planet Chain]] | ||
+ | |current=2 | ||
+ | |total=3 | ||
|prevmission=[[The Terra Project]] | |prevmission=[[The Terra Project]] | ||
|nextmission=[[The Rift Project]] | |nextmission=[[The Rift Project]] | ||
Line 31: | Line 37: | ||
Will Produce:<br /> | Will Produce:<br /> | ||
{{MissionChain | {{MissionChain | ||
+ | |missionchain=[[Mission_Chains#Invincible_Planet_Chain|Invincible Planet Chain]] | ||
+ | |current=2 | ||
+ | |total=3 | ||
|prevmission=[[The Terra Project]] | |prevmission=[[The Terra Project]] | ||
|nextmission=[[The Rift Project]] | |nextmission=[[The Rift Project]] |
Current revision as of 08:20, 7 March 2017
Previous Mission | {{{ missionchain }}} (#? of ?) | 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= |current= |total= |prevmission= |nextmission= }}
Example Usage
Using:
{{MissionChain |missionchain=[[Mission_Chains#Invincible_Planet_Chain|Invincible Planet Chain]] |current=2 |total=3 |prevmission=[[The Terra Project]] |nextmission=[[The Rift Project]] }}
Will Produce:
Previous Mission | Invincible Planet Chain (#2 of 3) | 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.