This is a documentation for Board Game Arena: play board games online !

Template:Option

From Board Game Arena
Revision as of 16:23, 27 February 2024 by Sammy McSam (talk | contribs)
Jump to navigation Jump to search
Option

Example

Selected and description
Option description
Selected and default
Deselected, default and description
Sub-option description

{{option|s=|dd=|Selected and description|Option description|

 {{option|s=|df=|Selected and default||

  {{option|ds=|df=|dd=|Deselected, default and description|Sub-option description}}

 }}

}}

Parameters

Id
Name
Default value
Example
Description
1
value
Option
{{option|Value}}
Required: specify a text value.
2
description
null
{{option|Value|Description}}
Optional: specify a text description.
3
sub-option
null
{{option|Value|Description|Sub-option}}
Optional: display a sub-option.
s
selected
n/a
{{option|s=}}
Optional: display selected checkbox.
ds
deselected
n/a
{{option|ds=}}
Optional: display deselected checkbox.
df
default
n/a
{{option|df=}}
Optional: display default marker.
dd
display description
n/a
{{option|dd=}}
Optional: display description.