Template:Event/doc
Jump to navigation
Jump to search
Event can be used to diplay description, trigger, trigger condition and options of an 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 |
| event_id | Event identification code as it appears in the file to serve as an anchor | empty | optional |
| event_name | Title of the event. | empty | required |
| cond_event_text | Set to "yes" if the event has multiple descriptions available for use. | empty | optional |
| event_text | In-game description text of the event. If multiple descriptions exist then use only the first one. | empty | optional, but desired |
| fire_only_once | As in the script code - set to "yes" if the event happens only once during a campaign. | empty | optional |
| 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 | |
| trigger | Trigger conditions of the event. |
|
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 |
| after | Effects that happen after selecting any option. | empty | optional |
| 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
{{Event
|version =
|event_id =
|event_name =
|event_text = <!-- 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
id
event_name
|
|
This infobox may contain outdated information that is inaccurate for the current version of the game. The last version it was verified as up to date was for version. |
event_text
| Conditions
trigger |
Encounter Rewards
mtth |
option_text effect | |