Template:Option

Pokewiz讨论 | 贡献2020年9月8日 (二) 01:34的版本 (merge from offical wiki)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
Event button.png
{{{option_text}}}
  • None
[阅读] [编辑]Template-info.png 模板文档


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 “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

Usage

{{Option
|option_text = 
|effect = 
}}

For events with conditional options:

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