Template:Map Hex: Difference between revisions

Content deleted Content added
No edit summary
imported>Turbo566
Turbo566 changed the content model of the page Template:Map Hex from "CSS" to "wikitext"
 
(10 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" style="background-color{{#if:{{{backgroundcolorbackgroundcolor2|}}}; font-color|{{#if:{{{textcolorbackgroundcolor3|}}}|style=">background-image: linear-gradient(to right, {{#if:{backgroundcolor}}}, {{system|{backgroundcolor3}}}, | [[{{{systembackgroundcolor2}}});"|style="background-image: linear-gradient(to right, {{{hexbackgroundcolor}}}<br/>, {{{systembackgroundcolor2}}}]] );"}}| style="background-color:{{{hexbackgroundcolor}}};"}}></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>
</div>
</div>
<noinclude>
<templatedata>
Line 11 ⟶ 15:
"hex": {},
"system": {},
"textcolorlinkcolor": {},
"backgroundcolor2": {},
"default": "#ffffff"
"backgroundcolor3": {}
}
},
"description": "textcolor"