Template:Mission Objective: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>StarGeek
mNo edit summary
mNo edit summary
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''Mission Objective(s)'''
<includeonly>'''Mission Objective(s)'''
 
{{#if:{{{Map|}}}|[[File:Map_{{{Map}}}.png|right|thumb|200px|{{center|Map: {{{Map}}} }}]] }}
''{{{Entrance| }}} ''
''{{{Entrance| }}} ''
* {{{Primary}}}
* {{{Primary}}} {{#if:{{{Secondary|}}}|
** {{{Secondary}}}
** {{{Secondary}}} }}
{{{Additional| }}}
{{{Additional| }}}
''{{{Completion| }}} ''<noinclude>
''{{{Completion| }}} ''</includeonly><noinclude>{{Documentation}}</noinclude>
 
----
 
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>Secondary=** 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.
 
</noinclude>

Latest revision as of 22:03, 2 November 2020

[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)

Entrance

  • Primary
    • Secondary
    • Additional 1
    • Additional 2

Completion

See also