Template:Option/doc

这是Template:Option的模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。


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