模板:Infobox settlement:修订间差异
来自Blockland Wiki
更多操作
无编辑摘要 标签:已被回退 |
无编辑摘要 标签:已被回退 |
||
| 第1行: | 第1行: | ||
{{Infobox | {{Infobox | ||
| bodyclass = geography vcard | | bodyclass = geography vcard | ||
| bodystyle = width:23em; font-size: | | bodystyle = width:23em; font-size: 90%; border: 1px solid #a2a9b1; border-spacing: 0; line-height: 1.4em; background-color: #fff; | ||
<!-- | <!-- ==================== 顶部:还原首尔图的样式 ==================== --> | ||
| abovestyle = | <!-- 顶部名字:白色背景,字号大,带底部分割线 --> | ||
| above = | | abovestyle = font-size:1.35em; font-weight:bold; padding: 0.3em; background-color: #fcfcfc; border-bottom: 1px solid #a2a9b1; line-height: 1.2em; | ||
{{#if:{{{native_name|}}}|<br /><span class="nickname" style="font-size:0. | | above = {{{name|{{{official_name|{{PAGENAMEBASE}}}}}}}} | ||
{{#if:{{{native_name|}}}|<br /><span class="nickname" style="font-size:0.8em; font-weight:normal;">{{{native_name}}}</span>}} | |||
<!-- | <!-- 城市类型:经典的淡蓝色 #cddeff,图中的灵魂 --> | ||
| subheaderstyle = background-color:# | | subheaderstyle = background-color:#cddeff; font-weight:bold; padding: 0.2em; border-bottom: 1px solid #a2a9b1; | ||
| subheader = {{#if:{{{settlement_type|{{{type|}}}}}}|<span class="category">{{{settlement_type|{{{type}}}}}}</span>}} | | subheader = {{#if:{{{settlement_type|{{{type|}}}}}}|<span class="category">{{{settlement_type|{{{type}}}}}}</span>}} | ||
| image1 = {{#if:{{{image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size| | | image1 = {{#if:{{{image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|250px}}}|alt={{{image_alt|}}}}}}} | ||
| caption1 = {{{image_caption|}}} | | caption1 = {{{image_caption|}}} | ||
| caption1style = padding:0. | | caption1style = padding-bottom:0.5em; | ||
| image2 = {{#if:{{{image_map|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map|}}}|size={{{map_size| | | image2 = {{#if:{{{image_map|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map|}}}|size={{{map_size|250px}}}|alt={{{map_alt|}}}}}}} | ||
| caption2 = {{{map_caption|}}} | | caption2 = {{{map_caption|}}} | ||
<!-- ==================== 样式设置 ==================== --> | |||
<!-- | <!-- | ||
Label (左侧): 还原维基经典样式,不加背景色或加极淡背景,左对齐 | |||
Label | Header (标题): 满足你“少用header”的需求,把原来的色块标题改成简单的粗体文字分割,类似图中“转写”的效果 | ||
--> | --> | ||
| labelstyle = | | labelstyle = padding: 2px 6px; text-align: left; font-weight: normal; color: #222; width: 35%; vertical-align: top; | ||
| datastyle = padding: | | datastyle = padding: 2px 6px; text-align: left; vertical-align: top; | ||
<!-- ==================== 行政 | <!-- ==================== 行政 ==================== --> | ||
| label4 = 国家 | <!-- 这里把 header3 的样式改了,去掉背景色,变成左对齐粗体,看起来像图中的“转写” --> | ||
| header3 = {{#if:{{{subdivision_name|}}}{{{subdivision_name1|}}}{{{seat|}}}|'''行政'''}} | |||
| label4 = {{{subdivision_type|国家}}} | |||
| data4 = {{{subdivision_name|}}} | | data4 = {{{subdivision_name|}}} | ||
| | | label5 = {{{subdivision_type1|行政区}}} | ||
| | |||
| data5 = {{{subdivision_name1|}}} | | data5 = {{{subdivision_name1|}}} | ||
| label6 = 政府驻地 | | label6 = {{{seat_type|政府驻地}}} | ||
| data6 = {{{seat|}}} | | data6 = {{{seat|}}} | ||
| label7 = | | label7 = {{{leader_title|市长}}} | ||
| data7 = {{{leader_name|}}} | | data7 = {{{leader_name|}}} | ||
<!-- ==================== 面积 | <!-- ==================== 面积 ==================== --> | ||
| | | header8 = {{#if:{{{area_total_km2|}}}{{{area_land_km2|}}}{{{area_water_km2|}}}|<hr style="margin:3px 0; border:0; border-top:1px solid #eee;" />'''面积'''}} | ||
| label9 = • {{{area_total_type|总计}}} | |||
< | | data9 = {{{area_total_km2|}}} | ||
| label10 = • 陆地 | |||
| data10 = {{{area_land_km2|}}} | |||
| label11 = • 水域 | |||
| data11 = {{{area_water_km2|}}} | |||
| | |||
| | |||
| label11 = | |||
| data11 = | |||
<!-- ==================== 海拔 ==================== --> | <!-- ==================== 海拔 ==================== --> | ||
| | | header12 = {{#if:{{{elevation_m|}}}|<hr style="margin:3px 0; border:0; border-top:1px solid #eee;" />'''海拔'''}} | ||
| data13 = {{{elevation_m|}}} | | data13 = {{{elevation_m|}}} | ||
<!-- ==================== 人口 ==================== --> | <!-- ==================== 人口 ==================== --> | ||
| | | header14 = {{#if:{{{population_total|}}}{{{population_density_km2|}}}{{{population_metro|}}}|<hr style="margin:3px 0; border:0; border-top:1px solid #eee;" />'''人口''' {{#if:{{{population_as_of|}}}|<small>({{{population_as_of}}})</small>}}}} | ||
| label15 = • {{{population_total_type|总计}}} | |||
| data15 = {{{population_total|}}} | | data15 = {{{population_total|}}} | ||
| label16 = • 密度 | |||
| data16 = {{{population_density_km2|}}} | |||
| label17 = • 城市群 | |||
| label16 = | |||
| data16 = | |||
| label17 = | |||
| data17 = {{{population_metro|}}} | | data17 = {{{population_metro|}}} | ||
<!-- ==================== | <!-- ==================== 城市象征 ==================== --> | ||
| header20 = {{#if:{{{blank1_name|}}}|<hr style="margin:3px 0; border:0; border-top:1px solid #eee;" />'''{{{blank1_section_title|城市象征}}}'''}} | |||
| label21 = {{{blank1_name|}}} | | label21 = {{{blank1_name|}}} | ||
| data21 = {{{blank1_info|}}} | | data21 = {{{blank1_info|}}} | ||
| label22 = {{{blank2_name|}}} | | label22 = {{{blank2_name|}}} | ||
| data22 = {{{blank2_info|}}} | | data22 = {{{blank2_info|}}} | ||
| 第100行: | 第75行: | ||
| data25 = {{{blank5_info|}}} | | data25 = {{{blank5_info|}}} | ||
<!-- ==================== | <!-- ==================== 经济 ==================== --> | ||
| header30 = {{#if:{{{gdp_total|}}}{{{gdp_per_capita|}}}|<hr style="margin:3px 0; border:0; border-top:1px solid #eee;" />'''经济'''}} | |||
| label31 = {{{gdp_total_title|GDP}}} | |||
| data31 = {{{gdp_total|}}} | |||
| label32 = {{{gdp_per_capita_title|人均GDP}}} | |||
| data32 = {{{gdp_per_capita|}}} | |||
<!-- ==================== 其他信息 ==================== --> | |||
| header40 = {{#if:{{{timezone|}}}{{{postal_code|}}}{{{area_code|}}}{{{website|}}}|<hr style="margin:3px 0; border:0; border-top:1px solid #eee;" />'''其他信息'''}} | |||
| label41 = 时区 | | label41 = 时区 | ||
| data41 = {{{timezone|}}} | | data41 = {{{timezone|}}} | ||
| label42 = 邮政编码 | | label42 = 邮政编码 | ||
| data42 = {{{postal_code|}}} | | data42 = {{{postal_code|}}} | ||
| 第112行: | 第92行: | ||
| label44 = 网站 | | label44 = 网站 | ||
| data44 = {{{website|}}} | | data44 = {{{website|}}} | ||
}} | }} | ||
2025年11月19日 (三) 17:06的版本
| Infobox settlement |
|---|