Template:Infobox dependency: Difference between revisions
Jump to navigation
Jump to search
en>Frietjes (bypass redirect per request) |
(Fixed red links) |
||
(One intermediate revision by one other user not shown) | |||
Line 317: | Line 317: | ||
| data58 = {{{languages2|}}} | | data58 = {{{languages2|}}} | ||
| label59 = | | label59 = {{wp|Ethnic group|Ethnic groups}} <!-- | ||
-->{{#if:{{{ethnic_groups_year|}}} |<div style="font-weight:normal;display:inline;"> ({{{ethnic_groups_year}}}){{{ethnic_groups_ref|}}}</div>|<div style="font-weight:normal;display:inline;">{{{ethnic_groups_ref|}}}</div>}} | -->{{#if:{{{ethnic_groups_year|}}} |<div style="font-weight:normal;display:inline;"> ({{{ethnic_groups_year}}}){{{ethnic_groups_ref|}}}</div>|<div style="font-weight:normal;display:inline;">{{{ethnic_groups_ref|}}}</div>}} | ||
| data59 = {{{ethnic_groups|}}} | | data59 = {{{ethnic_groups|}}} | ||
Line 525: | Line 525: | ||
| rowclass110= mergedtoprow | | rowclass110= mergedtoprow | ||
| label110= | | label110= {{wp|Gross domestic product|GDP}} <span style="font-weight:normal;">({{wp|Purchasing power parity|PPP}})</span> | ||
| data110= {{#if:{{{GDP_PPP|}}}{{{GDP_PPP_per_capita|}}} | | data110= {{#if:{{{GDP_PPP|}}}{{{GDP_PPP_per_capita|}}} | ||
|{{#if:{{{GDP_PPP_year|}}} |{{{GDP_PPP_year}}} }}estimate | |{{#if:{{{GDP_PPP_year|}}} |{{{GDP_PPP_year}}} }}estimate | ||
Line 543: | Line 543: | ||
| rowclass113= mergedtoprow | | rowclass113= mergedtoprow | ||
| label113= | | label113= {{wp|Gross domestic product|GDP}} <span style="font-weight:normal;">(nominal)</span> | ||
| data113= {{#if:{{{GDP_nominal|}}}{{{GDP_nominal_per_capita|}}} | | data113= {{#if:{{{GDP_nominal|}}}{{{GDP_nominal_per_capita|}}} | ||
|{{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}} }}estimate | |{{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}} }}estimate | ||
Line 561: | Line 561: | ||
}} | }} | ||
| label116= | | label116= {{wp|Gini_coefficient|Gini}}{{#if:{{{Gini_year|}}} | <span style="font-weight:normal;">({{{Gini_year}}})</span>}} | ||
| data116= {{#if:{{{Gini|}}} | | data116= {{#if:{{{Gini|}}} | ||
| {{#switch:{{{Gini_change|}}} | | {{#switch:{{{Gini_change|}}} | ||
Line 595: | Line 595: | ||
-->}} | -->}} | ||
| label117= | | label117= {{wp|Human Development Index|HDI}}{{#if:{{{HDI_year|}}} | <span style="font-weight:normal;">({{{HDI_year}}})</span>}} | ||
| data117= {{#if:{{{HDI|}}} | | data117= {{#if:{{{HDI|}}} | ||
| {{#switch:{{{HDI_change|}}} | | {{#switch:{{{HDI_change|}}} | ||
Line 640: | Line 640: | ||
| header119 = {{#if:{{{timezone1_location|}}}|{{#if:{{{timezone2|}}}|[[{{#if:{{{timezone_link|}}}|{{{timezone_link}}}|Time zone}}|Time zone]]s|[[{{#if:{{{timezone_link|}}}|{{{timezone_link}}}|Time zone}}|Time zone]]}}|}} | | header119 = {{#if:{{{timezone1_location|}}}|{{#if:{{{timezone2|}}}|[[{{#if:{{{timezone_link|}}}|{{{timezone_link}}}|Time zone}}|Time zone]]s|[[{{#if:{{{timezone_link|}}}|{{{timezone_link}}}|Time zone}}|Time zone]]}}|}} | ||
| rowclass120 = {{#if:{{{timezone1_location|}}}|mergedrow|mergedtoprow}} | | rowclass120 = {{#if:{{{timezone1_location|}}}|mergedrow|mergedtoprow}} | ||
| label120 = {{#if:{{{timezone1_location|}}}|{{{timezone1_location}}}|{{#if:{{{timezone2_location|}}}|{{{timezone2_location}}}|{{#if:{{{timezone2|}}}|[[{{#if:{{{timezone_link|}}}|{{{timezone_link}}}|Time zone}}|Time zone]]s| | | label120 = {{#if:{{{timezone1_location|}}}|{{{timezone1_location}}}|{{#if:{{{timezone2_location|}}}|{{{timezone2_location}}}|{{#if:{{{timezone2|}}}|[[{{#if:{{{timezone_link|}}}|{{{timezone_link}}}|Time zone}}|Time zone]]s|{{wp|{{#if:{{{timezone_link|}}}|{{{timezone_link}}}|Time zone}}|Time zone}}}}}}}} | ||
| data120 = {{#if:{{{utc_offset1|{{{utc_offset|}}} }}} | | data120 = {{#if:{{{utc_offset1|{{{utc_offset|}}} }}} | ||
|[[UTC{{{utc_offset1|{{{utc_offset}}}}}}]] {{#if:{{{timezone1|{{{timezone|}}}}}}|({{{timezone1|{{{timezone}}}}}})}} | |[[UTC{{{utc_offset1|{{{utc_offset}}}}}}]] {{#if:{{{timezone1|{{{timezone|}}}}}}|({{{timezone1|{{{timezone}}}}}})}} | ||
Line 676: | Line 676: | ||
<!-- ***Driving side*** --> | <!-- ***Driving side*** --> | ||
| label132= | | label132= {{wp|Left- and right-hand traffic|Driving side}} | ||
| data132= {{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }} | | data132= {{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }} | ||
Line 700: | Line 700: | ||
<!-- ISO Code--> | <!-- ISO Code--> | ||
| rowclass136 = {{#if:{{{calling_code |}}}|mergedbottomrow|}} | | rowclass136 = {{#if:{{{calling_code |}}}|mergedbottomrow|}} | ||
| label136= | | label136= {{wp|ISO 3166|ISO 3166 code}} | ||
| data136= {{{iso_code|}}} | | data136= {{{iso_code|}}} | ||
<!-- ccTLD--> | <!-- ccTLD--> | ||
| label137= | | label137= {{wp|Country code top-level domain|Internet TLD}} | ||
| data137= {{{cctld|}}} | | data137= {{{cctld|}}} | ||
Latest revision as of 13:39, 8 January 2020
This infobox template should be used for dependent territories or any subnational divisions where {{Infobox country}} would not be appropriate but country-level information should be shown.
Syntax
Example 1
{{Infobox dependency | 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 = | 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 = | 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
Example 1
Hong Kong 香港 | |
---|---|
Clockwise from top: Hong Kong skyline at night, Tian Tan Buddha, International Finance Centre, Kennedy Town, Nathan Road, Avenue of Stars, Government House, and Tsing Ma Bridge | |
Etymology: Fragrant harbour | |
Nickname(s): Pearl of the Orient | |
Location of Hong Kong | |
Sovereign state | China |
Treaty of Nanking | 29 August 1842 |
Sino-British Joint Declaration | 19 December 1984 |
Transfer from the United Kingdom | 1 July 1997 |
Named for | Fragrant Harbour |
Government | Devolved executive-led system within a socialist republic |
Carrie Lam | |
Matthew Cheung | |
Andrew Leung | |
Geoffrey Ma | |
Legislature | Legislative Council |
Area | |
• Total | 1,108 km2 (428 sq mi) (168th) |
• Water (%) | 3.16 (35 km2; 13.51 sq mi) |
Elevation | 954 m (3,130 ft) |
Population | |
• 2018 estimate | 7,482,500 (102nd) |
• Density | 6,777/km2 (17,552.3/sq mi) (4th) |
GDP (PPP) | 2019 estimate |
• Total | $502 billion (44th) |
• Per capita | $66,517 (10th) |
GDP (nominal) | 2019 estimate |
• Total | $381 billion (35th) |
• Per capita | $50,542 (16th) |
Gini (2016) | 53.9 high |
HDI (2017) | 0.933 very high · 7th |
Currency | Hong Kong dollar (HK$) (HKD) |
Time zone | UTC+8:00 (HKT) |
Date format | dd-mm-yyyy yyyy年mm月dd日 |
Driving side | left |
Calling code | +852 |
ISO 3166 code | HK |
Internet TLD | |
Website | gov |
<!-- NOTE: This differs from the actual Hong Kong infobox in order to provide examples. -->
{{Infobox dependency
| 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 = 1,108
| area_rank = 168th
| area_sq_mi = 1,073
| percent_water = 3.16 (35 km{{smallsup|2}}; 13.51 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 =
}}