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

Template:Car

From Board Game Arena
Jump to navigation Jump to search

Parameters

Id
Name
Default value
Example
Description
1
text
​
|12
Optional: specify a text value e.g. 12.
c
color
grey
|c=green
Optional: specify a background color as a CSS color e.g. green.
w
white text
n
|w=
Optional: specify white text.
b
border
2
|b=0
Optional: specify the border width in px units.
bc
borderColor
white
|bc=green
Optional: specify a the border color as a CSS color e.g. green.
width
width
50
|width=80
Optional: specify the width in px units.

Examples

Linkage

66 {{car|6|b=0|c=blue|w=}}

66 {{car|6|b=0|c=white}}

66 {{car|6|b=0|c=red}}

66 {{car|6|b=0|c=yellow}}

Ticket to Ride

1414 {{car|14|c=linear-gradient(to right,#d77,#fdf,#77d,#7d7,#d70,#dd7)}}

1212 {{car|12|c=#fdf}}

1212 {{car|12|c=#44f|w=}}

1212 {{car|12|c=#f70}}

1212 {{car|12|c=#eee}}

1212 {{car|12|c=#7f7}}

1212 {{car|12|c=#ff7}}

1212 {{car|12|c=#444|w=}}

1212 {{car|12|c=#f77}}