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

Template:HiveLadybug: Difference between revisions

From Board Game Arena
Jump to navigation Jump to search
(Template:HexMap coordinates)
(variables)
Line 2: Line 2:
|bg=transparent
|bg=transparent
|w=68
|w=68
|r=(1 - clamp(0,{{{ft|0}}},1))
|x={{{x|1}}}
|x={{{x|1}}}
|y={{{y|1}}}
|y={{{y|1}}}
Line 15: Line 16:
|bg=transparent
|bg=transparent
|w=68
|w=68
|r=calc({{{r|0}}}*2)
|r={{{r|0}}}
|{{gameIcon
|{{gameIcon
|tooltip=Ladybug
|tooltip=Ladybug
Line 55: Line 56:
   <div><code><nowiki>{{hiveLadybug |r=1 }}</nowiki></code></div>
   <div><code><nowiki>{{hiveLadybug |r=1 }}</nowiki></code></div>
   <div>{{hiveLadybug |r=1 }}</div>
   <div>{{hiveLadybug |r=1 }}</div>
   <div>'''''Optional:''''' rotate in units of 60° (<code>0</code>-<code>5</code>).</div>
   <div>'''''Optional:''''' rotate in units of 30° (<code>0</code>-<code>11</code>).</div>
  <div><code>ft</code></div>
  <div><code>0</code></div>
  <div><code><nowiki>{{hiveLadybug |ft=1 }}</nowiki></code></div>
  <div>{{hiveLadybug |ft=1 }}</div>
  <div>'''''Optional:''''' transform from pointed-top hex (<code>0</code>) to flat-top hex (<code>1</code>).</div>
</div>
</div>


[[Category:HiveIcons]]
[[Category:HiveIcons]]
</noinclude>
</noinclude>

Revision as of 20:51, 23 May 2024

​
Ladybug

Parameters

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