「Template:Infobox location」修訂間的差異
跳至導覽
跳至搜尋
Margotbean(對話 | 貢獻) (default name to pagename) |
Margotbean(對話 | 貢獻) (hide all optional fields) |
||
第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|{{map|{{{mapx|}}}|{{{mapy|}}}}}<!-- |
− | |- | + | -->{{#if:{{{openhours|}}}|<nowiki /> |
− | + | {{!}}- | |
− | + | {{!}}id="infoboxsection"{{!}} 开放时间 | |
− | |- | + | {{!}}id="infoboxdetail"{{!}}{{{openhours|}}} |}}<!-- |
− | + | -->{{#if:{{{closed|}}}|<nowiki /> | |
− | + | {{!}}- | |
+ | {{!}}id="infoboxsection"{{!}} 非开放时间 | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{closed|}}} |}}<!-- | ||
-->{{#if:{{{address|}}}|<nowiki /> | -->{{#if:{{{address|}}}|<nowiki /> | ||
{{!}}- | {{!}}- |
於 2018年11月9日 (五) 10:25 的修訂
有關此模板的詳細信息,請參閱英語語言文檔頁。
用法
可以通過在相關頁面上輸入以下內容來使用此模板。
{{Infobox location}}
結果是...
Infobox location | |
![]() ![]() |
錯誤:{{#seo:}} 必須至少包含一個有內容的屬性。