Difference between revisions of "Template:Map/Label"
Jump to navigation
Jump to search
m |
|||
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]] | ||
+ | |||
+ | [[Category:Map Templates]] | ||
</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:-{{{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> | <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 07:49, 20 June 2018
- See: Template:Map