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

Template:HiveHexG: Difference between revisions

From Board Game Arena
Jump to navigation Jump to search
(Created page with "{{hex|= |bg=transparent |w=68 |r=(1 - clamp(0,{{{ft|0}}},1)) |x={{{x|1}}} |y={{{y|1}}} |{{gameIcon |imageFileName=HiveIcons.png |scale=0.8 |width=68 |height=62 |x=722.5 |y=4 }} |{{hex|= |bg=transparent |w=68 |r={{{r|0}}} |{{gameIcon |imageFileName=HiveIcons.png |scale=0.8 |width=68 |height=72 |x=calc(12*72 + 2) }} |textColor=#34B050 |outlineColor=#fff |{{{1|{{gameIcon |tooltip=can move here |imageFileName=HiveIcons.png |scale=0.8 |width=68 |height=72 |x=calc(11*72 + 2) }...")
 
(z-axis)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
|x={{{x|1}}}
|x={{{x|1}}}
|y={{{y|1}}}
|y={{{y|1}}}
|z=2
|{{gameIcon
|{{gameIcon
|imageFileName=HiveIcons.png
|imageFileName=HiveIcons.png
Line 12: Line 13:
|x=722.5
|x=722.5
|y=4
|y=4
|z=2
}}
}}
|{{hex|=
|{{hex|=
|bg=transparent
|bg=transparent
|w=68
|w=68
|r={{{r|0}}}
|r={{{r|11}}}
|{{gameIcon
|z=4
|{{{a|{{gameIcon
|imageFileName=HiveIcons.png
|imageFileName=HiveIcons.png
|scale=0.8
|scale=0.8
Line 23: Line 26:
|height=72
|height=72
|x=calc(12*72 + 2)
|x=calc(12*72 + 2)
}}
|z=4
}}}}}
|textColor=#34B050
|textColor=#34B050
|outlineColor=#fff
|outlineColor=#fff
Line 33: Line 37:
|height=72
|height=72
|x=calc(11*72 + 2)
|x=calc(11*72 + 2)
|z=3
}}}}}
}}}}}
}}
}}
Line 46: Line 51:
   <div style="font-weight:bold;width:8rem;">Description</div>
   <div style="font-weight:bold;width:8rem;">Description</div>
   <div><code>1</code></div>
   <div><code>1</code></div>
   <div><code>0</code></div>
   <div>'''[[Template:GameIcon]]''' (check mark)</div>
   <div><code><nowiki>{{HiveHexG |1 }}</nowiki></code></div>
   <div><code><nowiki>{{HiveHexG |1 }}</nowiki></code></div>
   <div>{{HiveHexG |1 }}</div>
   <div>{{HiveHexG |1 }}</div>
   <div>'''''Optional:''''' replace the check mark with text.</div>
   <div>'''''Optional:''''' replace the check mark with text.</div>
  <div><code>a</code></div>
  <div>'''[[Template:GameIcon]]''' (arrow)</div>
  <div><code><nowiki>{{HiveHexG |a= }}</nowiki></code></div>
  <div>{{HiveHexG |a= }}</div>
  <div>'''''Optional:''''' hide the arrow.</div>
   <div><code>x</code></div>
   <div><code>x</code></div>
   <div><code>1</code></div>
   <div><code>1</code></div>
Line 61: Line 71:
   <div>'''''Optional:''''' specify the y co-ordinate of the hex on a '''[[Template:HexMap]]'''.</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>11</code></div>
   <div><code><nowiki>{{HiveHexG |r=1 }}</nowiki></code></div>
   <div><code><nowiki>{{HiveHexG |r=1 }}</nowiki></code></div>
   <div>{{HiveHexG |r=1 }}</div>
   <div>{{HiveHexG |r=1 }}</div>

Latest revision as of 02:15, 25 May 2024

​
​
can move here

Parameters

Parameter
Default value
Example
Result
Description
1
Template:GameIcon (check mark)
{{HiveHexG |1 }}
​
​
1
Optional: replace the check mark with text.
a
{{HiveHexG |a= }}
​
can move here
Optional: hide the arrow.
x
1
{{HiveHexG |x=3 }}
​
​
can move here
Optional: specify the x co-ordinate of the hex on a Template:HexMap.
y
1
{{HiveHexG |y=2 }}
​
​
can move here
Optional: specify the y co-ordinate of the hex on a Template:HexMap.
r
11
{{HiveHexG |r=1 }}
​
​
can move here
Optional: rotate the arrow in units of 30° (0-11).
ft
0
{{HiveHexG |ft=1 }}
​
​
can move here
Optional: transform from pointed-top hex (0) to flat-top hex (1).