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

Template:HiveAnt: 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=Soldier Ant
|tooltip=Soldier Ant
Line 55: Line 56:
   <div><code><nowiki>{{hiveAnt |r=1 }}</nowiki></code></div>
   <div><code><nowiki>{{hiveAnt |r=1 }}</nowiki></code></div>
   <div>{{hiveAnt |r=1 }}</div>
   <div>{{hiveAnt |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>{{hiveAnt |ft=1 }}</nowiki></code></div>
  <div>{{hiveAnt |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

​
Soldier Ant

Parameters

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