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

Template:Player: Difference between revisions

From Board Game Arena
Jump to navigation Jump to search
(div ⇨ span)
mNo edit summary
Line 15: Line 15:
|-
|-
|<code>size</code>
|<code>size</code>
|<code>1.5</code>
|<code>2</code>
|<code><nowiki>{{player|size=2}}</nowiki></code>
|<code><nowiki>{{player|size=1.5}}</nowiki></code>
|style="text-align:center;"|{{player|size=2}}
|style="text-align:center;"|{{player|size=1.5}}
|<b><i>Optional:</i></b> specify the size in rem units.
|<b><i>Optional:</i></b> specify the size in rem units.
|-
|-

Revision as of 22:33, 12 October 2023

👤 

Available parameters
Parameter Default value Example Result Description
null &nbsp; (white space) {{player|=2}} 👤2 Optional: specify the number of players e.g. 2.
size 2 {{player|size=1.5}} 👤  Optional: specify the size in rem units.
outlineColour #fffA (translucent white) {{player|outlineColour=green}} 👤  Optional: specify the outline colour as a CSS colour.