This is a documentation for Board Game Arena: play board games online !
Template:TaluvaMap: Difference between revisions
Jump to navigation
Jump to search
Sammy McSam (talk | contribs) (map numbering) |
Sammy McSam (talk | contribs) (n n-c n-bg) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{hexMap | |||
|bg=radial-gradient(circle,#1ADc 50%,#037c) | |||
|n={{{n|display:none}}} | |||
|n-c=#037c | |||
|n-bg=#fff8 | |||
|w={{{w|auto-fit}}} | |||
|{{{1|}}} | |||
}} | |||
<noinclude> | |||
A map for '''[[Template:TaluvaTile]]s'''. | A map for '''[[Template:TaluvaTile]]s'''. | ||
Line 5: | Line 13: | ||
== Example == | == Example == | ||
{{TaluvaMap| | <div style="display:flex;flex-wrap:wrap;gap:8px;"> | ||
{{TaluvaMap |n=1 | | |||
{{TaluvaTile | {{TaluvaTile | ||
|{{ | |{{TaluvaSand}} |1 | ||
|{{ | |{{TaluvaClearing}} |{{TaluvaHut}} | ||
}} | }} | ||
{{TaluvaTile |x= | {{TaluvaTile |x=5 |r=1 | ||
|{{ | |{{TaluvaSand}} |1 | ||
|{{TaluvaSand}} | | |{{TaluvaSand}} |1 | ||
}} | }} | ||
}}{{TaluvaMap |n=2 | | |||
{{TaluvaTile | |||
{{ | |{{TaluvaSand}} |{{TaluvaHut}} | ||
|{{TaluvaClearing}} |{{TaluvaHut}} | |||
{{TaluvaTile | |||
|{{TaluvaSand}} |{{TaluvaHut | |||
|{{ | |||
}} | }} | ||
{{TaluvaTile |x=5 |r=1 | |||
|{{TaluvaSand}} |{{TaluvaHut}} | |||
|{{TaluvaSand}} |{{TaluvaHut}} | |||
}} | }} | ||
}}</div> | |||
<pre style="background:none;border:none;"> | <pre style="background:none;border:none;"> | ||
{{TaluvaMap| | {{TaluvaMap |n=1 | | ||
{{TaluvaTile | {{TaluvaTile | ||
|{{ | |{{TaluvaSand}} |1 | ||
|{{TaluvaClearing}} |{{TaluvaHut}} | |||
}} | |||
|{{TaluvaClearing}} | |||
}} | }} | ||
{{TaluvaTile |x= | {{TaluvaTile |x=5 |r=1 | ||
|{{TaluvaSand}} | | |{{TaluvaSand}} |1 | ||
|{{ | |{{TaluvaSand}} |1 | ||
}} | }} | ||
Line 66: | Line 64: | ||
<div><code><nowiki>{{TaluvaMap |{{TaluvaTile}} }}</nowiki></code></div> | <div><code><nowiki>{{TaluvaMap |{{TaluvaTile}} }}</nowiki></code></div> | ||
<div>'''''Optional:''''' place tiles on the map.</div> | <div>'''''Optional:''''' place tiles on the map.</div> | ||
<div><code> | <div><code>w</code></div> | ||
<div><code>auto- | <div><code>auto-fit</code></div> | ||
<div><code><nowiki>{{ | <div><code><nowiki>{{hexMap |w=10 }}</nowiki></code></div> | ||
<div>'''''Optional:''''' specify the | <div>'''''Optional:''''' specify the grid width in hexes.</div> | ||
<div><code>n</code></div> | <div><code>n</code></div> | ||
<div><code>null</code></div> | <div><code>null</code></div> | ||
<div><code><nowiki>{{ | <div><code><nowiki>{{HexMap |n=1 }}</nowiki></code></div> | ||
<div>'''''Optional:''''' specify text in the top left corner of the map.</div> | <div>'''''Optional:''''' specify text in the top left corner of the map.</div> | ||
</div> | </div> |
Latest revision as of 14:59, 30 May 2024
A map for Template:TaluvaTiles.
Example
1
1
1
1
2
{{TaluvaMap |n=1 | {{TaluvaTile |{{TaluvaSand}} |1 |{{TaluvaClearing}} |{{TaluvaHut}} }} {{TaluvaTile |x=5 |r=1 |{{TaluvaSand}} |1 |{{TaluvaSand}} |1 }} }}
Parameters
Parameter
Default value
Example
Description
1
null
{{TaluvaMap |{{TaluvaTile}} }}
Optional: place tiles on the map.
w
auto-fit
{{hexMap |w=10 }}
Optional: specify the grid width in hexes.
n
null
{{HexMap |n=1 }}
Optional: specify text in the top left corner of the map.