跳转到内容
打开/关闭菜单
  • 451 条目
  • 808 文件
  • 22 用户
  • 9259 编辑
Blockland Wiki
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Infobox settlement:修订间差异

来自Blockland Wiki
页面内容被替换为“{| class="infobox" style="width: 300px; font-size: 90%;" ! colspan="2" style="text-align: center; font-size: 125%; padding: 0.5em;" | {{{name|{{PAGENAMEBASE}}}}} {{#if: {{{native_name|}}}| |- ! colspan="2" style="text-align: center; font-style: italic;" | {{{native_name}}} }} {{#if: {{{image|}}}| |- | colspan="2" style="text-align: center;" | [[File:{{{image}}}|280px]] {{#if: {{{image_caption|}}}| <br /><span>{{{image_caption}}}</span> }} }} {{#if: {{{motto|}}}…”
标签:替换
页面内容被替换为“{{#invoke:Infobox settlement|main}} <noinclude> {{documentation}} <!-- 这是一个由 Module:Infobox settlement 驱动的聚居地信息框模板。 --> </noinclude>”
标签:替换
第1行: 第1行:
{| class="infobox" style="width: 300px; font-size: 90%;"
{{#invoke:Infobox settlement|main}}
! colspan="2" style="text-align: center; font-size: 125%; padding: 0.5em;" | {{{name|{{PAGENAMEBASE}}}}}
{{#if: {{{native_name|}}}|
|-
! colspan="2" style="text-align: center; font-style: italic;" | {{{native_name}}}
}}
{{#if: {{{image|}}}|
|-
| colspan="2" style="text-align: center;" | [[File:{{{image}}}|280px]]
{{#if: {{{image_caption|}}}|
<br /><span>{{{image_caption}}}</span>
}}
}}
{{#if: {{{motto|}}}|
|-
! colspan="2" style="text-align: center; font-style: italic; padding: 0.5em;" | "{{{motto}}}"
}}
|-
! colspan="2" style="background: #E8E8E8; text-align: center;" | 概况
|-
! style="width: 30%;" | 国家
| {{{country|}}}
{{#if: {{{subdivision_name|}}}|
|-
! {{{subdivision_type|省份}}}
| {{{subdivision_name}}}
}}
{{#if: {{{leader_name|}}}|
|-
! {{{leader_title|领主}}}
| {{{leader_name}}}
}}
|-
! 面积
| {{{area_total_km2|}}} km²
|-
! 人口
| {{{population_total|}}}
{{#if: {{{climate|}}}|
|-
! colspan="2" style="background: #E8E8E8; text-align: center;" | 气候
|-
| colspan="2" | {{{climate}}}
}}
|}
<noinclude>
<noinclude>
这是一个简化的聚居地信息框模板。
{{documentation}}
 
<!-- 这是一个由 Module:Infobox settlement 驱动的聚居地信息框模板。 -->
'''使用方法:'''
请将以下代码复制到条目页面的最顶端。
 
{{Infobox settlement
| name = 城市官方名称 (不填则默认为页面标题)
| native_name = 原生语言名称 (选填)
| image = 显示在信息框顶部的图片 (选填)
| image_caption = 图片的说明文字 (选填)
| motto = 城市的格言或口号 (选填)
 
| country = 所属国家
| subdivision_type = 行政区类型 (选填, 默认是“省份”)
| subdivision_name = 行政区名称 (例如:北境省)
| leader_title = 统治者头衔 (选填, 默认是“领主”)
| leader_name = 统治者姓名
 
| area_total_km2 = 总面积 (只需填数字)
| population_total = 总人口
 
| climate = <!-- 在这里嵌入 {{Weather box/concise C}} -->
}}
</noinclude>
</noinclude>

2025年10月31日 (五) 20:19的版本

脚本错误:模块返回了nil值。它应该返回导出表。

模板:Documentation