قالب:جدول بلدة جنوب أفريقية/doc


Usage

This is a frontend to {{Infobox settlement}} for South African cities, towns and villages.

If the censuscode parameter is added, the infobox is automatically populated with data from the 2011 Census, including:

  • Land area of the town in square kilometres (as defined by Stats SA)
  • Population and population density of the town as of 2011
  • Demographic makeup of the population by race and first language (not available for all towns)

Census codes for towns and smaller settlements can be found by searching at http://census2011.adrianfrith.com/.

With the censuscode parameter, the template will produce a functional infobox, but it is recommended that you also add at least the latitude and longitude of the town, in which case the template will also produce a pushpin map showing the location of the town. You can use other parameters from {{Infobox settlement}} to further populate the template.

Example

The wikicode below produces the infobox shown to the right.

جدول بلدة جنوب أفريقية/doc
جدول بلدة جنوب أفريقية/doc is located in Western Cape
جدول بلدة جنوب أفريقية/doc
 جدول بلدة جنوب أفريقية/doc تظهر ضمن Western Cape
جدول بلدة جنوب أفريقية/doc is located in جنوب أفريقيا
جدول بلدة جنوب أفريقية/doc
جدول بلدة جنوب أفريقية/doc (جنوب أفريقيا)
جدول بلدة جنوب أفريقية/doc is located in أفريقيا
جدول بلدة جنوب أفريقية/doc
جدول بلدة جنوب أفريقية/doc (أفريقيا)
الإحداثيات: 34°35′20″S 19°34′15″E / 34.58889°S 19.57083°E / -34.58889; 19.57083
البلدجنوب أفريقيا
المقاطعةWestern Cape
DistrictOverberg
البلديةOverstrand
المساحة
 • الإجمالي1٫10 كم² (0٫42 ميل²)
التعداد
 (2011)[1]
 • الإجمالي103
 • الكثافة94/km2 (240/sq mi)
التركيبة العرقية (2011)
 • أفارقة سود1.9%
 • الملونون10.7%
 • البيض87.4%
اللغات الأولى (2011)
 • أفريكانز66.0%
 • الإنگليزية33.0%
 • آخرون1.0%
{{Infobox South African town
| censuscode = 172024
| coordinates = {{coord|34|35|20|S|19|34|15|E|display=inline,title}}
| province                = Western Cape
| district                = Overberg
| municipality            = Overstrand
}}
  1. ^ أ ب ت ث "Main Place جدول بلدة جنوب أفريقية/doc". Census 2011.

Basic blank template

{{Infobox South African town
| name                    = {{subst:PAGENAME}}
| native_name             = 
| other_name              = 
| image_skyline           = 
| image_caption           = 
| coordinates             = {{Coord}}
| province                = <!-- name of the province, without disambiguation or other suffixes -->
| district                = <!-- name of the district municipality, without disambiguation or other suffixes -->
| municipality            = <!-- name of the municipality, without disambiguation or other suffixes -->
| established_date        = <!-- retrieved from Wikidata property P571 if missing -->
| government_type         = <!-- Ward number -->
| leader_party            = 
| leader_title            = <!-- Councillor -->
| leader_name             = 
| elevation_m             = 
| postal_code             = <!-- the code for street addresses -->
| postal2_code            = <!-- the code for Post-office boxes -->
| area_code               = 
| censuscode              = 
| website                 = 
}}

Full blank template

{{Infobox South African town
| name                    = {{subst:PAGENAME}}
| official_name           = 
| other_name              = 
| native_name             = 
| image_skyline           = 
| image_alt               = 
| image_caption           = 
| image_flag              = 
| image_seal              = 
| image_shield            = 
| nickname                = 
| motto                   = 
| image_map               = 
| map_caption             = 
| coordinates             = {{Coord}}
| province                = <!-- name of the province, without disambiguation or other suffixes -->
| district                = <!-- name of the district municipality, without disambiguation or other suffixes -->
| municipality            = <!-- name of the municipality, without disambiguation or other suffixes -->
| mainplace               = <!-- for suburbs and other settlements which are part of a larger entity -->
| established_date        = <!-- retrieved from Wikidata property P571 if missing -->
| founder                 =
| named_for               = 
| government_footnotes    = 
| government_type         = 
| leader_party            = 
| leader_title            = 
| leader_name             = 
| leader_title1           = 
| leader_name1            = 
| leader_title2           = 
| leader_name2            = 
| area_footnotes          = 
| area_total_km2          = 
| area_metro_km2          = 
| elevation_m             = 
| elevation_max_m         = 
| elevation_min_m         = 
| population_footnotes    = 
| population_est          = 
| pop_est_as_of           = 
| population_total        = 
| population_as_of        = 
| population_metro        = 
| population_metro_footnotes = 
| population_demonym      = 
| population_note         = 
<!-- demographics (section 1) -->
| demographics1_footnotes = 
| percent_black           = <!-- demographic statistics for the population groups -->
| percent_coloured        = 
| percent_asian           = 
| percent_white           = 
| percent_other           = 
<!-- demographics (section 2) -->
| demographics2_footnotes = 
| demographics2_title1    = <!-- a list of the most common languages, where it's not added automatically through a census code -->
| demographics2_info1     = 
| demographics2_title2    = 
| demographics2_info2     = 
| demographics2_title3    = 
| demographics2_info3     = 
| demographics2_title4    = 
| demographics2_info4     = 
| demographics2_title5    = 
| demographics2_info5     = 
<!-- twin cities --------------->
| twin1                   = 
| twin1_country           = 
| twin2                   = 
| twin2_country           = 
| twin3                   = 
| twin3_country           = 
| twin4                   = 
| twin4_country           = 
| twin5                   = 
| twin5_country           = 
| twin6                   = 
| twin6_country           = 
<!-- blank fields (section 1) -->
| blank_name_sec1         = 
| blank_info_sec1         = 
| blank1_name_sec1        = 
| blank1_info_sec1        = 
| blank2_name_sec1        = 
| blank2_info_sec1        = <!-- etc., up to blank7_name_sec1 / blank7_info_sec1 -->
<!-- blank fields (section 2) -->
| blank_name_sec2         = 
| blank_info_sec2         = 
| blank1_name_sec2        = 
| blank1_info_sec2        = 
| blank2_name_sec2        = 
| blank2_info_sec2        = <!-- etc., up to blank7_name_sec2 / blank7_info_sec2 -->
<!-- Other information -->
| postal_code             = <!-- the code for street addresses -->
| postal2_code            = <!-- the code for Post-office boxes -->
| area_code               = 
| censuscode              = 
| website                 = 
| footnotes               = 
}}

Use without a census code

When the right census code cannot be found, the data from the 2011 census will not be included automatically. The infobox can still be used, but it will require the addition of at least the name of the province and municipality by using the parameters of the same name, entering them without qualifiers or disambiguation, so that Dannhauser Local Municipality, for example, is added to the infobox as just Dannhauser.

Without a census code, land area and population (if available) will have to be added manually. This can be done by using the area_total_km2 and population_total parameters, respectively.

Maintenance links