Editing Template:Map/Label
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<noinclude><!-- Inspired by https://fr.wikipedia.org/wiki/Modèle:Étiquette --> | <noinclude><!-- Inspired by https://fr.wikipedia.org/wiki/Modèle:Étiquette --> | ||
: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:{{{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:{{{width|10}}}/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> | <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:{{{width|10}}}/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> |