模板:Infobox location:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
删除的内容 添加的内容
添加 internal 参数 |
重构 |
||
| 第1行: | 第1行: | ||
<includeonly> |
<includeonly><div class="infoboxborder"> |
||
<table class="infoboxtable location"> |
|||
|Name={{{name|{{PAGENAME}}}}} |
|||
<tr> |
|||
|Eng={{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}} |
|||
| ⚫ | |||
|Building={{{building|}}} |
|||
</tr> |
|||
|Openhours={{{openhours|}}} |
|||
|Closed={{{closed|}}} |
|||
|Address={{{address|}}} |
|||
|Occupants={{{occupants|}}} |
|||
|Internal={{{internal|}}} |
|||
}}<div id="infoboxborder"> |
|||
{|class="location" id="infoboxtable" |
|||
| ⚫ | |||
{{#if: {{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}| |
{{#if: {{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}| |
||
<tr> |
<tr> |
||
<td colspan="2" class="infoboxheader infoboxheader-en">{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}</td> |
|||
</tr> |
</tr> |
||
| |
| |
||
}} |
}} |
||
<tr> |
|||
|- |
|||
<td colspan="2" class="locationimg">{{#if:{{{building|}}}|[[File:{{{building|}}}{{!}}{{#if:{{{width|}}}|{{{width|}}}{{!}}}}center]]|}}</td> |
|||
</tr> |
|||
|- |
|||
<tr> |
|||
<td colspan="2">{{#switch:{{{island|}}} |
|||
|true={{Map|main=false|island=true|islandloc1x={{{mapx|}}}|islandloc1y={{{mapy|}}}}} |
|true={{Map|main=false|island=true|islandloc1x={{{mapx|}}}|islandloc1y={{{mapy|}}}}} |
||
|small={{Map|island=small|{{{mapx|}}}|{{{mapy|}}}}} |
|small={{Map|island=small|{{{mapx|}}}|{{{mapy|}}}}} |
||
|#default={{Map|{{{mapx|}}}|{{{mapy|}}}}} }} |
|#default={{Map|{{{mapx|}}}|{{{mapy|}}}}} }}</td> |
||
</tr> |
|||
{{!}}- |
|||
{{#if:{{{openhours|}}}{{{closed|}}}{{{address|}}}{{{occupants|}}}|<nowiki /> |
|||
{{!}} colspan="2" id="infoboxsection" style="text-align:center; padding-left: 0; padding-right: 0;" {{!}} 信息 |}}<!-- |
|||
<tr> |
|||
<td colspan="2" class="infoboxsection">信息</td> |
|||
</tr>|}}<!-- |
|||
-->{{#if:{{{openhours|}}}|<nowiki /> |
-->{{#if:{{{openhours|}}}|<nowiki /> |
||
<tr> |
|||
{{!}}- |
|||
<td class="infoboxsection">开放时间</td> |
|||
<td class="infoboxdetail">{{{openhours|}}} </td> |
|||
</tr>|}}<!-- |
|||
-->{{#if:{{{closed|}}}|<nowiki /> |
-->{{#if:{{{closed|}}}|<nowiki /> |
||
<tr> |
|||
{{!}}- |
|||
<td class="infoboxsection">非营业时间</td> |
|||
<td class="infoboxdetail">{{{closed|}}} </td> |
|||
</tr>|}}<!-- |
|||
-->{{#if:{{{address|}}}|<nowiki /> |
-->{{#if:{{{address|}}}|<nowiki /> |
||
<tr> |
|||
{{!}}- |
|||
<td class="infoboxsection">地址</td> |
|||
<td class="infoboxdetail">{{{address|}}}</td> |
|||
</tr>|}}<!-- |
|||
-->{{#if:{{{occupants|}}}|<nowiki /> |
-->{{#if:{{{occupants|}}}|<nowiki /> |
||
<tr> |
|||
{{!}}- |
|||
<td class="infoboxsection">居民</td> |
|||
<td class="infoboxdetail">{{{occupants|}}}</td> |
|||
</tr>|}} |
|||
{{#if: {{{internal|}}}| |
{{#if: {{{internal|}}}| |
||
<tr> |
|||
<td colspan="2" class="infoboxsection">高级</td> |
|||
</tr> |
|||
<tr> |
|||
<td class="infoboxsection">{{M|内部名称}}</td> |
|||
<td class="infoboxdetail consolas">{{{internal|}}}</td> |
|||
</tr> |
|||
| |
| |
||
}} |
}} |
||
| ⚫ | |||
|- |
|||
| ⚫ | |||
|name = 下水道 |
|name = 下水道 |
||
|mapx = 225 |
|mapx = 225 |
||
