Template:MissionChain
Thaumanovic (Talk | contribs) m (Test changes. May have to add another row to the layout.) |
Senatorhung (Talk | contribs) m |
||
(5 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
{| style="width: 932px; background: #27406f;" | {| style="width: 932px; background: #27406f;" | ||
! style="width: 200px; padding: 2px;" | Previous Mission | ! style="width: 200px; padding: 2px;" | Previous Mission | ||
- | ! style="text-align: center;" | {{{ missionchain }}} | + | ! 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 17: | Line 17: | ||
{{MissionChain | {{MissionChain | ||
|missionchain= | |missionchain= | ||
+ | |current= | ||
+ | |total= | ||
|prevmission= | |prevmission= | ||
|nextmission= | |nextmission= | ||
Line 26: | Line 28: | ||
<pre> | <pre> | ||
{{MissionChain | {{MissionChain | ||
- | |missionchain=[[Mission_Chains#Invincible_Planet_Chain|Invincible Planet Chain]] | + | |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 33: | Line 37: | ||
Will Produce:<br /> | Will Produce:<br /> | ||
{{MissionChain | {{MissionChain | ||
- | |missionchain=[[Mission_Chains#Invincible_Planet_Chain|Invincible Planet Chain]] | + | |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]] | ||
}} | }} | ||
+ | ''Note that the "Current Mission" field inherits the name of the page using the template, and is thus wrong in this example.'' | ||
</noinclude> | </noinclude> |
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.