「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 | |
![]() ![]() |
錯誤:{{#seo:}} 必須至少包含一個有內容的屬性。