Template:Map Hex: Difference between revisions

From Beacon Space
Content deleted Content added
No edit summary
No edit summary
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;">
<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>
Line 15:
"hex": {},
"system": {},
"linkcolor": {},
"backgroundcolor2": {},
"backgroundcolor3": {}
},
"description": "textcolor"

Revision as of 00:09, 14 September 2020

{{{hex}}}

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