Difference between revisions of "Template:Option"

From Hearts of Iron 4 Wiki
Jump to navigation Jump to search
m (Less contrast, but better for longer lines)
m (Protected "Template:Option": High traffic page ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
(No difference)

Latest revision as of 22:26, 19 September 2017

Event button.png
  • None
[view] [edit]Template-info.png Template documentation

Option can be used to diplay the options of events in {{event}} infoboxes.


Parameter Description Default Status
option_text The text of the option. empty required
effect Effects of the option.
  • None
trigger Conditions - if applicable - of the option.

If set to ‘always’ then it displays “Event trigger.pngAlways enabled:” else “Event trigger.pngEnabled 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


|option_text = 
|effect = 

For events with conditional options:

|option_text =
|trigger = <!-- required -->
|effect =
|end <!-- if has a trigger and is placed last -->