「Template:Infobox location」修訂間的差異
跳至導覽
跳至搜尋
Margotbean(對話 | 貢獻) (exact copy of Template:Location) |
Shirotsuki(對話 | 貢獻) (这样描述更准确) |
||
(未顯示由 2 位使用者於中間所作的 10 次修訂) | |||
第1行: | 第1行: | ||
<includeonly><div id="infoboxborder"> | <includeonly><div id="infoboxborder"> | ||
− | {| class="location" id="infoboxtable" | + | {|class="location" id="infoboxtable" |
− | |colspan=2 id="infoboxheader"|{{{name|}}} | + | |colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}} |
|- | |- | ||
− | |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 /> | |
− | |- | + | {{!}}- |
− | + | {{!}}id="infoboxsection"{{!}} 开放时间 | |
− | + | {{!}}id="infoboxdetail"{{!}}{{{openhours|}}} |}}<!-- | |
− | {{#if:{{{address|}}}| | + | -->{{#if:{{{closed|}}}|<nowiki /> |
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}} 非 营业 时间 | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{closed|}}} |}}<!-- | ||
+ | -->{{#if:{{{address|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}地址 | {{!}}id="infoboxsection"{{!}}地址 | ||
− | {{!}}id="infoboxdetail"{{!}}{{{address|}}}|}} | + | {{!}}id="infoboxdetail"{{!}}{{{address|}}}|}}<!-- |
− | {{#if:{{{occupants|}}}| | + | -->{{#if:{{{occupants|}}}|<nowiki /> |
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}居民 | {{!}}id="infoboxsection"{{!}}居民 | ||
{{!}}id="infoboxdetail"{{!}}{{{occupants|}}}|}} | {{!}}id="infoboxdetail"{{!}}{{{occupants|}}}|}} | ||
|- | |- | ||
− | + | |}</div>[[Category:地点]]{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude> | |
− | | | ||
− | |||
− | |||
− | |||
− | }}</includeonly><noinclude>{{ |