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) m (Template:TaluvaMap|w=24) |
Sammy McSam (talk | contribs) (increase span for Template:TaluvaMap) |
||
Line 1: | Line 1: | ||
<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 | <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;">{{TaluvaVolcano}}</div> | ||
<div style="grid-area:1/2/span 1/span 2;">{{TaluvaBlank|{{{n|​}}}|r={{{r|0}}}}}</div> | <div style="grid-area:1/2/span 1/span 2;">{{TaluvaBlank|{{{n|​}}}|r={{{r|0}}}}}</div> | ||
Line 28: | Line 28: | ||
== Examples == | == Examples == | ||
{{TaluvaMap | {{TaluvaMap| | ||
{{TaluvaTile | {{TaluvaTile | ||
Line 54: | Line 54: | ||
<pre style="background:none;border:none;"> | <pre style="background:none;border:none;"> | ||
{{TaluvaMap | {{TaluvaMap| | ||
{{TaluvaTile | {{TaluvaTile |
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.