Template:MissionChain

m
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 | None}}}
+
| 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 | None}}}
+
| 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.
-
Note that when no mission is present on either side of the current mission, you should <strong>not</strong> supply the argument; this will cause the template to use the default value of "None".
 
<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.

Looking for something?

Use the form below to search the wiki:

 

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!