Template:Infobox China County/sandbox:修订间差异
外观
// Edit via Wikiplus |
// Edit via Wikiplus |
||
| 第1行: | 第1行: | ||
{{Infobox | {{Infobox | ||
| bodyclass | | bodyclass = geography vcard | ||
| bodystyle | | bodystyle = width:23em | ||
| abovestyle | | abovestyle = font-size:1.25em; white-space:nowrap | ||
| belowstyle | | belowstyle = text-align: center; border-top: solid 1px #ccd2d9; | ||
| headerstyle = text-align:left | | headerstyle = text-align:left | ||
| subheaderstyle = background-color:#cddeff; font-weight:bold; | | subheaderstyle= background-color:#cddeff; font-weight:bold; | ||
| above | | above = <span class="fn org">{{if empty|{{{name|}}}|{{{county|}}}|{{PAGENAME}}}}{{#if:{{{county2|{{{name2|}}}}}}|<br>{{{county2|{{{name2|}}}}}}}}</span>{{#if:{{{other_lang_name|}}}|<br><span class="nickname" style="font-size:90%;">{{#if:{{{other_lang|}}}|{{{other_lang|}}}:}}{{{other_lang_name|}}}{{#if:{{{other_lang2_name|}}}|<br>{{#if:{{{other_lang2|}}}|{{{other_lang2|}}}:}}{{{other_lang2_name|}}}}}{{#if:{{{other_lang3_name|}}}|<br>{{#if:{{{other_lang3|}}}|{{{other_lang3|}}}:}}{{{other_lang3_name|}}}}}</span>}} | ||
| subheader= {{if empty|{{{class|}}}|{{{Types|}}}}} | | subheader = {{if empty|{{{class|}}}|{{{Types|}}}}} | ||
| image | | image = {{#if:{{{image_city|{{{Photo|}}}}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_city|{{{Photo|}}}}}}|size={{{imagesize|{{{Photo size|}}}}}}|sizedefault=250px|title={{{image_caption|{{{Photoname|}}}}}}}}}} | ||
| label1 | | rowclass1 = mergedtoprow | ||
| class1 | | label1 = 简称 | ||
| data1 | | class1 = nickname | ||
| | | data1 = {{{shortname|{{{nickname|}}}}}} | ||
| rowclass2 = {{#if:{{{shortname|}}}{{{nickname|}}}|mergedrow|mergedtoprow}} | |||
| label2 = 别称 | |||
| | | class2 = nickname | ||
| data2 = {{{Othername|}}} | |||
| | | rowclass3 = {{#if:{{{shortname|}}}{{{nickname|}}}{{{Othername|}}}|mergedrow|mergedtoprow}} | ||
| label4 | | label3 = 旧称 | ||
| data4 | | class3 = nickname | ||
| data5 | | data3 = {{{usedname|{{{Oldname|}}}}}} | ||
| data6 | | rowclass4 = {{#if:{{{shortname|}}}{{{nickname|}}}{{{Othername|}}}{{{usedname}}}|{{{Oldname|}}}|mergedrow|mergedtoprow}} | ||
| data7 | | label4 = 地名出处 | ||
| header10 = 概览 | | data4 = {{{nameorigin|}}} | ||
| label12 | | data5 = {{#if:{{{image_map|{{{map|}}}}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map|{{{map}}}}}}|size={{{mapsize|220px}}}}}<br>{{#if:{{{map_caption|}}}|{{{map_caption}}}|{{{name|{{{county}}}}}}的地理位置}}}} | ||
| class12 | | data6 = {{#if:{{{mapofstate|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{mapofstate}}} |size=250px}}<br>{{{state}}}的地理位置}} | ||
| data12 | | data7 = {{#if:{{{customimage|}}}|{{{customimage|}}} }}<!--此行适合放置{{Location map}}等内容。--> | ||
| label13 | | header10 = 概览 | ||
| data13 | | label12 = {{#if:{{{subdivision_name1|{{{Belong|}}}}}} |{{nowrap|隶属行政区}}}} | ||
| label14 | | class12 = region | ||
| data14 | | data12 = {{{subdivision_name1|{{{Belong|}}}}}} |{{{Belong|}}}{{{subdivision_name1|}}}{{{subdivision_name2|}}} | ||
| label15 | | label13 = 区划类别 | ||
| data15 | | data13 = {{{class|{{{Types|}}}}}} | ||
| label16 | | label14 = {{#if:{{{admini_division_code|{{{admincode|}}}}}}|区划代码}} | ||
| data16 | | data14 = {{#if:{{{admini_division_code|{{{admincode|}}}}}}|{{str replace|{{{admini_division_code|{{{admincode|}}}}}}| |}}}} | ||
| label17 | | label15 = {{{established_title|建置时间}}} | ||
| data17 | | data15 = {{{established_date|{{{founded|}}}}}} | ||
| label18 | | label16 = {{{dissolved_title|撤销时间}}} | ||
| class18 | | data16 = {{{dissolved_date|{{{dissolved|}}}}}} | ||
| data18 | | label17 = 毗邻 | ||
| label19 | | data17 = {{{neighbor|}}} | ||
| data19 | | label18 = '''政府驻地''' | ||
| label20 | | class18 = locality | ||
| data20 | | data18 = {{{location|{{{seat|}}}}}} | ||
| label21 | | label19 = {{{leader_title|{{{officerTitle|区长}}}}}} | ||
| data21 | | data19 = {{{leader_name|{{{officer|}}}}}} | ||
| label22 | | label20 = {{{leader_title1|{{{officerTitle2|区长}}}}}} | ||
| data22 | | data20 = {{{leader_name1|{{{officer2|}}}}}} | ||
| label23 | | label21 = {{{leader_title2|{{{officerTitle3|区长}}}}}} | ||
| data23 | | data21 = {{{leader_name2|{{{officer3|}}}}}} | ||
| label24 | | label22 = {{{leader_title3|{{{officerTitle4|区长}}}}}} | ||
| data24 | | data22 = {{{leader_name3|{{{officer4|}}}}}} | ||
| label25 | | label23 = {{{leader_title4|{{{officerTitle5|区长}}}}}} | ||
| label25style = font-weight:normal | | data23 = {{{leader_name4|{{{officer5|}}}}}} | ||
| data25 | | label24 = {{#if:{{{subdistrict|}}}{{{township|}}}{{{town|}}}{{{division|}}}|乡级行政区数}} | ||
| label26 | | data24 = {{#if:{{{subdistrict|}}}{{{township|}}}{{{town|}}}{{{division|}}}|{{{division|{{#expr:{{{town|0}}}+{{{township|0}}}+{{{ethnic_township|0}}}+{{{subdistrict|0}}}+{{{sum|0}}}+{{{hall|0}}}}}}}}}} | ||
| label26style = font-weight:normal | | label25 = {{#if:{{{town|}}}| - 镇数}} | ||
| data26 | | label25style = font-weight:normal | ||
| label27 | | data25 = {{{town|}}} | ||
| label27style = font-weight:normal | | label26 = {{#if:{{{township|}}}| - 乡数}} | ||
| data27 | | label26style = font-weight:normal | ||
| label28 | | data26 = {{{township|}}} | ||
| label28style = font-weight:normal | | label27 = {{#if:{{{ethnic_township|}}}| - 民族乡数}} | ||
| data28 | | label27style = font-weight:normal | ||
| label29 | | data27 = {{{ethnic_township|}}} | ||
| label29style = font-weight:normal | | label28 = {{#if:{{{subdistrict|}}}| - 街道数}} | ||
| data29 | | label28style = font-weight:normal | ||
| label31 | | data28 = {{{subdistrict|}}} | ||
| data31 | | label29 = {{#if:{{{hall|}}}| - 县辖区数}} | ||
| label32 | | label29style = font-weight:normal | ||
| data32 | | data29 = {{{hall|}}} | ||
| label33 | | label31 = 城市精神 | ||
| data33 | | data31 = {{{spirit|}}} | ||
| label34 | | label32 = 城市定位 | ||
| data34 | | data32 = {{{position|}}} | ||
| label33 = 方言 | |||
| data33 = {{{dialect|}}} | |||
| label34 = [[云南各县各民族比例|民族比例]] | |||
| data34 = {{{nation|}}} | |||
| header40 = {{#if:{{{area | | header40 = {{#if:{{{area|}}}{{{area_total|}}}{{{climate|}}}{{{temperature_mean|}}}{{{coordinate|}}}|地理}} | ||
| label41 | | label41 = 经纬度 | ||
| data41 | | data41 = {{{coordinate|}}} | ||
| label42 | | label42 = {{#if:{{{latd|}}}|中心坐标}} | ||
| data42 | | data42 = {{#if:{{{latd|}}}|{{coord|{{{latd}}}|{{{latm}}}|{{{lats|0}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longs|0}}}|{{{longEW}}}}} }} | ||
| label43 | | label43 = 总面积 | ||
| data43 | | data43 = {{{area_total|}}}{{#if:{{{area_total|}}}|平方千米}} | ||
| label44 | | label44 = {{#if:{{{area_urban_district|}}}|{{nowrap| - 市区}}}} | ||
| label44style = font-weight:normal | | label44style = font-weight:normal | ||
| data44 | | data44 = {{{area_urban_district|}}}{{#if:{{{area_urban_district|}}}|平方千米}} | ||
| label45 | | label45 = {{#if:{{{area_urban|}}}|{{nowrap| - 城区}}}} | ||
| label45style = font-weight:normal | | label45style = font-weight:normal | ||
| data45 | | data45 = {{{area_urban|}}}{{#if:{{{area_urban|}}}|平方千米}} | ||
| label46 | | label46 = {{#if:{{{area_builtup|}}}|{{nowrap| - 建成区{{#if:{{{area_builtup_as_of|}}}|<sup>({{{area_builtup_as_of|}}})</sup>}}}}}} | ||
| label46style = font-weight:normal | | label46style = font-weight:normal | ||
| data46 | | data46 = {{#if:{{{area_builtup|}}}|{{{area_builtup}}}平方千米}} | ||
| label47 | | label47 = {{#if:{{{area_land|{{{area land|}}}}}}| - 陆地<sup>(含水域)<sup>}} | ||
| label47style = font-weight:normal | | label47style = font-weight:normal | ||
| data47 | | data47 = {{{area_land|{{{area land|}}}}}}{{#if:{{{area_land|}}}|平方千米}} | ||
| label48 | | label48 = {{#if:{{{area_water|{{{area water|}}}}}}| - 水域}} | ||
| label48style = font-weight:normal | | label48style = font-weight:normal | ||
| data48 | | data48 = {{{area_water|{{{area water|}}}}}}{{#if:{{{area_water|}}}|平方千米}} | ||
| label49 | | label49 = {{#if:{{{area_sea|{{{area sea|}}}}}}| - 海域}} | ||
| label49style = font-weight:normal | | label49style = font-weight:normal | ||
| data49 | | data49 = {{{area_sea|{{{area sea|}}}}}}{{#if:{{{area_sea|}}}|平方千米}} | ||
| label50 | | label50 = 海拔 | ||
| data50 | | data50 = {{{elevation|}}}{{#if:{{{elevation|}}}|米}} | ||
| label51 | | label51 = 最長河流 | ||
| data51 | | data51 = {{{L river|}}} | ||
| label52 | | label52 = 最大湖泊 | ||
| data52 | | data52 = {{{L Lakes|}}} | ||
| label53 | | label53 = 海岸线 | ||
| data53 | | data53 = {{{coastline|}}} | ||
| label54 | | label54 = 气候类型 | ||
| data54 | | data54 = {{{climate|}}} | ||
| label55 | | label55 = 年平均气温 | ||
| data55 | | data55 = {{{temperature_mean|}}}{{#if:{{{temperature_mean|}}}| ℃}} | ||
| label56 | | label56 = 年降水量 | ||
| data56 | | data56 = {{{precipitation|}}}{{#if:{{{precipitation|}}}|毫米}} | ||
| label57 | | label57 = 年日照时数 | ||
| data57 | | data57 = {{{sunshine hrs|}}}{{#if:{{{sunshine hrs|}}}|小时}} | ||
| header60 = {{#if:{{{pop | | header60 = {{#if:{{{pop|}}}{{{population_total|}}}{{{Housepop|}}}{{{density|}}}{{{GDP|}}}{{{GDPPC|}}}|人口及经济}} | ||
| label61 | | label61 = {{nowrap|总人口{{#if:{{{census yr|{{{population_as_of|}}}}}}|<sup>{{nobold|({{{census yr|{{{population_as_of|}}}}}})}}</sup>}}}} | ||
| data61 | | data61 = {{{pop|{{{population_total|}}}}}}{{#if:{{{population_total|}}}|万人}} | ||
| label62 | | label62 = {{#if:{{{Housepop|}}}| - 户籍人口}} | ||
| label62style = font-weight:normal | | label62style = font-weight:normal | ||
| data62 | | data62 = {{{Housepop|}}} | ||
| label63 | | label63 = {{#if:{{{Repop|}}}| - 常住人口}} | ||
| label63style = font-weight:normal | | label63style = font-weight:normal | ||
| data63 | | data63 = {{{Repop|}}} | ||
| label64 | | label64 = {{#if:{{{TR|}}}| - 暂住人口}} | ||
| label64style = font-weight:normal | | label64style = font-weight:normal | ||
| data64 | | data64 = {{{TR|}}} | ||
| label65 | | label65 = {{#if:{{{pop_urban|{{{population_urban|}}}}}}| - 城区人口}} | ||
| label65style = font-weight:normal | | label65style = font-weight:normal | ||
| data65 | | data65 = {{{pop_urban|{{{population_urban|}}}}}}{{#if:{{{population_urban_as_of|}}}|<sup>({{{population_urban_as_of|}}})</sup>}} | ||
| label66 | | label66 = {{nowrap|人口密度}} | ||
| data66 | | data66 = {{{density|{{{population_density|}}}}}} | ||
| label67 | | label67 = {{#if:{{{density_urban|}}}|{{nowrap| - 城区人口密度}}}} | ||
| label67style = font-weight:normal | | label67style = font-weight:normal | ||
| data67 | | data67 = {{{density_urban|}}} | ||
| label68 | | label68 = {{#if:{{{GDP|}}}|[[云南各县国内生产总值|GDP]]{{#if:{{{GDP_as_of|{{{GDP as of|}}}}}}|<sup>{{nobold|({{{GDP_as_of|{{{GDP as of|}}}}}})}}</sup>}}}} | ||
| data68 | | data68 = {{{GDP|}}}{{#if:{{{GDP|}}}|元人民币}} | ||
| label69 | | label69 = {{#if:{{{GDPPC|}}}|人均GDP}} | ||
| data69 | | data69 = {{{GDPPC|}}}{{#if:{{{GDPPC|}}}|元人民币}} | ||
| header80 = {{#if:{{{city_tree|}}}{{{county_tree|}}}{{{city_flower|}}}{{{county_flower|}}}{{{city_anthem|}}}{{{county_anthem|}}}{{{city_anthem|}}}{{{post code|}}}{{{phone code|}}}{{{carlicense|}}}|其它}} | | header80 = {{#if:{{{city_tree|}}}{{{county_tree|}}}{{{city_flower|}}}{{{county_flower|}}}{{{city_anthem|}}}{{{county_anthem|}}}{{{city_anthem|}}}{{{post code|}}}{{{phone code|}}}{{{carlicense|}}}|其它}} | ||
| label82 | | label82 = 市树 | ||
| data82 | | data82 = {{{city_tree|}}} | ||
| label83 | | label83 = 县树 | ||
| data83 | | data83 = {{{county_tree|}}} | ||
| label84 | | label84 = 市花 | ||
| data84 | | data84 = {{{city_flower|}}} | ||
| label85 | | label85 = 县花 | ||
| data85 | | data85 = {{{county_flower|}}} | ||
| label86 | | label86 = 市歌 | ||
| data86 | | data86 = {{{city_anthem|}}} | ||
| label87 | | label87 = 县歌 | ||
| data87 | | data87 = {{{county_anthem|}}} | ||
| label88 | | label88 = [[云南邮政编码列表|邮政编码]] | ||
| data88 | | data88 = {{{post code|{{{postcode|}}}}}} | ||
| label89 | | label89 = 电话区号 | ||
| data89 | | data89 = {{#if:{{{phone code|}}}|{{tel|86|{{{phone code|}}}}}}} | ||
| label90 | | label90 = 车牌首号 | ||
| data90 | | data90 = {{{carlicense|}}} | ||
| below | | below = {{#if: {{{web|}}}{{{website|}}}|'''网站:'''}}{{{website|}}}{{#if: {{{web|}}}|{{URL|{{{web|}}}|{{{web_title|}}}}}}}<!-- | ||
-->{{#if: {{{footnotes|}}}|<br /><small style="text-align: left; background-color: #eee">{{{footnotes}}}</small> }} | -->{{#if: {{{footnotes|}}}|<br /><small style="text-align: left; background-color: #eee">{{{footnotes}}}</small> }} | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
2023年2月26日 (日) 00:25的版本
| Infobox China County/sandbox | |
|---|---|
| 概览 |
| File:Sandbox.svg | 这是Template:Infobox China County(差异)的沙盒。 参见本模板的测试样例。 |
用法
| {{{county}}} {{{county2}}} {{{other_lang}}}:{{{other_lang_name}}} {{{other_lang2}}}:{{{other_lang2_name}}} | |
|---|---|
| {{{Types}}} | |
| [[File:{{{Photo}}}|{{{imagesize}}}|{{{Photoname}}}]] | |
| 简称 | {{{shortname}}} |
| 别称 | {{{Othername}}} |
| 旧称 | {{{Oldname}}} |
| 地名出处 | {{{nameorigin}}} |
| [[File:{{{image_map}}}|{{{mapsize}}}]] {{{map_caption}}} | |
| [[File:{{{mapofstate}}}|250px]] {{{state}}}的地理位置 | |
| {{{customimage}}} | |
| 概览 | |
| 隶属行政区 | {{{Belong}}} |
| 区划类别 | {{{Types}}} |
| 区划代码 | {{{admincode}}} |
| 建置时间 | {{{founded}}} |
| 撤销时间 | {{{dissolved}}} |
| 毗邻 | {{{neighbor}}} |
| 政府驻地 | {{{seat}}} |
| {{{officerTitle}}} | {{{officer}}} |
| {{{officerTitle2}}} | {{{officer2}}} |
| 乡级行政区数 | {{{division}}} |
| - 镇数 | {{{town}}} |
| - 乡数 | {{{township}}} |
| - 民族乡数 | {{{ethnic_township}}} |
| - 街道数 | {{{subdistrict}}} |
| 城市精神 | {{{spirit}}} |
| 城市定位 | {{{position}}} |
| 方言 | {{{dialect}}} |
| 民族比例 | {{{nation}}} |
| 地理 | |
| 经纬度 | {{{coordinate}}} |
| 总面积 | {{{area_total}}}平方千米 |
| - 城区 | {{{area_urban}}}平方千米 |
| - 建成区 | {{{area_builtup}}}平方千米 |
| - 陆地(含水域) | {{{area_land}}}平方千米 |
| - 水域 | {{{area_water}}}平方千米 |
| 海拔 | {{{elevation}}}米 |
| 最长河流 | {{{L river}}} |
| 最大湖泊 | {{{L Lakes}}} |
| 气候类型 | {{{climate}}} |
| 年平均气温 | {{{temperature_mean}}} ℃ |
| 年降水量 | {{{precipitation}}}毫米 |
| 年日照时数 | {{{sunshine hrs}}}小时 |
| 人口及经济 | |
| 总人口({{{census yr}}}) | {{{population_total}}}万人 |
| - 户籍人口 | {{{Housepop}}} |
| - 常住人口 | {{{Repop}}} |
| - 暂住人口 | {{{TR}}} |
| - 城区人口 | {{{population_urban}}} |
| 人口密度 | {{{population_density}}} |
| - 城区人口密度 | {{{density_urban}}} |
| GDP({{{GDP_as_of}}}) | {{{GDP}}}元人民币 |
| 人均GDP | {{{GDPPC}}}元人民币 |
| 其它 | |
| 市树 | {{{city_tree}}} |
| 县树 | {{{county_tree}}} |
| 市花 | {{{city_flower}}} |
| 县花 | {{{county_flower}}} |
| 市歌 | {{{city_anthem}}} |
| 县歌 | {{{county_anthem}}} |
| 邮政编码 | {{{postcode}}} |
| 电话区号 | +86 (0){{{phone code}}} |
| 车牌首号 | {{{carlicense}}} |
| 网站:{{{web_title}}} {{{footnotes}}} | |
{{Infobox China County
|county = <!-- 区县名称 -->
|Types = <!-- 县、自治县、县级市、市辖区 -->
|Photo = <!-- 代表照片 -->
|imagesize = <!-- 照片尺寸 -->
|Photoname = <!-- 照片说明 -->
|other_lang_name = <!-- 其他语言名称 -->
|other_lang = <!-- 语言 -->
|shortname = <!-- 简称 -->
|Othername = <!-- 别称 -->
|Oldname = <!-- 旧称 -->
|nameorigin = <!-- 地名出处 -->
|map = <!-- 地图文件(可自动调用) -->
|mapsize = <!-- 地图尺寸 -->
|map_caption = <!-- 地图说明 -->
|coordinate = <!-- {{coord||N||E|display=inline}} -->
<!-- 概览 -->
|Belong = <!-- [[云南省]][[XX市]] -->
|admincode = <!-- 行政区划代码 -->
|founded = <!-- 建制时间 -->
|dissolved = <!-- 撤销时间 -->
|seat = <!-- 政府所在地 -->
|division = <!-- 乡级区划数 -->
|town = <!-- 镇数 -->
|township = <!-- 乡数 -->
|ethnic_township = <!-- 民族乡数 -->
|subdistrict = <!-- 街道数 -->
|officerTitle = <!-- 官衔1 -->
|officer = <!-- 名字1 -->
|officerTitle2 = <!-- 官衔2 -->
|officer2 = <!-- 名字2 -->
<!-- 地理 -->
|area_total = <!-- 总面积(平方千米) -->
|area_urban = <!-- 城区面积(平方千米) -->
|area_builtup = <!-- 建成区面积(平方千米) -->
|area_land = <!-- 陆地面积(平方千米) -->
|area_water = <!-- 水域面积(平方千米) -->
|elevation = <!-- 海拔(米) -->
|climate = <!-- 气候类型 -->
|temperature_mean= <!-- 年均温(℃) -->
|precipitation = <!-- 年降水(毫米) -->
|sunshine hrs = <!-- 年日照(小时) -->
|L river = <!-- 最长河流 -->
|L Lakes = <!-- 最大湖泊 -->
<!-- 人口及经济 -->
|census yr = <!-- 人口统计年份 -->
|population_total= <!-- 总人口(万人) -->
|Housepop = <!-- 户籍人口 -->
|Repop = <!-- 常住人口 -->
|TR = <!-- 暂住人口 -->
|population_urban= <!-- 城区人口 -->
|population_density= <!-- 人口密度(人/平方公里) -->
|density_urban = <!-- 城区人口密度(人/平方公里) -->
|nation = <!-- 民族比例 -->
|dialect = <!-- 方言 -->
|GDP = <!-- 国内生产总值(元人民币) -->
|GDPPC = <!-- 人均GDP(元人民币) -->
|GDP_as_of = <!-- GDP统计年份 -->
<!-- 其他 -->
|post code = <!-- 邮政编码 -->
|phone code = <!-- 电话区号 -->
|carlicense = <!-- 车牌首号 -->
|neighbor = <!-- 毗邻 -->
|spirit = <!-- 城市精神 -->
|position = <!-- 城市定位 -->
|web = <!-- 官方网站 -->
|web_title = <!-- 网站名称 -->
|footnotes = <!-- 脚注 -->
}}
参见
- Template:Infobox China Prefecture:地级行政区信息框
- Template:中国乡级行政区:乡级行政区信息框
| 上述文档嵌入自Template:Infobox China County/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (编辑 | 差异)和测试样例 (编辑)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |