Template:Province event

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


Province event can be used to diplay description, trigger, trigger condition and options of a province event 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
id Event identification code as it appears in the file to serve as an anchor empty required
header level of the heading h3 optional
title Title of the event. empty required
desc Ingame description text of the event. empty One of these two is required
cond_desc Ingame descriptions of the event, with their attached conditions. The text itself should be set in italics. empty
mtth For the base weight and its modifiers of MTTH-events. empty One of theses two is required.
triggered only To specify the trigger of 'triggered only'-events. empty
baseweight For the base weight of pulse events empty optional
modifiers For modifiers of MTTH or base weight empty optional
trigger Trigger conditions of the event. None optional
immediate The immediate effects of the event. empty optional
option conditions If set to ‘yes’ the section heading 'Option conditions' for events with conditional options is displayed. empty optional
options The possible effects of the event. Please use {{option}}. 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

Usage

{{Province event
|version = 
|title = 
|desc = <!-- optional, but desired -->
|trigger = 
|mtth    = <!-- for Mtth events -->
|triggered only = <!-- for triggered only events -->
|immediate = <!-- optional for immediate effects -->
|options = <!-- options use {{option}} template -->
}}

Note: Please use either “mtth”-parameter or “triggered only”-parameter.

Examples

The following code

{{Province event
|version = 1.23
|id = flavor_sul.1
|title = Rise of Sulu
|desc = The islands in the Sea of Sulu have been inhabited for centuries, divided into smaller kingdoms. These lands are now united under their first Sultan. Known as a respected scholar of Islam, the Sultan has strengthened both political and religious institutions in the islands, which hold one of the oldest mosques in the region. Through inter-marriage, charisma and innovative diplomacy, they are now united by a common code of laws. The world has seen the rise of the Sultanate of Sulu.
|trigger = This event fires only once.<br />
The province:
* is Jesselton (637).
{{flag|Sulu}} does ''not'' exist.<br />
Sulu (651) is open for colonization.<br />
It is at least 1450.
|mtth = 120 months
|options = 
{{Option
|option_text = Let us hope the Sultan is reasonable, or the world may see its fall.
|effect = {{flag|Sulu}} is founded on Sulu (651).<br />
Each country in the [[Moluccas]] gets the event ‘[[Sulu#flavor_sul.2|Rise of Sulu]]’.
}}
}}

will display:

id

Msg event.pngProvince icon.pngRise of Sulu

----

The islands in the Sea of Sulu have been inhabited for centuries, divided into smaller kingdoms. These lands are now united under their first Sultan. Known as a respected scholar of Islam, the Sultan has strengthened both political and religious institutions in the islands, which hold one of the oldest mosques in the region. Through inter-marriage, charisma and innovative diplomacy, they are now united by a common code of laws. The world has seen the rise of the Sultanate of Sulu.


 
触发条件

This event fires only once.
The province:

  • is Jesselton (637).

 苏禄 does not exist.
Sulu (651) is open for colonization.
It is at least 1450.

平均发生时间

120 months


Event button 547.png
Let us hope the Sultan is reasonable, or the world may see its fall.

 苏禄 is founded on Sulu (651).
Each country in the Moluccas gets the event ‘Rise of Sulu’.