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) m (margin) |
||
Line 1: | Line 1: | ||
<div style="position:relative;display:grid;grid:repeat({{{height|3}}},57.6px)/repeat({{{width|auto-fill}}},33.6px);background:radial-gradient(circle,#1ADc 50%,#037c);border-radius:8px;padding:16px;"><div style="position:absolute;top:8px;left:16px;color:#fffc;font-family:Roboto,Arial,sans-serif;font-weight:700;font-size:24px;text-shadow:1px 1px 5px #000;">{{{n|}}}</div>{{{1|}}}</div><noinclude> | <div style="position:relative;display:grid;grid:repeat({{{height|3}}},57.6px)/repeat({{{width|auto-fill}}},33.6px);background:radial-gradient(circle,#1ADc 50%,#037c);border-radius:8px;padding:16px;margin-top:8px;"><div style="position:absolute;top:8px;left:16px;color:#fffc;font-family:Roboto,Arial,sans-serif;font-weight:700;font-size:24px;text-shadow:1px 1px 5px #000;">{{{n|}}}</div>{{{1|}}}</div><noinclude> | ||
A map for '''[[Template:TaluvaTile]]s'''. | A map for '''[[Template:TaluvaTile]]s'''. |
Revision as of 18:28, 8 May 2024
A map for Template:TaluvaTiles.
Example
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
Description
1
null
{{TaluvaMap |{{TaluvaTile}} }}
Optional: place tiles on the map.
width
auto-fill
{{TaluvaMap |width=6}}
Optional: specify the map width.
height
3
{{TaluvaMap |height=4}}
Optional: specify the map height.
n
null
{{TaluvaMap |n=1}}
Optional: specify text in the top left corner of the map.