Difference between revisions of "Template:Map/Label"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
m
Line 2: Line 2:
 
:See: [[Template:Map]]
 
:See: [[Template:Map]]
 
</noinclude>
 
</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:{{{4|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:10em; margin-left:-5em; margin-top:{{{4|10}}}px; padding:.25em; background:black; color:{{{color|white}}}; text-align:center; border:solid 1px {{{color|white}}};">{{{3|}}}</div></includeonly>
+
<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:-{{{halfwidth|5}}}em; margin-top:{{{length|10}}}px; padding:.25em; background:black; color:{{{color|white}}}; text-align:center; border:solid 1px {{{color|white}}};">{{{3|}}}</div></includeonly>

Revision as of 00:21, 7 February 2018