Template:Map Hex: Difference between revisions

From Beacon Space
Content deleted Content added
No edit summary
imported>Turbo566
Turbo566 changed the content model of the page Template:Map Hex from "CSS" to "wikitext"
 
(23 intermediate revisions by 2 users not shown)
Line 1:
<templatestyles src="HexCSS" />
<div style="position:relative;"><div><div class="hextop" style="border-color:{{{backgroundcolor}}}"></div><div class="hexmid" {{#if:{{{backgroundcolor2|}}}|{{#if:{{{backgroundcolor3|}}}|style="background-image: linear-gradient(to right, {{{backgroundcolor}}}, {{{backgroundcolor3}}}, {{{backgroundcolor2}}});"|style="background-image: linear-gradient(to right, {{{backgroundcolor}}}, {{{backgroundcolor2}}});"}}|style="background-color:{{{backgroundcolor}}};"}}></div><div class="hexbot" style="border-color:{{#if:{{{backgroundcolor2|}}}|{{{backgroundcolor2}}}|{{{backgroundcolor}}}}}"></div></div>
 
<div style="position:absolute; left: 20px; top: 2px; width: 80px; height: 40px; text-align: center;">
<div class="hexagon" style="background-color:{{{backgroundcolor}}}"></div>
<p style="padding: 0px; margin: 0px; font-weight: bold;">{{#if:{{{system|}}} | [[{{{system}}}|{{#if:{{{linkcolor|}}}|{{#ifexist: {{{system}}}|<span style="color:{{{linkcolor}}};">{{{hex}}}<br/>{{{system}}}</span>|{{{hex}}}<br/>{{{system}}}}}|{{{hex}}}<br/>{{{system}}}}}]] | {{{hex}}}}}</p>
 
</div>
{{{backgroundcolor}}}
</div>
 
<noinclude>
<templatedata>
Line 12:
"type": "content",
"default": "#aaaaaa"
},
"hex": {},
}
"system": {},
"linkcolor": {},
"backgroundcolor2": {},
"backgroundcolor3": {}
},
"description": "textcolor"
}
</templatedata>

Latest revision as of 12:48, 11 December 2022

{{{hex}}}

<templatedata> { "params": { "backgroundcolor": { "type": "content", "default": "#aaaaaa" }, "hex": {}, "system": {}, "linkcolor": {}, "backgroundcolor2": {}, "backgroundcolor3": {} }, "description": "textcolor" } </templatedata>