Templat:Infobox settlement
Infobox settlement |
---|
Sebelum membuat apa-apa perubahan kepada templat, sila bandingkan dahulu perubahan anda dengan templat yang pertama: Templat:Infobox settlement/kotak pasir. Terima kasih. |
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. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Templat ini boleh digunakan untuk membuat sebuah Infobox bagi penempatan manusia (bandar, pekan, kampung, komuniti)dan juga daerah-daerah pentadbiran lain, kaunti, wilayah, dll. - Sebenarnya, apa-apa subpembahagian di bawah aras sebuah negara, bagi yang mana {{Infobox Country}} seharusnya boleh digunakan. Petak-petak yang ada telah digambarkan di dalam jadual di bawah.
Penggunaan
[sunting sumber]Please verify that adding the template does not overlay, or get overlaid by, other templates on the article. Please test your changes with several skins and several browsers, and several browser window sizes.
- Important: Please enter all numeric values in a raw, unformatted fashion. References are to be included in their respective section footnotes field. Numeric values that are not "raw" may create an "Expression error". Raw values will be automatically formatted by the template. If you find a raw value is not formatted in your usage of the template, please post a notice on the discussion page for this template.
Sempurnakan Sintaksis Kosong
[sunting sumber]Untuk pertanyaan sila lihat Perbualan.
{{Infobox Settlement <!--See Template:Infobox Settlement for additional fields that may be available--> <!--See the Table at Infobox Settlement for all fields and descriptions of usage--> <!-- Basic info ----------------> |name = <!-- at least one of the first two fields must be filled in --> |official_name = |other_name = |native_name = <!-- if different from the English name --> |native_name_lang = <!-- Use ISO639 code, e.g. "fr" for French. If there is more than one native name, in different languages, enter those names using {{lang}}, instead --> |nickname = |settlement_type = <!--such as Town, Village, City, Borough etc.--> |total_type = <!-- to set a non-standard label for total area and population rows --> |motto = |translit_lang1= |translit_lang1_type= |translit_lang1_info= |translit_lang1_type1= |translit_lang1_info1= |translit_lang1_type2= |translit_lang1_info2= |translit_lang1_type3= |translit_lang1_info3= |translit_lang1_type4= |translit_lang1_info4= |translit_lang1_type5= |translit_lang1_info5= |translit_lang1_type6= |translit_lang1_info6= |translit_lang2= |translit_lang2_type= |translit_lang2_info= |translit_lang2_type1= |translit_lang2_info1= |translit_lang2_type2= |translit_lang2_info2= |translit_lang2_type3= |translit_lang2_info3= |translit_lang2_type4= |translit_lang2_info4= |translit_lang2_type5= |translit_lang2_info5= |translit_lang2_type6= |translit_lang2_info6= <!-- images and maps -----------> |image_skyline = |imagesize = |image_caption = |image_flag = |flag_size = |image_seal = |seal_size = |image_shield = |shield_size = |image_blank_emblem = |blank_emblem_type = |blank_emblem_size = |image_map = |mapsize = |map_caption = |image_map1 = |mapsize1 = |map_caption1 = |image_dot_map = |dot_mapsize = |dot_map_caption = |dot_x = |dot_y = |pushpin_map = <!-- name of a location map as per Template:Location_map --> |pushpin_label_position = <!-- position of the pushpin label: left, right, top, bottom, none --> |pushpin_map_caption = |pushpin_mapsize = <!-- Location ------------------> |subdivision_type = <!--Country--> |subdivision_name = <!--the name of the country--> |subdivision_type1 = |subdivision_name1 = |subdivision_type2 = |subdivision_name2 = |subdivision_type3 = |subdivision_name3 = |subdivision_type4 = |subdivision_name4 = <!-- Smaller parts (e.g. boroughs of a city) and seat of government --> |seat_type = |seat = |parts_type = |parts_style = <!-- =list (for list), coll (for collapsed list), para (for paragraph format) Default is list if up to 5 items, coll if more than 5--> |parts = <!-- parts text, or header for parts list --> |p1 = |p2 = <!-- etc. up to p50: for separate parts to be listed--> <!-- Politics -----------------> |government_footnotes = |government_type = |leader_party = |leader_title = |leader_name = <!--add (no-break space) to leader names to disable automatic links--> |leader_title1 = |leader_name1 = |leader_title2 = |leader_name2 = |leader_title3 = |leader_name3 = |leader_title4 = |leader_name4 = |established_title = <!-- Settled --> |established_date = |established_title1 = <!-- Incorporated (town) --> |established_date1 = |established_title2 = <!-- Incorporated (city) --> |established_date2 = |established_title3 = |established_date3 = |extinct_title = |extinct_date = |founder = |named_for = <!-- Area ---------------------> |area_magnitude = <!-- use only to set a special wikilink --> |unit_pref = <!--Enter: Imperial, to display imperial before metric--> |area_footnotes = |area_total_km2 = <!-- ALL fields with measurements are subject to automatic unit conversion--> |area_land_km2 = <!--See table @ Template:Infobox Settlement for details on unit conversion--> |area_water_km2 = |area_total_dunam = <!--Used in Middle East articles only--> |area_total_sq_mi = |area_land_sq_mi = |area_water_sq_mi = |area_water_percent = |area_urban_km2 = |area_urban_sq_mi = |area_metro_km2 = |area_metro_sq_mi = |area_blank1_title = |area_blank1_km2 = |area_blank1_sq_mi = <!-- Elevation --------------------------> |elevation_footnotes = <!--for references: use <ref> tags--> |elevation_m = |elevation_ft = |elevation_max_m = |elevation_max_ft = |elevation_min_m = |elevation_min_ft = <!-- Population -----------------------> |population_as_of = |population_footnotes = |population_note = |population_total = |population_density_km2 = <!--For automatic calculation, any density field may contain: auto --> |population_density_sq_mi = |population_est = |pop_est_as_of = |population_metro = |population_density_metro_km2 = |population_density_metro_sq_mi = |population_urban = |population_density_urban_km2 = |population_density_urban_sq_mi = |population_blank1_title = |population_blank1 = |population_density_blank1_km2 = |population_density_blank1_sq_mi = <!-- General information ---------------> |timezone = |utc_offset = |timezone_DST = |utc_offset_DST = |coor_pinpoint =<!-- can be used to specify exactly where/what the coordinates refer to --> |coordinates_type = |coordinates_display = display=inline,title <!-- delete unwanted option, if any --> |latd= |latm= |lats= |latNS= |longd= |longm= |longs= |longEW= <!-- Area/postal codes & others --------> |postal_code_type = <!-- enter ZIP code, Postcode, Post code, Postal code... --> |postal_code = |area_code = |twin1 = |twin1_country = |twin2 = |twin2_country = |twin3 = |twin3_country = |twin4 = |twin4_country = |twin5 = |twin5_country = |twin6 = |twin6_country = |twin7 = |twin7_country = |blank_name = |blank_info = |blank1_name = |blank1_info = |blank2_name = |blank2_info = |blank3_name = |blank3_info = |blank4_name = |blank4_info = |blank5_name = |blank5_info = |blank6_name = |blank6_info = |website = |footnotes = }}
Basic Empty Syntax
[sunting sumber]For questions see the talk page.
{{Infobox Settlement <!--See Template:Infobox Settlement for additional fields that may be available--> <!--See the Table at Infobox Settlement for all fields and descriptions of usage--> <!-- Basic info ----------------> |name = <!-- at least one of the first two fields must be filled in --> |official_name = |other_name = |native_name = <!-- if different from the English name --> |native_name_lang = <!-- Use ISO639 code, e.g. "fr" for French. If there is more than one native name, in differenet languages, enter those names using {{tl|lang}}, instead --> |nickname = |settlement_type = <!-- e.g. Town, Village, City, etc.--> |total_type = <!-- to set a non-standard label for total area and population rows --> |motto = <!-- images and maps -----------> |image_skyline = |imagesize = |image_caption = |image_flag = |flag_size = |image_seal = |seal_size = |image_shield = |shield_size = |image_blank_emblem = |blank_emblem_type = |blank_emblem_size = |image_map = |mapsize = |map_caption = |image_map1 = |mapsize1 = |map_caption1 = |image_dot_map = |dot_mapsize = |dot_map_caption = |dot_x = |dot_y = |pushpin_map = <!-- the name of a location map as per http://en.wikipedia.org/wiki/Template:Location_map --> |pushpin_label_position = <!-- the position of the pushpin label: left, right, top, bottom, none --> |pushpin_map_caption = |pushpin_mapsize = <!-- Location ------------------> |subdivision_type = <!--Country--> |subdivision_name = <!--the name of the country--> |subdivision_type1 = |subdivision_name1 = |subdivision_type2 = |subdivision_name2 = <!-- Smaller parts (e.g. boroughs of a city) and seat of government --> |seat_type = |seat = |parts_type = |parts_style = <!-- =list (for list), coll (for collapsed list), para (for paragraph format) Default is list if up to 5 items, coll if more than 5--> |parts = <!-- parts text, or header for parts list --> |p1 = |p2 = <!-- etc. up to p50: for separate parts to be listed--> <!-- Politics -----------------> |government_footnotes = |government_type = |leader_title = |leader_name = <!--add (no-break space) to leader names to disable automatic links--> |leader_title1 = |leader_name1 = |established_title = <!-- Settled --> |established_date = <!-- Area ---------------------> |area_magnitude = |unit_pref = <!--Enter: Imperial, to display imperial before metric--> |area_footnotes = |area_total_km2 = <!-- ALL fields with measurements are subject to automatic unit conversion--> |area_land_km2 = <!--See table @ Template:Infobox Settlement for details on unit conversion--> |area_water_km2 = |area_total_sq_mi = |area_land_sq_mi = |area_water_sq_mi = |area_water_percent = <!-- Elevation --------------------------> |elevation_footnotes = <!--for references: use <ref> tags--> |elevation_m = |elevation_ft = |elevation_max_m = |elevation_max_ft = |elevation_min_m = |elevation_min_ft = <!-- Population -----------------------> |population_as_of = |population_footnotes = |population_note = |population_total = |population_est = |pop_est_as_of = |population_density_km2 = <!--For automatic calculation, any density field may contain: auto --> |population_density_sq_mi = <!-- General information ---------------> |timezone = |utc_offset = |timezone_DST = |utc_offset_DST = |coor_pinpoint =<!-- can be used to specify exactly where/what the coordinates refer to --> |coordinates_type = |coordinates_display = display=inline,title <!-- delete unwanted option, if any --> |latd= |latm= |lats= |latNS= |longd= |longm= |longs= |longEW= <!-- Area/postal codes & others --------> |postal_code_type = <!-- enter ZIP code, Postcode, Post code, Postal code... --> |postal_code = |area_code = |website = |footnotes = }}
Example
[sunting sumber]Chicago | |||
---|---|---|---|
— City — | |||
Clockwise from top: Downtown Chicago, the Chicago Theatre, the Chicago 'L', Navy Pier, Millennium Park, the Field Museum, and the Willis (formerly Sears) Tower | |||
|
|||
Nama gelaran: The Windy City, The Second City, Chi-Town, Chi-City, Hog Butcher for the World, City of the Big Shoulders, The City That Works, and others found at List of nicknames for Chicago | |||
Motto: Latin: Urbs in Horto (City in a Garden), Make Big Plans (Make No Small Plans), I Will | |||
Location in the Chicago metropolitan area and Illinois | |||
Koordinat: 41°50′15″N 87°40′55″W / 41.8375°N 87.68194°W[1] | |||
Country | United States | ||
State | Illinois | ||
Counties | Cook, DuPage | ||
Settled | 1770s | ||
Incorporated | March 4, 1837 | ||
Dinamakan sempena | Miami-Illinois: shikaakwa ("Wild onion") |
||
Kerajaan | |||
• Jenis | Mayor–council | ||
• Mayor | Rahm Emanuel (D) | ||
• Council | Chicago City Council | ||
Luas[1] | |||
• City | 234,114 sq mi (606,350 km2) | ||
• Daratan | 227,635 sq mi (589,570 km2) | ||
• Perairan | 6,479 sq mi (16,780 km2) 3% | ||
• Bandar | 2.123 sq mi (5,500 km2) | ||
• Metro | 10.874 sq mi (28,160 km2) | ||
Ketinggian[2] | 594 ft (181 m) | ||
Penduduk (2010)[3][4] | |||
• City | 2,695,598 | ||
• Anggaran (2011) | 2,707,120 | ||
• Rank | 3rd US | ||
• Kepadatan | 11,892,4/sq mi (4,5.917/km2) | ||
• Bandar | 8.711.000 | ||
• Urban density | 4,100/sq mi (1,600/km2) | ||
• Metro | 9.461.105 | ||
• Metro density | 870/sq mi (340/km2) | ||
Demonym | Chicagoan | ||
Zon waktu | CST (UTC−06:00) | ||
• Summer (DST) | CDT (UTC−05:00) | ||
Area codes | 312, 773, 872 | ||
Laman sesawang | Galat skrip: tidak ada modul tersebut "URL". | ||
[2] |
<!--NOTE: This differs from the actual Chicago infobox in order to provide examples.--> {{Infobox settlement | name = Chicago | settlement_type = [[City]] | image_skyline = Chicago montage.jpg | imagesize = 275px <!--default is 250px--> | image_caption = Clockwise from top: [[Downtown Chicago]], the [[Chicago Theatre]], the [[Chicago 'L']], [[Navy Pier]], [[Millennium Park]], the [[Field Museum]], and the [[Willis Tower|Willis (formerly Sears) Tower]] | image_flag = Flag of Chicago, Illinois.svg | image_seal = Seal of Chicago, Illinois.svg | nickname = [[Origin of the name "Windy City"|The Windy City]], The Second City, Chi-Town, Chi-City, Hog Butcher for the World, City of the Big Shoulders, The City That Works, and others found at [[List of nicknames for Chicago]] | motto = {{lang-la|Urbs in Horto}} (''City in a Garden''), Make Big Plans (Make No Small Plans), I Will | image_map = US-IL-Chicago.png | map_caption = Location in the [[Chicago metropolitan area]] and Illinois | pushpin_map = USA2 | pushpin_map_caption = Location in the United States | latd = 41 | latm = 50 | lats = 15 | latNS = N | longd = 87 | longm = 40 | longs = 55 | longEW = W | coordinates_region = <!-- US-IL (not required, determined by infobox) --> | coordinates_display = <!-- yes (any value to also display in title area --> | coordinates_footnotes = <ref name="USCB Gazetteer 2010"/> | subdivision_type = [[List of countries|Country]] | subdivision_name = [[United States]] | subdivision_type1 = [[U.S. state|State]] | subdivision_name1 = [[Illinois]] | subdivision_type2 = [[List of counties in Illinois|Counties]] | subdivision_name2 = [[Cook County, Illinois|Cook]], [[DuPage County, Illinois|DuPage]] | established_title = Settled | established_date = 1770s | established_title2 = [[Municipal corporation|Incorporated]] | established_date2 = March 4, 1837 | founder = | named_for = {{lang-mia|shikaakwa}}<br /> ("Wild onion") | government_type = [[Mayor–council government|Mayor–council]] | leader_title = [[Mayor of Chicago|Mayor]] | leader_name = [[Rahm Emanuel]] ([[Democratic Party (United States)|D]]) | leader_title1 = [[City council|Council]] | leader_name1 = [[Chicago City Council]] | unit_pref = Imperial | area_footnotes = <ref name="USCB Gazetteer 2010">{{cite web | url = http://www.census.gov/geo/www/gazetteer/files/Gaz_places_national.txt | title = 2010 United States Census Gazetteer for Places: January 1, 2010 | format = text | work = 2010 United States Census | publisher = [[United States Census Bureau]] | date = April 2010 | accessdate = August 1, 2012}}</ref> | area_magnitude = 1 E+8 | area_total_sq_mi = 234.114 | area_land_sq_mi = 227.635 | area_water_sq_mi = 6.479 | area_water_percent = 3 | area_urban_sq_mi = 2123 | area_metro_sq_mi = 10874 | elevation_footnotes = <ref name="GNIS"/> | elevation_ft = 594 | elevation_m = 181 | population_footnotes = <ref name="USCB PopEstCities 2011">{{cite web | url = http://www.census.gov/popest/data/cities/totals/2011/tables/SUB-EST2011-01.csv | title = Annual Estimates of the Resident Population for Incorporated Places Over 50,000, Ranked by July 1, 2011 Population | format = [[comma-separated values|CSV]] | work = 2011 Population Estimates | publisher = [[United States Census Bureau]], Population Division | date = June 2012 | accessdate = August 1, 2012}}</ref><ref name="USCB Metro 2010">{{cite web | url=http://www.census.gov/prod/cen2010/briefs/c2010br-01.pdf | title = Population Change for the Ten Most Populous and Fastest Growing Metropolitan Statiscal Areas: 2000 to 2010 | date = March 2011 | publisher = [[U.S. Census Bureau]] | page = 6 |accessdate = April 12, 2011}}</ref> | population_as_of = [[2010 United States Census|2010]] | population_total = 2,695,598 | pop_est_as_of = 2011 | population_est = 2,707,120 | population_rank = [[List of United States cities by population|3rd US]] | population_density_sq_mi = 11,892.4<!-- 2011 population_est / area_land_sq_mi --> | population_urban = 8711000 | population_density_urban_sq_mi = auto | population_metro = 9461105 | population_density_metro_sq_mi = auto | population_demonym = Chicagoan | timezone = [[Central Standard Time|CST]] | utc_offset = −06:00 | timezone_DST = [[Central Daylight Time|CDT]] | utc_offset_DST = −05:00 | area_code_type = [[North American Numbering Plan|Area codes]] | area_code = [[Area code 312|312]], [[Area code 773|773]], [[Area code 872|872]] | website = {{URL|www.cityofchicago.org}} | footnotes = <ref name="GNIS">{{Cite GNIS|428803|City of Chicago|April 12, 2011}}</ref> }}
References
[sunting sumber]- ↑ 1,0 1,1 "2010 United States Census Gazetteer for Places: January 1, 2010" (text). 2010 United States Census. United States Census Bureau. April 2010. Retrieved August 1, 2012.
- ↑ 2,0 2,1 "City of Chicago". Geographic Names Information System, U.S. Geological Survey. Retrieved April 12, 2011.
- ↑ "Annual Estimates of the Resident Population for Incorporated Places Over 50,000, Ranked by July 1, 2011 Population" (CSV). 2011 Population Estimates. United States Census Bureau, Population Division. June 2012. Retrieved August 1, 2012.
- ↑ "Population Change for the Ten Most Populous and Fastest Growing Metropolitan Statiscal Areas: 2000 to 2010" (PDF). U.S. Census Bureau. March 2011. p. 6. Retrieved April 12, 2011.
Jadual
[sunting sumber]
Nama dan cogan kata[sunting sumber] | ||
---|---|---|
Nama ruangan | Kegunaan | Huraian |
name | diperlukan jika tiada official_name | Nama biasa dalam bahasa Melayu |
official_name | diperlukan jika tiada name | Nama rasmi dalam bahasa Melayu |
other_name | tidak wajib | Untuk nama asal atau gelaran lain seperti Bombay atau Saigon |
native_name | tidak wajib | Nama dalam bahasa tempatan. Terpapar di bawah nama/nama rasmi |
native_name_lang | tidak wajib | Gunakan kod ISO 639-2, cth. "fr" untuk bahasa Perancis. Jika terdapat lebih daripada satu nama asli dalam bahasa berbeza, isikan nama-nama itu dengan {{lang}}. |
settlement_type | tidak wajib | Mana-mana jenis petempatan boleh diisikan, seperti Bandar raya, Bandar, Kampung, Desa, Perbandaran, Rizab, dsb. Jika diisi, ia akan terpapar di bawah nama, asalkan ruangan name sudah diisi. Boleh juga digunakan sebagai label untuk jumlah penduduk/keluasan (melalai ke Bandar raya), jika perlu dibezakan daripada Urban atau Metro (jika perangkaan urban dan metro tidak disediakan, maka labelnya ialah Jumlah melainkan total_type ditetapkan). |
total_type | tidak wajib | Menentukan apa yang dimaksudkan oleh perangkaan keluasan dan penduduk "total", cth. Greater London, untuk mengatasi label-label lain untuk jumlah penduduk/keluasan. Untuk yang tiada label, boleh ditetapkan pada (nilai ini juga mennyebabkan jumlah penduduk dipaparkan di baris yang sama dengan perkataan Penduduk). |
nickname | tidak wajib | Nama timangan |
motto | tidak wajib | Cogan kata, dipaparkan di bawah nama timangan |
translit_lang1 | tidak wajib | Nama bahasa yang dialih aksara, dipaparkan selepas "transkripsi". |
translit_lang1_type | tidak wajib | |
translit_lang1_info | tidak wajib | |
translit_lang2 | tidak wajib | Alih aksara kedua |
translit_lang2_type | tidak wajib | |
translit_lang2_info | tidak wajib | |
Imej dan peta[sunting sumber] | ||
Pembolehubah ini hanya digunakan untuk memaparkan kategori untuk rencana ini | ||
Nama ruangan | Kegunaan | Huraian |
image_skyline | tidak wajib | Sesuai untuk gambar latar langit. Saiz tentu awal: 250px |
imagesize | tidak wajib | Mengubah saiz image_skyline. |
image_caption | tidak wajib | Meletakkan kapsyen di bawah imej image_skyline (jika ada) |
image_flag | tidak wajib | Bendera. Saiz tentu awal: 100px |
flag_size | tidak wajib | Mengubah saiz image_flag dari 100px |
flag_link | tidak wajib | Pautan ke rencana bendera |
image_seal | tidak wajib | Mohor rasmi |
seal_link | tidak wajib | Pautan ke rencana mohor |
seal_size | tidak wajib | Saiz mohor. Saiz tentu awal: 100px |
image_shield | tidak wajib | Jata rasmi |
shield_link | tidak wajib | Pautan ke rencana jata |
shield_size | tidak wajib | Saiz tentu awal: 100px |
image_blank_emblem | tidak wajib | Logo rasmi. (Jenis lambang tentu awal) |
blank_emblem_type | tidak wajib | Menyatakan jenis lambang "image_blank_emblem". Tentu awalnya ialah Logo. |
blank_emblem_size | tidak wajib | Saiz tentu awal: 100px |
blank_emblem_link | tidak wajib | Pautan ke rencana logo/lambang |
image_map | tidak wajib | Peta utama |
mapsize | tidak wajib | Saiz tentu awal: 250px |
map_caption | tidak wajib | Kapsyen peta utama |
image_map1 | tidak wajib | Peta sampingan. Ruangan image_map mesti diisi terlebih dahulu. |
mapsize1 | tidak wajib | Saiz tentu awal: 250px |
map_caption1 | tidak wajib | Kapsyen peta sampingan |
image_dot_map | tidak wajib | Menandai tempat atas peta kosong secara manual dengan meletakkan titik, menggunakan sistem "X" & "Y". Peta kosong boleh didapati di Wikimedia Commons. |
dot_mapsize | tidak wajib | Mengubah saiz peta bertitik; saiz tentu awal: 180px |
dot_map_caption | tidak wajib | Kapsyen di bawah peta bertitik |
dot_x dot_y |
tidak wajib | Menentukan kedudukan titik pada peta secara manual. |
pushpin_map | tidak wajib | Nama peta lokasi mengikut Templat:Location map (cth. Indonesia atau Russia). Ruangan koordinat (cth. latd dan longd) menentukan kedudukan penanda koordinat pushpin dan label pada peta secara automatik |
pushpin_label_position | tidak wajib | Kedudukan label di peta pushpin berbanding dengan penanda koordinat pushpin. Pilihan yang diterima ialah {left, right, top, bottom, none}. Jika ruangan ini tidak diisi, tentu awalnya ialah right. |
pushpin_mapsize | tidak wajib | Hanya boleh diisi dengan nombor—tidak perlu px. Tentu awal: 250. |
pushpin_map_caption | tidak wajib | Diisi jika mahu kapsyen yang berbeza dengan map_caption. |
Maklumat lokasi, subbahagian, kerajaan dan penubuhan[sunting sumber] | ||
Nama ruangan | Kegunaan | Huraian |
subdivision_type | tidak wajib | Sentiasa diletakkan "Negara" |
subdivision_name | tidak wajib | Mengikut jenis subdivision_type |
subdivision_type1 to subdivision_type4 |
tidak wajib | Boleh diisi Negeri, Wilayah, Daerah atau sebagainya. |
subdivision_name1 to subdivision_name4 |
tidak wajib | |
seat_type | tidak wajib | Label pusat kerajaan (tentu awal: Seat). |
seat | tidak wajib | Pusat kerajaan. |
parts_type | tidak wajib | Subbahagian yang lebih kecil (tentu awal: Daerah). |
parts_style | tidak wajib | Isikan list untuk memaparkan senarai boleh kuncup, coll sebagai senarai terkuncup, atau para untuk gaya perenggan. Tentu awalnya ialah list sehingga 5 item sahaja, yang selebihnya coll. |
parts | tidak wajib | Teks atau pengepala senarai subbahagian yang lebih kecil |
p1, p2, dsb. | tidak wajib | (maksimum p50) Nama-nama subbahagian kecil yang disenaraikan. |
government_footnotes | tidak wajib | Jika ada rujukan, isikan dalam ruang ini dengan menggunakan tag <ref> </ref> dan boleh juga templat {{Cite web}} dalam tag ref tersebut. |
government_type | tidak wajib | Jenis kerajaan, cth: Demokrasi berparlimen, Republik, Raja berperlembagaan |
leader_party | tidak wajib | Parti politik pemimpin tempatan |
leader_title | tidak wajib | Gelaran pemimpin, cth: Datuk Bandar, Ketua Menteri, Gabenor |
leader_name | tidak wajib | Nama pemimpin. Tip: Nama dipautkan secara automatik jika ada rencananya; jika bukan rencana itu yang dikehendaki, isikan aksara seperti " " untuk mematikan pautan itu |
leader_title1 to leader_title4 |
tidak wajib | Gelaran pemimpin lain |
leader_name1 to leader_name4 |
tidak wajib | Nama pemimpin lain. Untuk senarai panjamg, gunakan {{Collapsible list}}. |
established_title | tidak wajib | Peristiwa penubuhan pertama, cth: Penubuhan, Kemerdekaan |
established_date | tidak wajib | Tarikh penubuhan pertama |
established_title1 | tidak wajib | Peristiwa penubuhan kedua |
established_date1 | tidak wajib | Tarikh penubuhan kedua |
established_title2 | tidak wajib | Peristiwa penubuhan ketiga |
established_date2 | tidak wajib | Tarikh penubuhan ketiga |
established_title3 | tidak wajib | Peristiwa penubuhan keempat |
established_date3 | tidak wajib | Tarikh penubuhan keempat |
extinct_title | tidak wajib | Peristiwa pembubaran petempatan |
extinct_date | tidak wajib | Tarikh pembubaran petempatan |
founder | tidak wajib | Nama pengasas petempatan |
named_for | tidak wajib | Asal-usul nama petempatan (nama orang, tempat, dsb) |
Maklumat geografi[sunting sumber] | ||
Ruangan-ruangan ini mempunyai penukaran unit automatik dwiarah, iaitu jika nilai metrik sahaja yang diisi, maka nilai imperial dihasilkan secara penukaran automatik, dan sebaliknya. Jika anda ingin mematikan penukaran automatik, misalnya jika sumber menyatakan kedua-dua nilai metrik dan imperial, maka anda harus mengisikan kedua-dua nilai dalam ruangan masing-masing. | ||
Nama ruangan | Kegunaan | Huraian |
unit_pref | tidak wajib | Untuk mengubah susunan unit kepada imperial (metrik), isikan imperial. Gaya tentu awalnya ialah metrik (imperial). Akan tetapi, templat akan menukar susunannya secara automatik jika subdivision_name bersamaan dengan suatu tempat di AS atau UK. Semua nilai mesti diisikan dalam format mentah: tiada koma, jarak atau simbol unit. Templat akan memformatkannya secara automatik. Boleh diisi "dunam" untuk tempat di Timur Tengah. |
area_footnotes | tidak wajib | Jika ada rujukan, isikan dalam ruang ini dengan menggunakan tag <ref> </ref> dan boleh juga menggunakan templat seperti {{Cite web}} dalam tag ref tersebut. |
area_magnitude | tidak wajib | Magnitud keluasan total_area dalam m². Harus diisi 1 E+6 untuk keluasan 1.0 km². Lihat 1 E+6 m² |
area_total_dunam | tidak wajib | Jumlah keluasan dalam dunam yang berpautan wiki. Khusus untuk tempat di Timur Tengah seperti Israel, Gaza, dan Tebing Barat. Nilai harus diisikan dalam format mentah, tanpa koma atau jarak. Ditukarkan secara automatik untuk memaparkan kilometer persegi dan batu persegi jika ruangan area_total_km2 dan area_total_sq_mi kosong. |
area_total_km2 | tidak wajib | Jumlah keluasan dalam kilometer persegi—simbol: km², berpautan wiki. Nilai harus diisikan dalam format mentah, tanpa koma atau jarak. Ditukar secara automatik untuk memaparkan batu persegi jika area_total_sq_mi kosong. |
area_land_km2 | tidak wajib | Keluasan daratan dalam kilometer persegi—simbol: km². Nilai harus diisikan dalam format mentah, tanpa koma atau jarak. Ditukar secara automatik untuk memaparkan batu persegi jika area_land_sq_mi kosong. |
area_water_km2 | tidak wajib | Keluasan perairan dalam kilometer persegi—simbol: km². Nilai harus diisikan dalam format mentah, tanpa koma atau jarak. Ditukar secara automatik untuk memaparkan batu persegi jika area_water_sq_mi kosong. |
area_total_sq_mi | tidak wajib | Jumlah keluasan dalam batu persegi, berpautan wiki. Nilai harus diisikan dalam format mentah, tanpa koma atau jarak. Ditukar secara automatik untuk memaparkan kilometer persegi jika area_total_km2 kosong. |
area_land_sq_mi | tidak wajib | Keluasan daratan dalam batu persegi. Nilai harus diisikan dalam format mentah, tanpa koma atau jarak. Ditukar secara automatik untuk memaparkan kilometer persegi jika area_land_km2 kosong. |
area_water_sq_mi | tidak wajib | Keluasan perairan dalam batu persegi. Nilai harus diisikan dalam format mentah, tanpa koma atau jarak. Ditukar secara automatik untuk memaparkan kilometer persegi jika area_water_km2 kosong. |
area_water_percent | tidak wajib | peratusan air, tanpa "%" |
area_urban_km2 | tidak wajib | |
area_urban_sq_mi | tidak wajib | |
area_metro_km2 | tidak wajib | |
area_metro_sq_mi | tidak wajib | |
area_blank1_title | tidak wajib | |
area_blank1_km2 | tidak wajib | |
area_blank1_sq_mi | tidak wajib | |
area_blank2_title | tidak wajib | |
area_blank2_km2 | tidak wajib | |
area_blank2_sq_mi | tidak wajib | |
elevation_footnotes | tidak wajib | Jika ada rujukan, isikan dalam ruang ini dengan menggunakan tag <ref> </ref> dan boleh juga menggunakan templat seperti {{Cite web}} dalam tag ref tersebut. |
elevation_m | tidak wajib | Nombor mentah dalam meter. Ditukarkan secara automatik untuk memaparkan ketinggian dalam kaki jika elevation_ft kosong. Jika julat ketinggian (i.e. 5–50 m ) dikehendaki, gunakan ruangan "max" dan "min" di bawah |
elevation_ft | tidak wajib | Nombor mentah dalam kaki. Ditukarkan secara automatik untuk memaparkan ketinggian dalam meter jika elevation_m kosong. Jika julat ketinggian (i.e. 5–50 kaki ) dikehendaki, gunakan ruangan "max" dan "min" di bawah |
elevation_max_m, elevation_max_ft, elevation_min_m, elevation_min_ft | tidak wajib | Digunakan untuk menyatakan ketinggian tertinggi dan/atau terendah (jika ada) daripada menyatakan satu nilai sahaja |
coor_pinpoint | tidak wajib | If needed, to specify more exactly where (or what) coordinates are given (e.g. Town Hall) or a specific place in a larger area (e.g. a city in a county). Example: Masovian Voivodeship Deprecated name =coor_type |
coordinates_type | tidak wajib | If needed, to specify region, type and scale in accordance with how it is done at {{coord}}, i.e. |coordinates_type =region:GB_type:city_scale:1000 . See Birmingham or Pie Town for examples.
|
coordinates_display | tidak wajib | =inline,title is used to set {{Geobox coor}} title= parameter which in turn sets {{Coord}} display=inline,title parameter, causing coordinates to display in an article's title bar upper-right corner. It is recommended that this be done for an article's "main" coordinates, usually those in the Infobox, so that they are accessible to other services like Google Earth, Google Maps, Wikipedia-World and other such services, for more information see: Wikipedia:Manual of Style (dates and numbers)#Geographical_coordinates, {{Coord}}, and About the Google Earth Geographic Web Layer. If a "competing" template also has coordinates in the title bar and cannot be "turned off", then either the inline,title parameter value can be omitted or coordinates_display= parameter field can be omitted to "turn it off". |
latd | tidak wajib | Latitude degrees. Can also be used for decimal degrees. |
latm | tidak wajib | Latitude minutes |
lats | tidak wajib | Latitude seconds |
latNS | tidak wajib | Latitude North or South (enter N or S). |
longd | tidak wajib | Longitude degrees. Can also be used for decimal degrees. |
longm | tidak wajib | Longitude minutes |
longs | tidak wajib | Longitude seconds |
longEW | tidak wajib | Longitude East or West (enter E or W). |
Population information[sunting sumber] | ||
The density fields have dual automatic unit conversion meaning that if only metric values are entered, the imperial values will be automatically converted and vice-versa. If an editor wishes to over-ride the automatic conversion, e.g. if the source gives both metric and imperial or if a range of values is needed, they can enter both values in their respective fields. To calculate density automatically, type auto in place of any density value. | ||
Field Name | Usage | Description |
population_as_of | tidak wajib | |
population_footnotes | tidak wajib | If reference(s) are available, this is where to put them, possibly using a citing format such as {{Cite web}}, within <ref> </ref> tags. |
population_total | tidak wajib | |
population_density_km2 | tidak wajib | Deprecated name =population_density |
population_density_sq_mi | tidak wajib | Deprecated name =population_density_mi2 |
population_est | tidak wajib | Population estimate. |
pop_est_as_of | tidak wajib | The year or month & year of the population estimate. |
population_metro | tidak wajib | |
population_density_metro_km2 | tidak wajib | |
population_density_metro_sq_mi | tidak wajib | Deprecated name =population_density_metro_mi2 |
population_urban | tidak wajib | |
population_density_urban_km2 | tidak wajib | |
population_density_urban_sq_mi | tidak wajib | Deprecated name =population_density_urban_mi2 |
population_blank1_title | tidak wajib | Can be used for estimates. Example: Windsor, Ontario |
population_blank1 | tidak wajib | The population value for blank1_title |
population_density_blank1_km2 | tidak wajib | |
population_density_blank1_sq_mi | tidak wajib | |
population_blank2_title | tidak wajib | |
population_blank2 | tidak wajib | |
population_density_blank2_km2 | tidak wajib | |
population_density_blank2_sq_mi | tidak wajib | |
population_demonym | Not currently available | A demonym or gentilic is a word that denotes the members of a people or the inhabitants of a place. For example citizens in Liverpool are known as Liverpudlians. |
population_note | tidak wajib | A place for additional information such as the name of the source. See Windsor, Ontario for example. |
Other information[sunting sumber] | ||
Field Name | Usage | Description |
timezone | tidak wajib | |
utc_offset | tidak wajib | |
timezone_DST | tidak wajib | |
utc_offset_DST | tidak wajib | |
postal_code_type | tidak wajib | |
postal_code | tidak wajib | |
area_code | tidak wajib | |
blank_name | tidak wajib | Boleh digunakan untuk membuka ruang maklumat tambahan seperti nombor plat kenderaan |
blank_info | tidak wajib | Untuk diisi maklumat untuk blank_name |
blank1_name to blank6_name |
tidak wajib | |
blank1_info to blank6_info |
tidak wajib | |
twin1 hingga twin7 |
tidak wajib | Nama bandar kembar |
twin1_country hingga twin7_country |
tidak wajib | Negara bandar kembar |
footnotes | tidak wajib | |
website | tidak wajib |
Microformat
[sunting sumber]The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
[sunting sumber]If the place or venue has an "established", "founded", "opened" or similar date, use {{Start date}} (unless the date is before 1583 CE).
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
[sunting sumber]hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- url
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes; nor collapse nested elements which use them.
Precision
[sunting sumber]When giving coordinates, please use an appropriate level of precision. Do not use {{Coord}}'s |name=
parameter.
Usage Example
[sunting sumber]from Detroit, Michigan -- Note Pipe characters are in front of the line of cell data, instead of at the end of the line, which simplify the spacing:
{{Infobox settlement <!-- See Template:Infobox settlement for additional fields and descriptions --> | name = Detroit | official_name = City of Detroit | native_name_lang = fr | settlement_type = [[City]] | image_skyline = Detroit Montage.jpg | imagesize = 290px | image_caption = Images from top to bottom, left to right: [[Downtown Detroit]] skyline, [[Spirit of Detroit]], [[Greektown Historic District|Greektown]], [[Ambassador Bridge]], [[Michigan Soldiers' and Sailors' Monument]], [[Fox Theatre (Detroit)|Fox Theatre]], and [[Comerica Park]]. | image_flag = Flag of Detroit, Michigan.svg | image_seal = The Official City Seal of the City of Detroit, Michigan.svg | nickname = The Motor City, Motown, Renaissance City, The D, Hockeytown, The Automotive Capital of the World, Rock City, The 313 | motto = ''Speramus Meliora; Resurget Cineribus''<br /><small>([[Latin]]: We Hope For Better Things; It Shall Rise From the Ashes)</small> | image_map = Wayne County Michigan Incorporated and Unincorporated areas Detroit highlighted.svg | mapsize = 250x200px | map_caption = Location within [[Wayne County, Michigan]] and the state of [[Michigan]] | latd = 42 |latm = 19 |lats = 53 |latNS = N | longd = 83 |longm = 02 |longs = 45 |longEW = W | coordinates_display = yes | coordinates_footnotes =<ref name="GNIS">{{cite gnis|1617959|Detroit|2009-07-27}}.</ref> | pushpin_map = USA2 | pushpin_map_caption = Location within the [[Contiguous United States|contiguous United States of America]] | coordinates_region = US-MI | subdivision_type = [[List of sovereign states|Country]] | subdivision_name = {{flag|United States of America}} | subdivision_type1 = [[U.S. state|State]] | subdivision_name1 = {{flag|Michigan}} | subdivision_type2 = [[List of counties in Michigan|County]] | subdivision_name2 = {{flagicon image|Wayne.png}} [[Wayne County, Michigan|Wayne]] | established_title = Founded | established_date = 1701 | established_title2 = Incorporated | established_date2 = 1806 | government_footnotes = <!-- for references: use<ref> tags --> | government_type = [[Mayor-council government|Mayor-Council]] | leader_title = [[List of mayors of Detroit, Michigan|Mayor]] | leader_name = [[Dave Bing]] | leader_party = [[Democratic Party (United States)|D]] | leader_title1 = [[Detroit City Council|City Council]] | leader_name1 = {{collapsible list|bullets=yes | title = Members | 1 = [[Charles Pugh]] – Council President | 2 = [[Gary Brown (Detroit politician)|Gary Brown]] – Council President Pro-Tem | 3 = [[JoAnn Watson]] | 4 = [[Kenneth Cockrel, Jr.]] | 5 = [[Saunteel Jenkins]] | 6 = [[Andre Spivey]] | 7 = [[James Tate (Detroit politician)|James Tate]] | 8 = [[Brenda Jones (Detroit politician)|Brenda Jones]] | 9 = [[Kwame Kenyatta]] }} <!-- Area --> |unit_pref = Imperial |area_footnotes = <ref name="Gazetteer files"/> |area_magnitude = |area_total_km2 = 370.03 |area_land_km2 = 359.36 |area_water_km2 = 10.67 |area_total_sq_mi = 142.87 |area_land_sq_mi = 138.75 |area_water_sq_mi = 4.12 | area_urban_sq_mi = 1295 | area_metro_sq_mi = 3913 | elevation_footnotes =<ref name="GNIS" /> | elevation_ft = 600 | population_footnotes =<ref name=CensusCity/><ref name=CensusCSA/> | population_as_of = 2011 | population_total = 706,585 | population_rank = [[List of United States cities by population|18th in U.S.]] | population_urban = 3,863,924 | population_metro = 4,285,832 (US: [[List of United States metropolitan statistical areas|13th]]) | population_blank1_title = [[Combined statistical area|CSA]] | population_blank1 = 5,207,434 (US: [[List of United States combined statistical areas|11th]]) | population_density_sq_mi= {{#expr:713777/138.8 round 0}} | population_demonym = Detroiter | population_note = | timezone = [[Eastern Time Zone (North America)|EST]] | utc_offset = −5 | timezone_DST = [[Eastern Daylight Time|EDT]] | utc_offset_DST = −4 | postal_code_type = | postal_code = | area_code = [[Area code 313|313]] | blank_name = [[Federal Information Processing Standard|FIPS code]] | blank_info = 26-22000 | blank1_name = [[Geographic Names Information System|GNIS]] feature ID | blank1_info = 1617959<ref name="GNIS" /> | blank2_name = Major airport | blank2_info = [[Detroit Metropolitan Wayne County Airport]] (DTW) | website = [http://www.detroitmi.gov/ DetroitMI.gov] | footnotes = }}