Template:Map Hex: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<div style="position:relative;"><div><div class="hextop" style="border-color:{{{backgroundcolor}}}"></div><div class="hexmid" style="background-color:{{{backgroundcolor}}};"></div><div class="hexbot" style="border-color:{{{backgroundcolor}}}"></div></div> |
<div style="position:relative;"><div><div class="hextop" style="border-color:{{{backgroundcolor}}}"></div><div class="hexmid" style="background-color:{{{backgroundcolor}}};"></div><div class="hexbot" style="border-color:{{{backgroundcolor}}}"></div></div> |
||
<div style="position:absolute; left: 20px; top: 2px; width: 80px; height: 40px; text-align: center;"> |
<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}}}|{{{hex}}}<br/>{{{system}}}]] | {{{hex}}}}}</p> |
<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> |
||
</div> |
</div> |
||
Line 14: | Line 14: | ||
}, |
}, |
||
"hex": {}, |
"hex": {}, |
||
"system": {} |
"system": {}, |
||
"linkcolor": {} |
|||
}, |
}, |
||
"description": "textcolor" |
"description": "textcolor" |