Template:Mission/doc

From Europa Universalis 4 Wiki
Jump to navigation Jump to search
This is the documentation page for Template:Mission.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.


Mission can be used to diplay description, conditions, Acquisition chance and reward of a mission in a compact infobox.

This is for old-style (pre-1.25) missions.

Parameter

Parameter Description Default Status
version To specify the major patch for which the event was written or updated. empty required
collapse Whether to collapse the event. If set to ‘yes’ the content will be collapsed.

(Please use collapsed content on country pages.)

empty optional
mission_name Title of the event. empty required
mission_text Ingame description text of the event. empty optional, but desired
category For the category of the mission. empty optional, but desired
type For the type of the mission. empty optional
target If target provinces are defined. empty optional
acquisition Acquisition condition of the mission. empty required
chance Acquisition chance of this mission. empty required
success Success conditions empty required
failure Failure conditions None optional
temp Temporary effects None optional
reward Reward for completing the mission. empty required
comment Comment empty optional

Usage

{{Mission
|mission_name=
|mission_text= <!-- optional, but desired -->
|version =
|category= <!-- optional - adds according icon in heading -->
|target=<!-- optional -->
|acquisition=
|chance=
|success=
|failure=
|reward=
|temp=
|comment=  <!-- optional -->
}}

Examples

The following code

{{Mission
|version = 1.13
|mission_name=Our Right to Sardinia
|mission_text=The Holy Father granted James the Just the Kingdom of Sardinia in 1297. We have never forgotten this generous gift and it is time to claim what is ours.
|category=Military
|acquisition={{flag|Aragon}}:
*is ''not'' a [[subject nation]].
*does not own Sassari (127).
*does not own Cagliari (2986).
*does not have the modifier ''“Mediterranean Ambition”''.
The province owner of Sassari (127) is neither an [[ally]] nor a [[vassal]] of Aragon.<br>
The province owner of Cagliari (2986) is neither an ally nor a vassal of Aragon.<br>
This mission can be completed successfully only once. 
|failure=Aragon is a subject nation.
|success=Aragon owns Sassari (127) and Cagliari (2986).
|chance=Base weight: 3000
*Aragon has a [[ruler]] with a [[military skill]] of at least 4: {{green|×2}}
|temp=Aragon gains [[claims]] on Sassari (127) and Cagliari (2986).
|reward={{flag|Aragon}} gets the modifier ''“Mediterranean Ambition”'' for 10 years with the following effect:
*{{icon|trade efficiency|24px}}{{green|+15%}} trade efficiency.
}}

will display:

Military power.png Our Right to Sardinia


The Holy Father granted James the Just the Kingdom of Sardinia in 1297. We have never forgotten this generous gift and it is time to claim what is ours.


 
Mission trigger.png
Triggers
Acquisition conditions

Flag of Aragon Aragon:

  • is not a subject nation.
  • does not own Sassari (127).
  • does not own Cagliari (2986).
  • does not have the modifier “Mediterranean Ambition”.

The province owner of Sassari (127) is neither an ally nor a vassal of Aragon.
The province owner of Cagliari (2986) is neither an ally nor a vassal of Aragon.
This mission can be completed successfully only once.

Acquisition chance

Base weight: 3000

Success conditions

Aragon owns Sassari (127) and Cagliari (2986).

Failure conditions

Aragon is a subject nation.


Mission effect.png
Effects
Reward

Flag of Aragon Aragon gets the modifier “Mediterranean Ambition” for 10 years with the following effect:

  • Trade efficiency.png+15% trade efficiency.
Temporary effects

Aragon gains claims on Sassari (127) and Cagliari (2986).