This is a documentation for Board Game Arena: play board games online !
Template:TaluvaTile: Difference between revisions
Jump to navigation
Jump to search
Sammy McSam (talk | contribs) No edit summary |
Sammy McSam (talk | contribs) (increase span for Template:TaluvaMap) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style=" | <div style="display:grid;grid:repeat(2,calc(0.75*{{{w|67.195}}}px/cos(30deg)))/repeat(4,calc(0.5*{{{w|67.195}}}px));rotate:calc({{{r|0}}}*60deg);transform-origin:center calc(0.5*{{{w|67.195}}}px/cos(30deg));grid-area:{{{y|1}}}/{{{x|1}}}/span 3/span 6;"> | ||
<div style="grid-area:1/2/span 1/span 2;">{{TaluvaVolcano}}</div> | |||
<div style="grid-area:1/2/span 1/span 2;">{{TaluvaBlank|{{{n|​}}}|r={{{r|0}}}}}</div> | |||
<div style="grid-area:2/1/span 1/span 2;">{{{1|{{TaluvaJungle}}}}}</div> | |||
<div style="grid-area:2/1/span 1/span 2;">{{TaluvaBlank|{{{2|​}}}|{{{r|0}}}}}</div> | |||
<div style="grid-area:2/3/span 1/span 2;">{{{3|{{TaluvaJungle}}}}}</div> | |||
<div style="grid-area:2/3/span 1/span 2;">{{TaluvaBlank|{{{4|​}}}|{{{r|0}}}}}</div></div><noinclude> | |||
== Terrain types == | == Terrain types == | ||
Line 22: | Line 28: | ||
== Examples == | == Examples == | ||
{| | {{TaluvaMap| | ||
|{{TaluvaTile | |||
|{{TaluvaClearing |{{ | {{TaluvaTile | ||
|{{TaluvaRock | |{{TaluvaClearing}} |1 | ||
|{{TaluvaJungle}} |1 | |||
}} | |||
{{TaluvaTile |x=7 |r=1 | |||
|{{TaluvaRock}} |2 | |||
|{{TaluvaSand}} |2 | |||
}} | |||
{{TaluvaTile |x=12 |y=2 |r=2 | |||
|{{TaluvaLake}} |3 | |||
|{{TaluvaClearing}} |3 | |||
}} | |||
{{TaluvaTile |x=16 |y=2 |r=3 | |||
|{{TaluvaJungle}} |{{TaluvaHut|2}} | |||
|{{TaluvaRock}} |{{TaluvaHut|2}} | |||
}} | |||
{{TaluvaTile |x=20 |y=2 |r=4 | |||
|{{TaluvaSand}} |{{TaluvaHut|3}} | |||
|{{TaluvaLake}} |{{TaluvaTower}} | |||
}} | |||
}} | }} | ||
<pre style="background:none;border:none;"> | |||
{{TaluvaMap| | |||
{{TaluvaTile | {{TaluvaTile | ||
|{{TaluvaClearing | |{{TaluvaClearing}} |1 | ||
|{{ | |{{TaluvaJungle}} |1 | ||
}} | }} | ||
{{TaluvaTile |x=7 |r=1 | |||
| | |{{TaluvaRock}} |2 | ||
|{{ | |{{TaluvaSand}} |2 | ||
|{{TaluvaSand | }} | ||
|{{TaluvaLake |{{ | {{TaluvaTile |x=12 |y=2 |r=2 | ||
|{{TaluvaLake}} |3 | |||
|{{TaluvaClearing}} |3 | |||
}} | }} | ||
{{TaluvaTile |x=16 |y=2 |r=3 | |||
{{TaluvaTile | |{{TaluvaJungle}} |{{TaluvaHut|2}} | ||
|{{ | |{{TaluvaRock}} |{{TaluvaHut|2}} | ||
|{{ | |||
}} | }} | ||
{{TaluvaTile |x=20 |y=2 |r=4 | |||
| | |{{TaluvaSand}} |{{TaluvaHut|3}} | ||
|{{ | |{{TaluvaLake}} |{{TaluvaTower}} | ||
|{{ | |||
|{{ | |||
| | |||
}} | }} | ||
}} | }} | ||
</pre> | </pre> | ||
|} | |||
== Parameters == | |||
<div style="display:grid;grid:min-content repeat(8,minmax(140px,1fr))/5rem min-content 18rem min-content 1fr;gap:0 0.25rem;overflow:auto;text-overflow:ellipsis;"> | |||
<div style="font-weight:bold;width:8rem;">Parameter</div> | |||
<div style="font-weight:bold;width:8rem;">Default value</div> | |||
<div style="font-weight:bold;width:8rem;">Example</div> | |||
<div style="font-weight:bold;width:8rem;">Result</div> | |||
<div style="font-weight:bold;width:8rem;">Description</div> | |||
<div><code>1</code></div> | |||
<div><code><nowiki>{{TaluvaJungle}}</nowiki></code></div> | |||
<div><code><nowiki>{{TaluvaTile</nowiki></code> | |||
<code>'''<nowiki>|{{TaluvaClearing}}</nowiki>'''<nowiki> |</nowiki></code> | |||
<code><nowiki>|{{TaluvaJungle}} |</nowiki></code> | |||
<code><nowiki>}}</nowiki></code></div> | |||
<div>{{TaluvaTile | |||
|{{TaluvaClearing}} | | |||
|{{TaluvaJungle}} | | |||
}}</div> | |||
<div>'''''Required:''''' specify the left terrain type.</div> | |||
<div><code>2</code></div> | |||
<div><code>&ZeroWidthSpace;</code></div> | |||
<div><code><nowiki>{{TaluvaTile</nowiki></code> | |||
<code><nowiki>|{{TaluvaJungle}} </nowiki>'''<nowiki>|{{TaluvaHut}}</nowiki>'''</code> | |||
<code><nowiki>|{{TaluvaJungle}} |</nowiki></code> | |||
<code><nowiki>}}</nowiki></code></div> | |||
<div>{{TaluvaTile | |||
|{{TaluvaJungle}} |{{TaluvaHut}} | |||
|{{TaluvaJungle}} | | |||
}}</div> | |||
<div>'''''Required:''''' specify the left terrain value.</div> | |||
<div><code>3</code></div> | |||
<div><code><nowiki>{{TaluvaJungle}}</nowiki></code></div> | |||
<div><code><nowiki>{{TaluvaTile</nowiki></code> | |||
<code><nowiki>|{{TaluvaJungle}} |</nowiki></code> | |||
<code>'''<nowiki>|{{TaluvaClearing}}</nowiki>'''<nowiki> |</nowiki></code> | |||
<code><nowiki>}}</nowiki></code></div> | |||
<div>{{TaluvaTile | |||
|{{TaluvaJungle}} | | |||
|{{TaluvaClearing}} | | |||
}}</div> | |||
<div>'''''Required:''''' specify the right terrain type.</div> | |||
<div><code>4</code></div> | |||
<div><code>&ZeroWidthSpace;</code></div> | |||
<div><code><nowiki>{{TaluvaTile</nowiki></code> | |||
<code><nowiki>|{{TaluvaJungle}} |</nowiki></code> | |||
<code><nowiki>|{{TaluvaJungle}} </nowiki>'''<nowiki>|{{TaluvaHut}}</nowiki>'''</code> | |||
<code><nowiki>}}</nowiki></code></div> | |||
<div>{{TaluvaTile | |||
|{{TaluvaJungle}} | | |||
|{{TaluvaJungle}} |{{TaluvaHut}} | |||
}}</div> | |||
<div>'''''Required:''''' specify the right terrain value.</div> | |||
<div><code>x</code></div> | |||
<div><code>1</code></div> | |||
<div><code><nowiki>{{TaluvaTile </nowiki>'''<nowiki>|x=3</nowiki>'''</code> | |||
<code><nowiki>|{{TaluvaJungle}} |</nowiki></code> | |||
<code><nowiki>|{{TaluvaJungle}} |</nowiki></code> | |||
<code><nowiki>}}</nowiki></code></div> | |||
<div>{{TaluvaTile |x=3 }}</div> | |||
<div>'''''Optional:''''' specify the x co-ordinate of the volcano hex on a '''[[Template:TaluvaMap]]'''.</div> | |||
<div><code>y</code></div> | |||
<div><code>1</code></div> | |||
<div><code><nowiki>{{TaluvaTile </nowiki>'''<nowiki>|y=2</nowiki>'''</code> | |||
<code><nowiki>|{{TaluvaJungle}} |</nowiki></code> | |||
<code><nowiki>|{{TaluvaJungle}} |</nowiki></code> | |||
<code><nowiki>}}</nowiki></code></div> | |||
<div>{{TaluvaTile |y=2 }}</div> | |||
<div>'''''Optional:''''' specify the y co-ordinate of the volcano hex on a '''[[Template:TaluvaMap]]'''.</div> | |||
<div><code>r</code></div> | |||
<div><code>0</code></div> | |||
<div><code><nowiki>{{TaluvaTile </nowiki>'''<nowiki>|r=1</nowiki>'''</code> | |||
<code><nowiki>|{{TaluvaJungle}} |</nowiki></code> | |||
<code><nowiki>|{{TaluvaJungle}} |</nowiki></code> | |||
<code><nowiki>}}</nowiki></code></div> | |||
<div>{{TaluvaTile |r=1 }}</div> | |||
<div>'''''Optional:''''' specify the rotation of the volcano hex (<code>0</code>-<code>5</code>).</div> | |||
<div><code>n</code></div> | |||
<div><code>&ZeroWidthSpace;</code></div> | |||
<div><code><nowiki>{{TaluvaTile </nowiki>'''<nowiki>|n=13</nowiki>'''</code> | |||
<code><nowiki>| |</nowiki></code> | |||
<code><nowiki>|{{TaluvaJungle}} |</nowiki></code> | |||
<code><nowiki>}}</nowiki></code></div> | |||
<div>{{TaluvaTile |n=13 | | }}</div> | |||
<div>'''''Optional:''''' specify the number of tiles in a game.</div> | |||
</div> | |||
[[Category:TaluvaIcons]] | [[Category:TaluvaIcons]] | ||
</noinclude> | </noinclude> |
Latest revision as of 14:58, 30 May 2024
Terrain types
{{TaluvaJungle}}
| |
{{TaluvaClearing}}
| |
{{TaluvaSand}}
| |
{{TaluvaRock}}
| |
{{TaluvaLake}}
|
Examples
1
1
2
2
3
3
{{TaluvaMap| {{TaluvaTile |{{TaluvaClearing}} |1 |{{TaluvaJungle}} |1 }} {{TaluvaTile |x=7 |r=1 |{{TaluvaRock}} |2 |{{TaluvaSand}} |2 }} {{TaluvaTile |x=12 |y=2 |r=2 |{{TaluvaLake}} |3 |{{TaluvaClearing}} |3 }} {{TaluvaTile |x=16 |y=2 |r=3 |{{TaluvaJungle}} |{{TaluvaHut|2}} |{{TaluvaRock}} |{{TaluvaHut|2}} }} {{TaluvaTile |x=20 |y=2 |r=4 |{{TaluvaSand}} |{{TaluvaHut|3}} |{{TaluvaLake}} |{{TaluvaTower}} }} }}
Parameters
Parameter
Default value
Example
Result
Description
1
{{TaluvaJungle}}
{{TaluvaTile
|{{TaluvaClearing}} |
|{{TaluvaJungle}} |
}}
Required: specify the left terrain type.
2
​
{{TaluvaTile
|{{TaluvaJungle}} |{{TaluvaHut}}
|{{TaluvaJungle}} |
}}
Required: specify the left terrain value.
3
{{TaluvaJungle}}
{{TaluvaTile
|{{TaluvaJungle}} |
|{{TaluvaClearing}} |
}}
Required: specify the right terrain type.
4
​
{{TaluvaTile
|{{TaluvaJungle}} |
|{{TaluvaJungle}} |{{TaluvaHut}}
}}
Required: specify the right terrain value.
x
1
{{TaluvaTile |x=3
|{{TaluvaJungle}} |
|{{TaluvaJungle}} |
}}
Optional: specify the x co-ordinate of the volcano hex on a Template:TaluvaMap.
y
1
{{TaluvaTile |y=2
|{{TaluvaJungle}} |
|{{TaluvaJungle}} |
}}
Optional: specify the y co-ordinate of the volcano hex on a Template:TaluvaMap.
r
0
{{TaluvaTile |r=1
|{{TaluvaJungle}} |
|{{TaluvaJungle}} |
}}
Optional: specify the rotation of the volcano hex (
0
-5
).n
​
{{TaluvaTile |n=13
| |
|{{TaluvaJungle}} |
}}
13
Optional: specify the number of tiles in a game.