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

Template:Hex

From Board Game Arena
Jump to navigation Jump to search

Parameters

Id
Name
Default
Example
Result
Description
1
Image
empty
{{hex|{{TaluvaClearing}}}}
Clearing
Optional: Template:GameIcon image.
r
Rotation
0
{{hex|{{TaluvaClearing}}|r=1}}
Clearing
Optional: rotation in units of 30° (0-11).
f
Flat-top
pointed-top
{{hex|f=}}
Optional: transform to a flat-top hex.
c
Corners
n/a
{{hex|c=}}
Optional: rounded corners.
b
Background
#ddd
{{hex|b=green}}
Optional: background as a CSS color.
ec
Edge color
transparent
{{hex|ec=green}}
Optional: edge color as a CSS color.
ew
Edge width
4
{{hex|ec=black|ew=8}}
Optional: edge width in pixels.
ac
Arrow color
transparent
{{hex|ac=green}}
Optional: arrow color as a CSS color.
ar
Arrow rotation
0
{{hex|ac=black|ar=1}}
Optional: arrow rotation in units of 60° (0-5).
t
Text
empty
{{hex|t=1}}
1
Optional: text value.
tc
Text color
white
{{hex|t=1|tc=green}}
1
Optional: text color as a CSS color.
to
Text outline
black
{{hex|t=1|to=green}}
1
Optional: text outline color as a CSS color.
w
Width
67.195
{{hex|w=50}}
Optional: width of the hex.
x
X
1
{{hex|x=3}}
Optional: x coordinate of the hex on a Template:HexMap.
y
Y
1
{{hex|y=2}}
Optional: y coordinate of the hex on a Template:HexMap.
z
Z
empty
{{hex|z=2}}
Optional: z-axis position stacking order.

Category:ShapeTemplates

Category:ShapeTemplates

Pages using Template:Hex