Template:Mission
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:
Our Right to Sardinia
![]() |
Please help with verifying or updating this infobox. It was last verified for version 1.13. |
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.
![]() Triggers
| |
Acquisition conditions
The province owner of Sassari (127) is neither an ally nor a vassal of Aragon. |
Acquisition chance
Base weight: 3000
|
Success conditions
Aragon owns Sassari (127) and Cagliari (2986). |
Failure conditions
Aragon is a subject nation. |
![]() Effects
| |
Reward
|
Temporary effects
Aragon gains claims on Sassari (127) and Cagliari (2986). |