“Template:Infobox location”的版本间的差异
跳到导航
跳到搜索
Margotbean(讨论 | 贡献) (hide all optional fields) |
Margotbean(讨论 | 贡献) (add parameter to show map with Ginger Island) |
||
第5行: | 第5行: | ||
|colspan=2 id="locationimg"|{{#if:{{{building|}}}|[[File:{{{building|}}}{{!}}{{#if:{{{width|}}}|{{{width|}}}{{!}}}}center]]|}} | |colspan=2 id="locationimg"|{{#if:{{{building|}}}|[[File:{{{building|}}}{{!}}{{#if:{{{width|}}}|{{{width|}}}{{!}}}}center]]|}} | ||
|- | |- | ||
− | |colspan=2|{{map|{{{mapx|}}}|{{{mapy|}}}}}<!-- | + | |colspan=2|{{#ifeq:{{{island|}}}|true |
+ | |{{Map|island=true|{{{mapx|}}}|{{{mapy|}}}}} | ||
+ | |{{map|{{{mapx|}}}|{{{mapy|}}}}} }}<!-- | ||
-->{{#if:{{{openhours|}}}|<nowiki /> | -->{{#if:{{{openhours|}}}|<nowiki /> | ||
{{!}}- | {{!}}- |
2021年1月25日 (一) 21:35的版本
有关此模板的详细信息,请参阅英语语言文档页。
用法
可以通过在相关页面上输入以下内容来使用此模板。
{{Infobox location}}
结果是...
Infobox location | |
Error: {{#seo:}} must contain at least one non-empty attribute.