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

Template:HiveHexB: Difference between revisions

From Board Game Arena
Jump to navigation Jump to search
(Created page with "{{hex|= |bg=transparent |w=68 |r=(1 - clamp(0,{{{ft|0}}},1)) |x={{{x|1}}} |y={{{y|1}}} |{{gameIcon |imageFileName=HiveIcons.png |scale=0.8 |width=68 |height=72 |x=938.5 }} |textColor=#00f |outlineColor=#fff |{{{1|}}} }}<noinclude> == Parameters == <div style="display:grid;grid-template-columns:5rem min-content 18rem min-content 1fr;gap:0.25rem;overflow:auto;text-overflow:ellipsis;"> <div style="font-weight:bold;width:8rem;">Parameter</div> <div style="font-weight:b...")
 
(z-axis)
Line 11: Line 11:
|height=72
|height=72
|x=938.5
|x=938.5
|z=10
}}
}}
|textColor=#00f
|textColor=#00f

Revision as of 20:05, 24 May 2024

​

Parameters

Parameter
Default value
Example
Result
Description
1
0
{{HiveHexB |1 }}
​
1
Optional: specify text.
x
1
{{HiveHexB |x=3 }}
​
Optional: specify the x co-ordinate of the hex on a Template:HexMap.
y
1
{{HiveHexB |y=2 }}
​
Optional: specify the y co-ordinate of the hex on a Template:HexMap.
r
0
{{HiveHexB |r=1 }}
​
Optional: rotate the arrow in units of 30° (0-11).
ft
0
{{HiveHexB |ft=1 }}
​
Optional: transform from pointed-top hex (0) to flat-top hex (1).