Open main menu

Changes

9 bytes added ,  19:20, 2 February 2020
no need for halfwidth
[[Category:Map Templates]]
</noinclude>
<includeonly><div class="map_dot" style="position:absolute; left:{{{1|50}}}%; top:{{{2|50}}}%; width:5px; height:5px; margin-left:-2px; margin-left:-2px; background: {{{color|white}}}"></div><div class="map_line" style="position:absolute; left:{{{1|50}}}%; top:{{{2|50}}}%; width:1px; height:{{{length|10}}}px; background: {{{color|white}}}"></div><div class="map_label" style="position:absolute; left:{{{1|50}}}%; top:{{{2|50}}}%; box-sizing:border-box; font-size:.9em; line-height: 1.2em; width:{{{width|10}}}em; margin-left:-{{#expr:{halfwidth{{width|510}}}/2}}em; margin-top:{{{length|10}}}px; padding:.25em; background:black; color:{{{color|white}}}; text-align:center; border:solid 1px {{{color|white}}};">{{{3|}}}</div></includeonly>
282

edits