Option can be used to diplay the options of events in {{event}}
infoboxes.
Parameter[编辑源代码]
Parameter | Description | Default | Status |
---|---|---|---|
option_text | The text of the option. | empty | required |
effect | Effects of the option. |
|
required |
trigger | Conditions - if applicable - of the option. If set to ‘always’ then it displays “ Always enabled:” else “ Enabled if:” followed by the specified trigger. |
empty | optional |
1 | If set to 'end' the horizontal rule at the end of a conditional option is disabled. | empty | optional |
Usage[编辑源代码]
{{Option |option_text = |effect = }}
For events with conditional options:
{{Option |trigger = <!-- required --> |option_text = |effect = }}