模板:Map
出自Meshal Lite
第1行: | 第1行: | ||
− | <includeonly><div class="litemap- | + | <includeonly><div class="litemap-container" style="width:{{#ifeq: {{{width|100%}}}||100%|{{{width|100%}}}}}; height:{{#ifeq: {{{height|600px}}}||600px|{{{height|600px}}}}}; {{{containerstyle|}}}"><div class="litemap-pinLayer" style="width:{{#ifeq: {{{width|100%}}}||100%|{{{width|100%}}}}}; height:{{#ifeq: {{{height|600px}}}||600px|{{{height|600px}}}}};">{{{2|{{{pin|}}}}}}</div><div class="litemap-imageLayer" style="left: {{#ifeq: {{{offx|0}}}||0|{{{offx|0}}}}}; top: {{#ifeq: {{{offy|0}}}||0|{{{offy|0}}}}}; zoom: {{#ifeq: {{{scale|100%}}}||100%|{{{scale|100%}}}}}; {{{imgstyle|}}};">{{{1|{{{src|}}}}}}</div> |
− | <div class="litemap- | + | |
− | <div class="litemap-imageLayer" style="left: {{#ifeq: {{{offx|0}}}||0|{{{offx|0}}}}}; top: {{#ifeq: {{{offy|0}}}||0|{{{offy|0}}}}}; zoom: {{#ifeq: {{{scale|100%}}}||100%|{{{scale|100%}}}}}; {{{imgstyle|}}};">{{{1|{{{src|}}}}}}</div> | + | |
</div></includeonly><noinclude>[[category:模板]] | </div></includeonly><noinclude>[[category:模板]] | ||
这个模板用来嵌入一张地图,可以调整地图的尺寸和位置,并有一个标注层可供添加标注。 | 这个模板用来嵌入一张地图,可以调整地图的尺寸和位置,并有一个标注层可供添加标注。 |