Template:Mission Objective: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
No edit summary
mNo edit summary
 
(2 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>}}
{{#if:{{{Map|}}}|[[File:Map_{{{Map}}}.png|right|thumb|200px|{{center|Map: {{{Map}}} }}]] }}
''{{{Entrance| }}} ''
''{{{Entrance| }}} ''
* {{{Primary}}} {{#if:{{{Secondary|}}}|
* {{{Primary}}} {{#if:{{{Secondary|}}}|
** {{{Secondary}}} }}
** {{{Secondary}}} }}
{{{Additional| }}}
{{{Additional| }}}
''{{{Completion| }}} ''</includeonly><noinclude>
''{{{Completion| }}} ''</includeonly><noinclude>{{Documentation}}</noinclude>
{{Documentation|content=
 
Usage, suitable for copy-and-paste:
<pre><nowiki>{{Mission Objective
|Map=
|Entrance=
|Primary=
|Secondary=
|Additional=
|Completion=
}}</nowiki></pre>
 
Parameters:
* '''Map''' - The map as identified by {{slashcommand|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:
<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.
 
== Example ==
 
Given this as input:
<pre><nowiki>{{Mission Objective
|Map=Map
|Entrance=Entrance
|Primary=Primary
|Secondary=Secondary
|Additional=** Additional 1
** Additional 2
|Completion=Completion
}}</nowiki></pre>
 
Gives this as output:
 
{{Mission Objective
|Map=Map
|Entrance=Entrance
|Primary=Primary
|Secondary=Secondary
|Additional=** Additional 1
** Additional 2
|Completion=Completion
}}
 
[[Category:Mission Templates]]}}
</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