模板:MapPin
出自Meshal Lite
第1行: | 第1行: | ||
− | <includeonly><div class="litemap-pin bg-blur" style="color: {{#ifeq: {{{color|azure}}}||azure|{{{color|azure}}}}}; left:{{{3|{{{x|0}}}}}}; top:{{{4|{{{y|0}}}}}};"><span>{{{1|{{{marker|}}}}}}</span>{{#ifeq: {{{2|{{{desc|}}}}}}|||<div class="litemap-pinHorn" style="border-right-color:{{{bgcolor|rgba(0,0,0,.75)}}}"></div><div class="litemap-pinBubble bg-blur" style="color: {{#ifeq: {{{color|azure}}}||azure|{{{color|azure}}}}}; background-color: {{#ifeq: {{{bgcolor|rgba(0,0,0,.75)}}}||rgba(0,0,0,.75)|{{{bgcolor|rgba(0,0,0,.75)}}}}}">{{{2|{{{desc|}}}}}}</div>}}</div></includeonly><noinclude>[[category:模板]] | + | <includeonly><div class="litemap-pin bg-blur" style="color: {{#ifeq: {{{color|azure}}}||azure|{{{color|azure}}}}}; left:{{{3|{{{x|0}}}}}}; top:{{{4|{{{y|0}}}}}};"><span style="text-shadow: 0 0 10px {{#ifeq: {{{glow|black}}}||black|{{{glow|black}}}}};">{{{1|{{{marker|}}}}}}</span>{{#ifeq: {{{2|{{{desc|}}}}}}|||<div class="litemap-pinHorn" style="border-right-color:{{{bgcolor|rgba(0,0,0,.75)}}}"></div><div class="litemap-pinBubble bg-blur" style="color: {{#ifeq: {{{color|azure}}}||azure|{{{color|azure}}}}}; background-color: {{#ifeq: {{{bgcolor|rgba(0,0,0,.75)}}}||rgba(0,0,0,.75)|{{{bgcolor|rgba(0,0,0,.75)}}}}}">{{{2|{{{desc|}}}}}}</div>}}</div></includeonly><noinclude>[[category:模板]] |
这个模板用于填写在<code>{{tpl|map}}</code>的<code>pin</code>参数中,为地图添加标注图钉。 | 这个模板用于填写在<code>{{tpl|map}}</code>的<code>pin</code>参数中,为地图添加标注图钉。 | ||
第22行: | 第22行: | ||
图钉文字和边缘描边的颜色。 | 图钉文字和边缘描边的颜色。 | ||
*默认为azure | *默认为azure | ||
+ | }} | ||
+ | |||
+ | {{block|glow| | ||
+ | 图钉文字的发光颜色。 | ||
+ | *默认为black | ||
}} | }} | ||