Template:Option: Difference between revisions

From [N8]
Jump to navigation Jump to search
Zero (talk | contribs)
m Protected "Template:Option" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
m Removed protection from "Template:Option"
(No difference)

Revision as of 01:33, 26 January 2020

{{{option_text}}}
  • None
[view] [edit] Template documentation


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 =
}}