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)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
|x={{{x|1}}}
|x={{{x|1}}}
|y={{{y|1}}}
|y={{{y|1}}}
|z=10
|{{gameIcon
|{{gameIcon
|imageFileName=HiveIcons.png
|imageFileName=HiveIcons.png
Line 11: Line 12:
|height=72
|height=72
|x=938.5
|x=938.5
|z=10
}}
}}
|textColor=#00f
|textColor=#00f

Latest revision as of 03:15, 25 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).