Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Mission Objective"

From Paragon Wiki Archive
Jump to: navigation, search
m (updating cat, tweaking docs)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>'''Mission Objective(s)'''
 
<includeonly>'''Mission Objective(s)'''
 
+
{{#if:{{{Map|}}}|<div style="float: right; font-size: 75%; margin-left: 2em;">Map: {{{Map}}}</div>}}
 
''{{{Entrance| }}} ''
 
''{{{Entrance| }}} ''
* {{{Primary}}} {{if|test={{{Secondary}}}|then=
+
* {{{Primary}}} {{#if:{{{Secondary|}}}|
 
** {{{Secondary}}} }}
 
** {{{Secondary}}} }}
 
{{{Additional| }}}
 
{{{Additional| }}}
''{{{Completion| }}} ''</includeonly><noinclude>
+
''{{{Completion| }}} ''</includeonly><noinclude>{{Documentation}}</noinclude>
{{Documentation|content=
+
Format: '''<nowiki>{{Mission Objective|Entrance=|Primary=|Secondary=|Additional=|Completion=}}</nowiki>
+
* '''Entrance''' - Text in the popup when you enter a mission
+
* '''Primary''' - Primary objective, first line in the compass box
+
* '''Secondary''' - Secondary Objective, second line in the compass box
+
* '''Additional''' - Changes to the objective.  This section must be built as a list.  Example:
+
<pre>Additional=** Objective change 1
+
** Objective Change 2
+
** Objective Change 3</pre>
+
* '''Completion''' - Text when you complete the mission objective.  This shows up in the chat box as a system text, or in the Mission Box that pops up when you select the mission icon in the compass box or the ''more'' button in the mission drop down menu.
+
[[Category:Mission Templates]]}}
+
</noinclude>
+

Latest revision as of 13:51, 7 September 2012

[edit] [purge] Documentation

Usage

Usage, suitable for copy-and-paste:

{{Mission Objective
|Map=
|Entrance=
|Primary=
|Secondary=
|Additional=
|Completion=
}}

Parameters:

  • Map - The map as identified by /whereami (optional)
  • Entrance - Text in the popup when you enter a mission
  • Primary - Primary objective, first line in the compass box
  • Secondary - Secondary Objective, second line in the compass box
  • Additional - Changes to the objective. This section must be built as a list. (Optional.) Example:
Additional=** Objective change 1 
** Objective Change 2
** Objective Change 3
  • Completion - Text when you complete the mission objective.  This shows up in the chat box as a system text, or in the Mission Box that pops up when you select the mission icon in the compass box or the more button in the mission drop down menu.

Example

Given this as input:

{{Mission Objective
|Map=Map
|Entrance=Entrance
|Primary=Primary
|Secondary=Secondary
|Additional=** Additional 1
** Additional 2
|Completion=Completion
}}

Gives this as output:

Mission Objective(s)

Map: Map

Entrance

  • Primary
    • Secondary
    • Additional 1
    • Additional 2

Completion

See also