Template:Option/doc

Revision as of 06:33, 16 July 2017 by Template>Heil! (migrate edits from HOI4 {{option}} template/doc (revision 17108 by Lillebror)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page for Template:Option.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.


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.
  • None
required
trigger Conditions - if applicable - of the option.

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

Usage

{{Option
|option_text = 
|effect = 
}}

For events with conditional options:

{{Option
|trigger = <!-- required -->
|option_text =
|effect =
}}