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

Template:HiveBee: Difference between revisions

From Board Game Arena
Jump to navigation Jump to search
 
(bg image to css)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{hex|=
{{hex |rounded=
|bg=linear-gradient(#000 0 {{{w|10}}}0%,#E6D3A0 {{{w|10}}}0% 100%);
|r=clamp(0,{{{f|0}}},1)
|w=60
|x={{{x|1}}}
|y={{{y|1}}}
|{{hex
|w=60
|bg=transparent
|bg=transparent
|w=68
|r=calc({{{r|0}}} - {{{f|0}}})
|{{gameIcon
|imageFileName=HiveIcons.png
|scale=0.8
|width=68
|height=62
|x=578.5
|y=calc({{{1|0}}}*72 + 4)
}}
|{{hex|=
|bg=transparent
|w=68
|r=calc({{{r|0}}}*2)
|{{gameIcon
|{{gameIcon
|tooltip=Queen Bee
|tooltip=Queen Bee
|imageFileName=HiveIcons.png
|imageFileName=HiveIcons.png
|scale=0.8
|scale=0.8
|width=68
|width=60
|height=62
|height=67.2
|x=calc(5*72 + 2)
|x=calc(6 + 5*72)
|y=calc({{{1|0}}}*72 + 4)
|y=calc(2.4 + 72 {{{w|- 72}}})
}}
}}
}}
}}
Line 34: Line 29:
   <div style="font-weight:bold;width:8rem;">Result</div>
   <div style="font-weight:bold;width:8rem;">Result</div>
   <div style="font-weight:bold;width:8rem;">Description</div>
   <div style="font-weight:bold;width:8rem;">Description</div>
  <div><code>w</code></div>
  <div><code>n/a</code></div>
  <div><code><nowiki>{{hiveBee |w= }}</nowiki></code></div>
  <div>{{hiveBee |w= }}</div>
  <div>'''''Optional:''''' change the hex color from black to white.</div>
  <div><code>x</code></div>
  <div><code>1</code></div>
  <div><code><nowiki>{{hiveBee |x=3 }}</nowiki></code></div>
  <div>{{hiveBee |x=3 }}</div>
  <div>'''''Optional:''''' specify the x co-ordinate of the hex on a '''[[Template:HexMap]]'''.</div>
  <div><code>y</code></div>
   <div><code>1</code></div>
   <div><code>1</code></div>
  <div><code>0</code></div>
   <div><code><nowiki>{{hiveBee |y=2 }}</nowiki></code></div>
   <div><code><nowiki>{{hiveBee |1 }}</nowiki></code></div>
   <div>{{hiveBee |y=2 }}</div>
   <div>{{hiveBee |1 }}</div>
   <div>'''''Optional:''''' specify the y co-ordinate of the hex on a '''[[Template:HexMap]]'''.</div>
   <div>'''''Optional:''''' dark (<code>0</code>) / light (<code>1</code>).</div>
   <div><code>r</code></div>
   <div><code>r</code></div>
   <div><code>0</code></div>
   <div><code>0</code></div>
   <div><code><nowiki>{{hiveBee |r=1 }}</nowiki></code></div>
   <div><code><nowiki>{{hiveBee |r=1 }}</nowiki></code></div>
   <div>{{hiveBee |r=1 }}</div>
   <div>{{hiveBee |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>f</code></div>
  <div><code>0</code></div>
  <div><code><nowiki>{{hiveBee |f=1 }}</nowiki></code></div>
  <div>{{hiveBee |f=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>

Latest revision as of 23:08, 27 May 2024

Queen Bee

Parameters

Parameter
Default value
Example
Result
Description
w
n/a
{{hiveBee |w= }}
Queen Bee
Optional: change the hex color from black to white.
x
1
{{hiveBee |x=3 }}
Queen Bee
Optional: specify the x co-ordinate of the hex on a Template:HexMap.
y
1
{{hiveBee |y=2 }}
Queen Bee
Optional: specify the y co-ordinate of the hex on a Template:HexMap.
r
0
{{hiveBee |r=1 }}
Queen Bee
Optional: rotate in units of 30° (0-11).
f
0
{{hiveBee |f=1 }}
Queen Bee
Optional: transform from pointed-top hex (0) to flat-top hex (1).