This is a documentation for Board Game Arena: play board games online !
Template:HiveSpider: Difference between revisions
Jump to navigation
Jump to search
Sammy McSam (talk | contribs) (Template:HexMap coordinates) |
Sammy McSam (talk | contribs) (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= | |r={{{r|0}}} | ||
|{{gameIcon | |{{gameIcon | ||
|tooltip=Spider | |tooltip=Spider | ||
Line 55: | Line 56: | ||
<div><code><nowiki>{{hiveSpider |r=1 }}</nowiki></code></div> | <div><code><nowiki>{{hiveSpider |r=1 }}</nowiki></code></div> | ||
<div>{{hiveSpider |r=1 }}</div> | <div>{{hiveSpider |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>{{hiveSpider |ft=1 }}</nowiki></code></div> | |||
<div>{{hiveSpider |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
Parameters
Parameter
Default value
Example
Result
Description
1
0
{{hiveSpider |1 }}
Optional: dark (
0
) / light (1
).x
1
{{hiveSpider |x=3 }}
Optional: specify the x co-ordinate of the hex on a Template:HexMap.
y
1
{{hiveSpider |y=2 }}
Optional: specify the y co-ordinate of the hex on a Template:HexMap.
r
0
{{hiveSpider |r=1 }}
Optional: rotate in units of 30° (
0
-11
).ft
0
{{hiveSpider |ft=1 }}
Optional: transform from pointed-top hex (
0
) to flat-top hex (1
).