模板:MapPin
出自Meshal Lite
小 (已保护“模板:MapPin”: 重要模板页面 ([edit=sysop] (无期) [move=sysop] (无期))) |
|||
第1行: | 第1行: | ||
− | <includeonly><div class="litemap-pin bg-blur" style="color: {{#ifeq: {{{color|azure}}}||azure|{{{color|azure | + | <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:模板]] |
这个模板用于填写在<code>{{tpl|map}}</code>的<code>pin</code>参数中,为地图添加标注图钉。 | 这个模板用于填写在<code>{{tpl|map}}</code>的<code>pin</code>参数中,为地图添加标注图钉。 | ||
第24行: | 第24行: | ||
}} | }} | ||
− | {{block| | + | {{block|bgcolor| |
− | + | 浮层说明的背景色。 | |
*默认为rgba(0,0,0,.75) | *默认为rgba(0,0,0,.75) | ||
}} | }} | ||
</noinclude> | </noinclude> |