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

Template:Hex

From Board Game Arena
Revision as of 17:35, 2 December 2025 by Sammy McSam (talk | contribs) (+arrow from edge)
Jump to navigation Jump to search

Parameters

Id
Name
Default
Example
Result
Description
1
Image
empty
{{hex|{{TaluvaClearing}}}}
Clearing
Clearing
Optional: Template:GameIcon image.
r
Rotation
0
{{hex|{{TaluvaClearing}}|r=1}}
Clearing
Clearing
Optional: rotation in units of 30° (0-11).
f
Flat-top
empty
{{hex|f=}}
Optional: transform to a flat-top hex.
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.
b
Background
#ddd
{{hex|b=green}}
Optional: background as a CSS color.
c
Corners
n/a
{{hex|c=}}
Optional: rounded corners.
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