Template:Infobox political division/doc
This is a documentation |
40x40px | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This infobox template should be used for any political entity, subnational division, or dependent territory where {{Infobox country}} would not be appropriate but where the flexibility to show country-level or first-level information is desired.
Syntax[edit source]
{{Infobox political division | name = | native_name = | settlement_type = | image_skyline = | imagesize = | image_caption = | image_flag = | flag_size = | flag_link = | image_seal = | seal_size = | seal_type = | seal_link = | etymology = | nickname = | motto = | image_map = | map_caption = | subdivision_type = | subdivision_name = | established_title = | established_date = | established_title2 = | established_date2 = | established_title3 = | established_date3 = | founder = | named_for = | government_type = | leader_title1 = | leader_name1 = | leader_title2 = | leader_name2 = | leader_title3 = | leader_name3 = | leader_title4 = | leader_name4 = | legislature = | upper_house = | lower_house = | national_representation = | national_representation_type1 = | national_representation1 = | national_representation_type2 = | national_representation2 = | area_km2 = | area_rank = | area_sq_mi = | percent_water = | population_estimate = | population_census = | population_estimate_year = | population_estimate_rank = | population_census_year = | population_density_km2 = | population_density_sq_mi = <!-- Do not remove as per WP:MOSNUM --> | population_density_rank = | elevation_footnotes = | elevation_m = | GVA = <!-- GVA is UK specific --> | GVA_year = | GVA_rank = | GVA_per_capita = | GVA_per_capita_rank = | GDP_PPP = | GDP_PPP_year = | GDP_PPP_rank = | GDP_PPP_per_capita = | GDP_PPP_per_capita_rank = | GDP_nominal = | GDP_nominal_year = | GDP_nominal_rank = | GDP_nominal_per_capita = | GDP_nominal_per_capita_rank = | Gini = | Gini_year = | Gini_change = <!-- increase/decrease/steady --> | Gini_ref = | HDI = <!-- number only --> | HDI_year = <!-- Please use the year to which the data refers, not the publication year--> | HDI_change = <!-- increase/decrease/steady --> | HDI_ref = | HDI_rank = | currency = | currency_code = | timezone = | utc_offset = | date_format = | drives_on = | calling_code = | iso_code = | cctld = | website = | footnotes = }}
Examples[edit source]
{{Infobox | child = | bodyclass = geography vcard | bodystyle = width:23em
| headerstyle = text-align:left
| abovestyle = font-size:1.25em;line-height:1.2em;
| above =
| subheaderstyle = background-color:#cddeff; font-weight:bold;
| subheader =
| rowclass1 = mergedtoprow | rowcellstyle1 = font-weight:bold; | data1 =
| rowclass2 = mergedtoprow | header2 =
| rowclass3 = mergedbottomrow | label3 = • {{{translit_lang1_type}}} | data3 =
| rowclass4 = mergedbottomrow | label4 = • {{{translit_lang1_type1}}} | data4 =
| rowclass5 = mergedbottomrow | label5 = • {{{translit_lang1_type2}}} | data5 =
| rowclass6 = mergedbottomrow | label6 = • {{{translit_lang1_type3}}} | data6 =
| rowclass7 = mergedbottomrow | label7 = • {{{translit_lang1_type4}}} | data7 =
| rowclass8 = mergedbottomrow | label8 = • {{{translit_lang1_type5}}} | data8 =
| rowclass9 = mergedbottomrow | label9 = • {{{translit_lang1_type6}}} | data9 =
| rowclass10 = mergedtoprow | header10 =
| rowclass11 = mergedbottomrow | label11 = • {{{translit_lang2_type}}} | data11 =
| rowclass12 = mergedbottomrow | label12 = • {{{translit_lang2_type1}}} | data12 =
| rowclass13 = mergedbottomrow | label13 = • {{{translit_lang2_type2}}} | data13 =
| rowclass14 = mergedbottomrow | label14 = • {{{translit_lang2_type3}}} | data14 =
| rowclass15 = mergedbottomrow | label15 = • {{{translit_lang2_type4}}} | data15 =
| rowclass16 = mergedbottomrow | label16 = • {{{translit_lang2_type5}}} | data16 =
| rowclass17 = mergedbottomrow | label17 = • {{{translit_lang2_type6}}} | data17 =
| rowclass18 = mergedtoprow
| data18 = {{#if:TE-Collage Hong Kong.png|[[TE-Collage Hong Kong.png|250px |alt=
}}
| rowclass19 = mergedtoprow | class19 = maptable
| data19 =
size=125px|alt= Flag | size=85px|alt= Emblem |
| rowclass20 = mergedtoprow | data20 = Etymology: Fragrant harbour | rowclass21 = mergedrow
| data21 = Nickname(s):
| rowclass22 = mergedrow | data22 = | rowclass23 = mergedrow | data23 = | rowclass24 = mergedrow | data24 = | rowclass25 = mergedtoprow
| data25 = size=|alt=
| rowclass26 = mergedrow | data26 =
| rowclass27 = mergedtoprow | data27 =
| rowclass28 = mergedbottomrow | label28 = Grid position | data28 =
| rowclass29 = | label29 = Sovereign state | data29 = China
| rowclass30 = mergedrow | label30 = {{{subdivision_type1}}} | data30 =
| rowclass31 = mergedrow | label31 = {{{subdivision_type2}}} | data31 =
| rowclass32 = mergedrow | label32 = {{{subdivision_type3}}} | data32 =
| rowclass33 = mergedrow | label33 = {{{subdivision_type4}}} | data33 =
| rowclass34 = mergedrow | label34 = {{{subdivision_type5}}} | data34 =
| rowclass35 = mergedrow | label35 = {{{subdivision_type6}}} | data35 =
| rowclass36 = mergedtoprow | label36 = Treaty of Nanking | data36 = 29 August 1842
| rowclass37 = mergedrow | label37 = {{{established_title1}}} | data37 =
| rowclass38 = mergedrow | label38 = Sino-British Joint Declaration | data38 = 19 December 1984
| rowclass39 = mergedrow | label39 = Transfer from the United Kingdom | data39 = 1 July 1997
| rowclass40 = mergedrow | label40 = {{{established_title4}}} | data40 =
| rowclass41 = mergedrow | label41 = {{{established_title5}}} | data41 =
| rowclass42 = mergedrow | label42 = {{{established_title6}}} | data42 =
| rowclass43 = mergedrow | label43 = {{{established_title7}}} | data43 =
| rowclass44 = mergedrow | label44 = {{{extinct_title}}} | data44 =
| rowclass45 = mergedrow | label45 = Founded by | data45 =
| rowclass46 = mergedrow | label46 = Named for | data46 = Fragrant Harbour
| rowclass47 = | label47 = Capital | data47 =
| rowclass48 = | label48 = Administrative center | data48 =
| rowclass49 = | label49 = Largest city | data49 =
| label50 = Official languages | data50 = | rowclass51 = mergedrow | label51 = Recognised languages | data51 = | rowclass52 = mergedrow | label52 = Recognised national languages | data52 = | rowclass53 = mergedrow | label53 = Recognised regional languages | data53 = | label54 = Common languages | data54 =
| rowclass55 =
| label55 =Other languages
| data55 =
| rowclass56 = | label56 = Other languages | data56 =
| label57 = Ethnic groups
| data57 =
| label58 = Religion
| data58 =
| label59 = Demonym(s) | data59 =
| label60 = Government | data60 = Devolved executive-led system within a socialist republic | header61 =
| rowclass62 = mergedrow
| data62 =
Geoffrey Ma | label63 = Legislature | data63 = Legislative Council | rowclass64 = mergedrow | label64 =
| data64 = | rowclass65 = mergedbottomrow
| label65 =
| data65 =
| header66 = National representation | rowclass67 = mergedrow
| label67 =
| data67 = 36 deputies | rowclass68 = mergedbottomrow
| label68 =
| data68 = 203 delegates
| rowclass69 = mergedtoprow | header69 = Area
| rowclass70 = mergedrow
| label70 =
| data70 = Template:Convinfobox/prisec2 (168th)
| rowclass71 = mergedrow
| label71 =
| data71 =
| rowclass72 = mergedrow
| label72 =
| data72 =
| rowclass73 = mergedbottomrow
| label73 =
| data73 = 59.8 (1648 km2; 636 sq mi)
| rowclass74 = mergedbottomrow
| label74 =
| data74 =
| rowclass75 = mergedbottomrow
| label75 =
| data75 =
| rowclass76 = mergedbottomrow | label76 = | data76 =
| rowclass77 = mergedbottomrow | label77 = | data77 =
| rowclass78 = mergedbottomrow | label78 = | data78 =
| rowclass79 = mergedbottomrow | label79 = | data79 =
| rowclass80 = mergedbottomrow | label80 = | data80 =
| rowclass81 =
| label81 = Elevation
| data81 = 954 m (3,130 ft)
| rowclass82 = mergedrow
| label82 = Highest elevation
| data82 = | rowclass83 = mergedbottomrow | label83 = • Rank | data83 =
| rowclass84 = mergedbottomrow
| label84 = Lowest elevation
| data84 = | rowclass85 = mergedbottomrow | label85 = • Rank | data85 =
| rowclass90 = mergedtoprow
| header90 = Population
| rowclass91 = mergedrow
| label91 =
| data91 = 7,482,500 (102nd) | rowclass92 = mergedrow
| label92=
| data92=
| rowclass93= mergedrow
| label93=
| data93=
| rowclass94= mergedrow | data94=
| rowclass95= mergedrow
| label95=
| data95=
| rowclass96 = mergedbottomrow
| label96=
| data96= Template:Convinfobox/prisec2 (4th)
| rowclass107= mergedtoprow | label107= GVA | data107=
| rowclass108= mergedrow
| label108=
| data108= | rowclass109= mergedbottomrow
| label109=
| data109=
| rowclass110= mergedtoprow | label110= GDP (PPP) | data110= 2019 estimate | rowclass111= mergedrow
| label111=
| data111= $502 billion (44th) | rowclass112= mergedbottomrow
| label112=
| data112= $66,517 (10th)
| rowclass113= mergedtoprow | label113= GDP (nominal) | data113= 2019 estimate
| rowclass114= mergedrow
| label114=
| data114= $381 billion (35th) | rowclass115= mergedbottomrow
| label115=
| data115= $50,542 (16th)
| label116= Gini (2016)
| data116= 53.9
high
| label117= HDI (2017)
| data117= ▲ 0.933
very high · 7th
| label118= Currency | data118= Hong Kong dollar (HK$) (HKD)
| rowclass119 = mergedbottomrow
| header119 =
| rowclass120 = mergedtoprow
| label120 = Time zone
| data120 = UTC+8:00 (HKT)
| rowclass121 = mergedbottomrow
| label121 =
| data121 =
| label130 = Date format
| data130= dd-mm-yyyy
yyyy年mm月dd日
| label131 = Mains electricity | data131=
| label132= Driving side | data132= left
| rowclass133 = mergedtoprow | label133= Calling code | data133= +852
| rowclass134 = mergedrow | label134 = {{{postal_code_type}}} | data134 =
| rowclass135 = mergedrow | label135 = {{{postal2_code_type}}} | data135 =
| rowclass136 = mergedbottomrow | label136= ISO 3166 code | data136= HK
| label137= Internet TLD
| data137=
| rowclass139 = mergedtoprow | label139 = | data139 =
| rowclass140 = mergedrow | label140 = | data140 =
| rowclass141 = mergedrow | label141 = | data141 =
| rowclass142 = mergedrow | label142 = | data142 =
| rowclass143 = mergedrow | label143 = | data143 =
| rowclass144 = mergedrow | label144 = | data144 =
| rowclass145 = mergedrow | label145 = | data145 =
| rowclass146 = mergedbottomrow | label146 = | data146 =
| rowclass147 = mergedtoprow | label147 = {{{blank_name_sec2}}} | data147 =
| rowclass148 = mergedrow | label148 = {{{blank1_name_sec2}}} | data148 =
| rowclass149 = mergedrow | label149 = {{{blank2_name_sec2}}} | data149 =
| rowclass150 = mergedrow | label150 = {{{blank3_name_sec2}}} | data150 =
| rowclass151 = mergedrow | label151 = {{{blank4_name_sec2}}} | data151 =
| rowclass152 = mergedrow | label152 = {{{blank5_name_sec2}}} | data152 =
| rowclass153 = mergedrow | label153 = {{{blank6_name_sec2}}} | data153 =
| rowclass154 = mergedbottomrow | label154 = {{{blank7_name_sec2}}} | data154 =
| label155 = Website | data155 = Template:URL
| belowstyle = text-align:left; | belowrowclass = mergedtoprow | below = }} }}
<!-- NOTE: This differs from the actual Hong Kong infobox in order to provide examples. -->
{{Infobox political division
| name = Hong Kong
| native_name = 香港
| settlement_type = [[Special administrative regions of China|Special administrative region]]
| image_skyline = TE-Collage Hong Kong.png
| imagesize = 250px <!--default is 250px-->
| image_caption = Clockwise from top: Hong Kong skyline at night, [[Tian Tan Buddha]], [[International Finance Centre (Hong Kong)|International Finance Centre]], [[Kennedy Town]], [[Nathan Road]], [[Avenue of Stars, Hong Kong|Avenue of Stars]], [[Government House, Hong Kong|Government House]], and [[Tsing Ma Bridge]]
| image_flag = Flag of Hong Kong.svg
| flag_size = 125px
| flag_link = Flag of Hong Kong
| image_seal = Hong Kong SAR Regional Emblem.svg
| seal_size = 85px
| seal_type = Emblem
| seal_link = Emblem of Hong Kong
| etymology = Fragrant harbour
| nickname = Pearl of the Orient
| motto =
| image_map = Hong Kong Location with districts.svg
| map_caption = Location of Hong Kong
| subdivision_type = [[Sovereign state]]
| subdivision_name = [[China]]
| established_title = {{nowrap|[[Treaty of Nanking]]}}
| established_date = 29 August 1842
| established_title2 = [[Sino-British Joint Declaration]]
| established_date2 = 19 December 1984
| established_title3 = [[Handover of Hong Kong|Transfer from the United Kingdom]]
| established_date3 = 1 July 1997
| founder =
| named_for = Fragrant Harbour
| government_type = [[Devolution|Devolved]] [[Executive (government)|executive-led]] system within a socialist republic
| leader_title1 = [[Chief Executive of Hong Kong|Chief Executive]]
| leader_name1 = [[Carrie Lam]]
| leader_title2 = [[Chief Secretary for Administration|Chief Secretary]]
| leader_name2 = [[Matthew Cheung]]
| leader_title3 = [[President of the Legislative Council of Hong Kong|LegCo President]]
| leader_name3 = [[Andrew Leung]]
| leader_title4 = [[Chief Justice of the Court of Final Appeal|Chief Justice]]
| leader_name4 = [[Geoffrey Ma]]
| legislature = [[Legislative Council of Hong Kong|Legislative Council]]
| area_km2 = 2755
| area_rank = 168th
| area_sq_mi = 1,064
| percent_water = 59.8 (1648 km{{smallsup|2}}; 636 sq mi)
| population_estimate = 7,482,500
| population_census =
| population_estimate_year = 2018
| population_estimate_rank = 102nd
| population_census_year =
| population_density_km2 = 6,777
| population_density_sq_mi = 17,024 <!-- Do not remove as per WP:MOSNUM -->
| population_density_rank = 4th
| elevation_footnotes =
| elevation_m = 954
| GDP_PPP = $502 billion
| GDP_PPP_year = 2019
| GDP_PPP_rank = 44th
| GDP_PPP_per_capita = $66,517
| GDP_PPP_per_capita_rank = 10th
| GDP_nominal = $381 billion
| GDP_nominal_year = 2019
| GDP_nominal_rank = 35th
| GDP_nominal_per_capita = $50,542
| GDP_nominal_per_capita_rank = 16th
| Gini = 53.9
| Gini_year = 2016
| Gini_change = increase <!-- increase/decrease/steady -->
| Gini_ref =
| HDI = 0.933 <!-- number only -->
| HDI_year = 2017<!-- Please use the year to which the data refers, not the publication year-->
| HDI_change = increase<!-- increase/decrease/steady -->
| HDI_ref =
| HDI_rank = 7th
| currency = [[Hong Kong dollar]] (HK$)
| currency_code = HKD
| time_zone = [[Hong Kong Time]]
| utc_offset = +8
| date_format = dd-mm-yyyy<br />yyyy年mm月dd日
| drives_on = [[Right- and left-hand traffic|left]]
| calling_code = [[+852]]
| iso_code = HK
| cctld = {{hlist|[[.hk]]|[[.香港]]}}
| website = {{URL|gov.hk}}
| footnotes =
}}
Tracking categories[edit source]