Template:Option: Difference between revisions
Jump to navigation
Jump to search
m Removed protection from "Template:Option" |
mNo edit summary |
||
| Line 3: | Line 3: | ||
{{{trigger}}}}} | {{{trigger}}}}} | ||
<div style="margin-left: 20px;"> | <div style="margin-left: 20px;"> | ||
<div style="color: #FFCD51; width: 460px"><div class="option_button" style="z-index: 1;">[[File:event_button_on.png|460px|link=]]</div><div class="option_title" style=" z-index: 2; position: relative; text-align: | <div style="color: #FFCD51; width: 460px"><div class="option_button" style="z-index: 1;">[[File:event_button_on.png|460px|link=]]</div><div class="option_title" style=" z-index: 2; position: relative; text-align: left; margin: -26px 0px 10px;">'''{{{option_text}}}'''</div></div> | ||
{{{effect|*None}}} | {{{effect|*None}}} | ||
{{#ifeq:{{{1}}}|end||----}}</div> | {{#ifeq:{{{1}}}|end||----}}</div> | ||
Revision as of 08:20, 26 January 2020
{{{option_text}}}
- None
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. |
|
required |
| trigger | Conditions - if applicable - of the option. If set to ‘always’ then it displays “File:Event trigger.png Always enabled:” else “File:Event trigger.png Enabled 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 =
}}