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

Template:Option

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

Examples

Selected and non-default

{{option|d=|Selected and non-default|Description of the option}}


Deselected, default with description hidden

{{option|s=|h=|Deselected, default with description hidden|Description of the option}}


Geronimo
Doubling

Parameters

Id
Name
Default value
Example
Description
1
value
Option
{{option|Value}}
Required: specify a text value.
2
description
​
{{option|Value|Description}}
Optional: specify a text description.
s
selected
n/a
{{option|s=}}
Optional: hide checkbox color.
d
default
n/a
{{option|d=}}
Optional: hide default marker.
i
indent
0
{{option|i=1}}
Optional: indent the option in rem units
(for options that are sub-options of others).
h
hide
x
{{option|h=}}
Optional: hide the description.
st
state
null
{{option|st=collapsed}}
Optional: collapse description by default.