Template:Infobox dependency/doc

< Template:Infobox dependency

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

香港
Etymology: Fragrant harbour
Nickname(s): 
Location of Hong Kong
Location of Hong Kong
Sovereign stateChina
Treaty of Nanking29 August 1842
Sino-British Joint Declaration19 December 1984
Transfer from the United Kingdom1 July 1997
Named forFragrant Harbour
GovernmentDevolved executive-led system within a socialist republic
Carrie Lam
Matthew Cheung
Andrew Leung
Geoffrey Ma
LegislatureLegislative Council
Area
• Total
Lua error in Module:Convert at line 1850: attempt to index local 'en_value' (a nil value). (168th)
• Water (%)
3.16 (35 km2; 13.51 sq mi)
Elevation
954 m (3,130 ft)
Population
• 2018 estimate
7,482,500 (102nd)
• Density
Lua error in Module:Convert at line 1850: attempt to index local 'en_value' (a nil value). (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)Increase 0.933
very high · 7th
CurrencyHong Kong dollar (HK$) (HKD)
Time zoneUTC+8:00 (HKT)
Date formatdd-mm-yyyy
yyyy年mm月dd日
Driving sideleft
Calling code+852
ISO 3166 codeHK
Internet TLD
Websitegov.hk


<source lang="xml" style="overflow:auto; white-space: pre-wrap;">


香港
Etymology: Fragrant harbour
Nickname(s): 
Location of Hong Kong
Location of Hong Kong
Sovereign stateChina
Treaty of Nanking29 August 1842
Sino-British Joint Declaration19 December 1984
Transfer from the United Kingdom1 July 1997
Named forFragrant Harbour
GovernmentDevolved executive-led system within a socialist republic
Carrie Lam
Matthew Cheung
Andrew Leung
Geoffrey Ma
LegislatureLegislative Council
Area
• Total
Lua error in Module:Convert at line 1850: attempt to index local 'en_value' (a nil value). (168th)
• Water (%)
3.16 (35 km2; 13.51 sq mi)
Elevation
954 m (3,130 ft)
Population
• 2018 estimate
7,482,500 (102nd)
• Density
Lua error in Module:Convert at line 1850: attempt to index local 'en_value' (a nil value). (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)Increase 0.933
very high · 7th
CurrencyHong Kong dollar (HK$) (HKD)
Time zoneUTC+8
Date formatdd-mm-yyyy
yyyy年mm月dd日
Driving sideleft
Calling code+852
ISO 3166 codeHK
Internet TLD
Websitegov.hk

</source>