This is a documentation for Board Game Arena: play board games online !
Template:HiveMosquito: Difference between revisions
Jump to navigation
Jump to search
Sammy McSam (talk | contribs) |
Sammy McSam (talk | contribs) (variables) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|bg=transparent | |bg=transparent | ||
|w=68 | |w=68 | ||
|r=(1 - clamp(0,{{{ft|0}}},1)) | |||
|x={{{x|1}}} | |||
|y={{{y|1}}} | |||
|{{gameIcon | |{{gameIcon | ||
|imageFileName=HiveIcons.png | |imageFileName=HiveIcons.png | ||
Line 13: | Line 16: | ||
|bg=transparent | |bg=transparent | ||
|w=68 | |w=68 | ||
|r= | |r={{{r|0}}} | ||
|{{gameIcon | |{{gameIcon | ||
|tooltip=Mosquito | |tooltip=Mosquito | ||
Line 39: | Line 42: | ||
<div>{{hiveMosquito |1 }}</div> | <div>{{hiveMosquito |1 }}</div> | ||
<div>'''''Optional:''''' dark (<code>0</code>) / light (<code>1</code>).</div> | <div>'''''Optional:''''' dark (<code>0</code>) / light (<code>1</code>).</div> | ||
<div><code>x</code></div> | |||
<div><code>1</code></div> | |||
<div><code><nowiki>{{hiveMosquito |x=3 }}</nowiki></code></div> | |||
<div>{{hiveMosquito |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><nowiki>{{hiveMosquito |y=2 }}</nowiki></code></div> | |||
<div>{{hiveMosquito |y=2 }}</div> | |||
<div>'''''Optional:''''' specify the y co-ordinate of the hex on a '''[[Template:HexMap]]'''.</div> | |||
<div><code>r</code></div> | <div><code>r</code></div> | ||
<div><code>0</code></div> | <div><code>0</code></div> | ||
<div><code><nowiki>{{hiveMosquito |r=1 }}</nowiki></code></div> | <div><code><nowiki>{{hiveMosquito |r=1 }}</nowiki></code></div> | ||
<div>{{hiveMosquito |r=1 }}</div> | <div>{{hiveMosquito |r=1 }}</div> | ||
<div>'''''Optional:''''' rotate in units of | <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>{{hiveMosquito |ft=1 }}</nowiki></code></div> | |||
<div>{{hiveMosquito |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> |
Latest revision as of 20:51, 23 May 2024
Parameters
Parameter
Default value
Example
Result
Description
1
0
{{hiveMosquito |1 }}
Optional: dark (
0
) / light (1
).x
1
{{hiveMosquito |x=3 }}
Optional: specify the x co-ordinate of the hex on a Template:HexMap.
y
1
{{hiveMosquito |y=2 }}
Optional: specify the y co-ordinate of the hex on a Template:HexMap.
r
0
{{hiveMosquito |r=1 }}
Optional: rotate in units of 30° (
0
-11
).ft
0
{{hiveMosquito |ft=1 }}
Optional: transform from pointed-top hex (
0
) to flat-top hex (1
).