Template:Mission

[阅读] [编辑]Template-info.png 模板文档


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

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
触发
触发任务条件

 阿拉贡:

  • 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.

触发任务机会

Base weight: 3000

成功条件

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

失败条件

Aragon is a subject nation.


Mission effect.png
效果
奖励

 阿拉贡 gets the modifier “Mediterranean Ambition” for 10 years with the following effect:

  • Trade efficiency.png+15% trade efficiency.
临时效果

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