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
No edit summary
(increase span for Template:TaluvaMap)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="position:relative;width:134.4px;height:134.4px;"><div style="position:absolute;width:134.4px;height:134.4px;"><div style="position:absolute;width:67.2px;height:77.6px;top:0;left:33.6px;">{{TaluvaVolcano|{{{3|&ZeroWidthSpace;}}}}}</div><div style="position:absolute;width:67.2px;height:77.6px;top:57.2px;left:0;">{{{1|{{TaluvaJungle}}}}}</div><div style="position:absolute;width:67.2px;height:77.6px;top:57.2px;right:0;">{{{2|{{TaluvaJungle}}}}}</div></div></div><noinclude>
<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|&ZeroWidthSpace;}}}|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|&ZeroWidthSpace;}}}|{{{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|&ZeroWidthSpace;}}}|{{{r|0}}}}}</div></div><noinclude>


== Terrain types ==
== Terrain types ==
Line 22: Line 28:
== Examples ==
== Examples ==


{|
{{TaluvaMap|
|{{TaluvaTile
 
|{{TaluvaClearing |{{TaluvaHut|3}} }}
{{TaluvaTile
|{{TaluvaRock     |{{TaluvaTower}} }}
|{{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;">
 
<pre style="background:none;border:none;">
{{TaluvaMap|
 
{{TaluvaTile
{{TaluvaTile
|{{TaluvaClearing |{{TaluvaHut|3}} }}
|{{TaluvaClearing}} |1
|{{TaluvaRock    |{{TaluvaTower}} }}
|{{TaluvaJungle}}   |1
}}
}}
</pre>
{{TaluvaTile |x=7 |r=1
|-
|{{TaluvaRock}} |2
|{{TaluvaTile
|{{TaluvaSand}} |2
|{{TaluvaSand |{{TaluvaTemple}} }}
}}
|{{TaluvaLake |{{TaluvaHut |2}} }}
{{TaluvaTile |x=12 |y=2 |r=2
|{{TaluvaLake}}    |3
|{{TaluvaClearing}} |3
}}
}}
|<pre style="background:none;border:none;">
{{TaluvaTile |x=16 |y=2 |r=3
{{TaluvaTile
|{{TaluvaJungle}} |{{TaluvaHut|2}}
|{{TaluvaSand |{{TaluvaTemple}} }}
|{{TaluvaRock}}  |{{TaluvaHut|2}}
|{{TaluvaLake |{{TaluvaHut |2}} }}
}}
}}
</pre>
{{TaluvaTile |x=20 |y=2 |r=4
|-
|{{TaluvaSand}} |{{TaluvaHut|3}}
|{{TaluvaTile
|{{TaluvaLake}} |{{TaluvaTower}}
|{{TaluvaClearing}}
|{{TaluvaJungle}}
|5
}}
}}
|<pre style="background:none;border:none;">
 
{{TaluvaTile
|{{TaluvaClearing}}
|{{TaluvaJungle}}
|5
}}
}}
</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>&amp;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>&amp;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>&amp;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

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.