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

Template:TaluvaTile: Difference between revisions

From Board Game Arena
Jump to navigation Jump to search
mNo edit summary
(increase span for Template:TaluvaMap)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="display:grid;grid:repeat(2,57.4px)/repeat(4,33.6px);rotate:calc({{{r|0}}}*60deg);transform-origin:center 38.8px;grid-area:{{{y|1}}}/{{{x|1}}}/span 2/span 4;">
<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/2/4;">{{TaluvaVolcano}}</div>
<div style="grid-area:1/2/span 1/span 2;">{{TaluvaVolcano}}</div>
<div style="grid-area:1/2/2/4;">{{TaluvaBlank|{{{n|&ZeroWidthSpace;}}}|r={{{r|0}}}}}</div>
<div style="grid-area:1/2/span 1/span 2;">{{TaluvaBlank|{{{n|&ZeroWidthSpace;}}}|r={{{r|0}}}}}</div>
<div style="grid-area:2/1/3/3;">{{{1|{{TaluvaJungle}}}}}</div>
<div style="grid-area:2/1/span 1/span 2;">{{{1|{{TaluvaJungle}}}}}</div>
<div style="grid-area:2/1/3/3;">{{TaluvaBlank|{{{2|&ZeroWidthSpace;}}}|{{{r|0}}}}}</div>
<div style="grid-area:2/1/span 1/span 2;">{{TaluvaBlank|{{{2|&ZeroWidthSpace;}}}|{{{r|0}}}}}</div>
<div style="grid-area:2/3/3/5;">{{{3|{{TaluvaJungle}}}}}</div>
<div style="grid-area:2/3/span 1/span 2;">{{{3|{{TaluvaJungle}}}}}</div>
<div style="grid-area:2/3/3/5;">{{TaluvaBlank|{{{4|&ZeroWidthSpace;}}}|{{{r|0}}}}}</div></div><noinclude>
<div style="grid-area:2/3/span 1/span 2;">{{TaluvaBlank|{{{4|&ZeroWidthSpace;}}}|{{{r|0}}}}}</div></div><noinclude>
 


== Terrain types ==
== Terrain types ==

Latest revision as of 14:58, 30 May 2024

Volcano
Jungle
Jungle

Terrain types

Jungle {{TaluvaJungle}}
Clearing {{TaluvaClearing}}
Sand {{TaluvaSand}}
Rock {{TaluvaRock}}
Lake {{TaluvaLake}}

Examples

display:none
Volcano
Clearing
1
Jungle
1
Volcano
Rock
2
Sand
2
Volcano
Lake
3
Clearing
3
Volcano
Jungle
Hut2
Rock
Hut2
Volcano
Sand
Hut3
Lake
Tower



{{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}} |

}}
Volcano
Clearing
Jungle
Required: specify the left terrain type.
2
&ZeroWidthSpace;
{{TaluvaTile

|{{TaluvaJungle}} |{{TaluvaHut}}

|{{TaluvaJungle}} |

}}
Volcano
Jungle
Hut
Jungle
Required: specify the left terrain value.
3
{{TaluvaJungle}}
{{TaluvaTile

|{{TaluvaJungle}} |

|{{TaluvaClearing}} |

}}
Volcano
Jungle
Clearing
Required: specify the right terrain type.
4
&ZeroWidthSpace;
{{TaluvaTile

|{{TaluvaJungle}} |

|{{TaluvaJungle}} |{{TaluvaHut}}

}}
Volcano
Jungle
Jungle
Hut
Required: specify the right terrain value.
x
1
{{TaluvaTile |x=3

|{{TaluvaJungle}} |

|{{TaluvaJungle}} |

}}
Volcano
Jungle
Jungle
Optional: specify the x co-ordinate of the volcano hex on a Template:TaluvaMap.
y
1
{{TaluvaTile |y=2

|{{TaluvaJungle}} |

|{{TaluvaJungle}} |

}}
Volcano
Jungle
Jungle
Optional: specify the y co-ordinate of the volcano hex on a Template:TaluvaMap.
r
0
{{TaluvaTile |r=1

|{{TaluvaJungle}} |

|{{TaluvaJungle}} |

}}
Volcano
Jungle
Jungle
Optional: specify the rotation of the volcano hex (0-5).
n
&ZeroWidthSpace;
{{TaluvaTile |n=13

| |

|{{TaluvaJungle}} |

}}
Volcano
13
Jungle
Optional: specify the number of tiles in a game.