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

模板:Infobox settlement:修订间差异

来自Blockland Wiki
无编辑摘要
无编辑摘要
第1行: 第1行:
<includeonly>{{Infobox
<includeonly>{{Infobox
| bodyclass = geography vcard
| bodyclass = geography vcard
| bodystyle = font-size:88%; line-height:1.2em; width:23em; background:#ffffff; border:1px solid #a2a9b1; border-spacing:0.4em 0; border-collapse: collapse;
| bodystyle = width:23em; font-size:88%; line-height:1.5em; background:#fff; border:1px solid #a2a9b1; border-spacing:0;


<!-- ================= 顶部:名称 ================= -->
<!-- ================= 顶部:名称与原文 ================= -->
| abovestyle = background-color:#f0f0f0; font-size:1.25em; font-weight:bold; padding:0.2em; border-bottom:1px solid #a2a9b1; line-height:1.3em;
| abovestyle = background-color:#f0f0f0; font-size:1.25em; font-weight:bold; border-top:1px solid #a2a9b1; border-bottom:1px solid #a2a9b1; padding:5px;
| aboveclass = fn org
| aboveclass = fn org
| above = {{#if:{{{官方名称|{{{名称|}}}}}}|{{{官方名称|{{{名称}}}}}}|{{PAGENAME}}}}<br/><span class="nickname" style="font-size:0.85em; font-weight:normal">{{{外文名称|}}}</span>
| above = {{#if:{{{官方名称|{{{名称|}}}}}}|{{{官方名称|{{{名称}}}}}}|{{PAGENAME}}}}<br/>{{#if:{{{当地名称|}}}|<span class="nickname" style="font-size:0.85em; font-weight:normal">{{{当地名称}}}</span>}}


<!-- ================= 次级标题:类型(蓝色条) ================= -->
<!-- ================= 核心特征:维基百科经典的蓝色类型条 ================= -->
<!-- 维基百科的城市条目通常使用 #CDDEFF (浅蓝),这里设为默认,也可自定义 -->
| subheaderstyle = background-color:#CDDEFF; font-weight:bold; border-bottom:1px solid #a2a9b1; padding:3px; margin-top:-1px;
| subheaderstyle = background-color:{{{背景色|#CDDEFF}}}; font-weight:bold; border-top:1px solid #fff; border-bottom:1px solid #a2a9b1; padding:3px;
| subheader = {{#if:{{{聚居地类型|{{{类型|}}}}}}|<span class="category">{{{聚居地类型|{{{类型}}}}}}</span>}}
| subheader = <span class="category">{{{聚居地类型|{{{类型|城市}}}}}}</span>


<!-- ================= 图像:天际线/风景 ================= -->
<!-- ================= 图像:天际线 ================= -->
| image1 = {{#if:{{{图像|{{{图片|}}}}}}|[[File:{{{图像|{{{图片}}}}}}|{{#if:{{{图像宽度|}}}|{{{图像宽度}}}|250px}}|alt={{{图像说明|}}}]]}}
| image1 = {{#if:{{{天际线图片|{{{图片|}}}}}}|[[File:{{{天际线图片|{{{图片}}}}}}|{{#if:{{{图片尺寸|}}}|{{{图片尺寸}}}|250px}}|alt={{{图片说明|}}}]]}}
| caption1 = {{{图像说明|}}}
| caption1 = {{{图片说明|}}}
| caption1style = padding:0.3em 0 0.8em 0; text-align:center; font-size:90%; color:#54595d;
| caption1style = padding:0.3em 0 0.6em 0; text-align:center; font-size:smaller;


<!-- ================= 图像:旗帜与徽章 (双列布局) ================= -->
<!-- ================= 图像:旗帜与徽章 (仿照Wiki的双列布局) ================= -->
| image2 = {{#if:{{{旗帜图像|}}}{{{徽章图像|}}}|
| image2 = {{#if:{{{旗帜图片|}}}{{{徽章图片|}}}|
<table style="width:100%; background:transparent; margin:0; text-align:center;">
<table style="width:100%; background:transparent; border-collapse:collapse;">
<tr>
<tr>
{{#if:{{{旗帜图像|}}}|<td style="vertical-align:middle; border:none;">[[File:{{{旗帜图像}}}|100x65px|border|alt=旗帜]]<br/><div style="font-size:90%;">[[{{{旗帜链接|旗帜}}}|旗帜]]</div></td>}}
{{#if:{{{旗帜图片|}}}|<td style="text-align:center; border:none; padding:5px;">[[File:{{{旗帜图片}}}|border|100x65px|alt=旗帜]]<br/><small>[[{{{旗帜链接|旗帜}}}|旗帜]]</small></td>}}
{{#if:{{{徽章图像|}}}|<td style="vertical-align:middle; border:none;">[[File:{{{徽章图像}}}|85x85px|alt=徽章]]<br/><div style="font-size:90%;">[[{{{徽章链接|徽章}}}|徽章]]</div></td>}}
{{#if:{{{徽章图片|}}}|<td style="text-align:center; border:none; padding:5px;">[[File:{{{徽章图片}}}|85x85px|alt=徽章]]<br/><small>[[{{{徽章链接|徽章}}}|徽章]]</small></td>}}
</tr>
</tr>
</table>
</table>}}
}}


<!-- ================= 核心样式设置 ================= -->
<!-- ================= 样式设置:完全复刻Wiki CSS ================= -->
<!-- Header:浅灰背景,居中,加粗 -->
<!-- Header: 灰色背景,上下有线 -->
| headerstyle = background-color:#f0f0f0; font-weight:bold; text-align:center; padding:0.2em; border-top:1px solid #a2a9b1; border-bottom:1px solid #a2a9b1; line-height:1.4em;
| headerstyle = background-color:#f0f0f0; font-weight:bold; text-align:center; padding:4px; border-top:1px solid #a2a9b1; border-bottom:1px solid #a2a9b1;
<!-- Label (左侧):维基风格是【无背景色】,靠左,字体不加粗或微粗 -->
<!-- Label: 不换行,无背景,加粗,深灰字 -->
| labelstyle = text-align:left; padding:0.2em 0.4em 0.2em 0.1em; font-weight:bold; color:#54595d; white-space:nowrap; vertical-align:top; width:6.5em;
| labelstyle = width:6.5em; white-space:nowrap; vertical-align:top; text-align:left; padding:3px 0.5em; border:none; color:#54595d;
<!-- Data (右侧):无背景色,靠左 -->
<!-- Data: 左对齐 -->
| datastyle = text-align:left; padding:0.2em 0.4em; vertical-align:top; line-height:1.3em;
| datastyle = vertical-align:top; text-align:left; padding:3px 0.5em; border:none;


<!-- ================= 地图 (如果有) ================= -->
<!-- ================= 地图 ================= -->
| image3 = {{#if:{{{地图图像|}}}|[[File:{{{地图图像}}}|250px|alt=地图]]<br/><small>{{{地图说明|}}}</small>}}
| image3 = {{#if:{{{地图图片|}}}|[[File:{{{地图图片}}}|250px|alt=地图]]<br/><small>{{{地图说明|}}}</small>}}
| rowclass3 = mergedrow


<!-- ================= 行政区划 ================= -->
<!-- ================= 行政区划 ================= -->
第90行: 第87行:
| label53 = 居民称谓
| label53 = 居民称谓
| data53 = {{{居民称谓|}}}
| data53 = {{{居民称谓|}}}
| label54 = 市区人口
| data54 = {{{市区人口|}}}
| label55 = 都会区人口
| data55 = {{{都会区人口|}}}


<!-- ================= 经济与其他 ================= -->
<!-- ================= 经济与其他 ================= -->

2025年12月7日 (日) 17:01的版本