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

Template:Hex

From Board Game Arena
Revision as of 16:22, 12 May 2024 by Sammy McSam (talk | contribs) (parameter)
Jump to navigation Jump to search

Parameters

Parameter
Default value
Example
Result
Description
1
​
{{hex |{{TaluvaClearing}} }}
Clearing
Optional: specify a Template:GameIcon image.
2
​
{{hex | |A }}
A
Optional: specify a text value.
bg
#ddd
{{hex |bg=green }}
Optional: specify the background as a CSS color.
w
67.195
{{hex |w=50 }}
Optional: specify the width of the hex.
x
1
{{hex |x=3 }}
Optional: specify the x co-ordinate of the hex on a Template:HexMap.
y
1
{{hex |y=2 }}
Optional: specify the y co-ordinate of the hex on a Template:HexMap.
r
0
{{hex |r=1 }}
Optional: specify the rotation in units of 30° (0-11).