Template:Infobox Palestine municipality/doc
This is a documentation subpage for Template:Infobox Palestine municipality. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a customized wrapper for {{Infobox settlement}} and as such included in Category:Templates calling Infobox settlement. Any field from {{Infobox settlement}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox settlement}} . Questions? Just ask here or over at Template talk:Infobox settlement. |
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 template is meant for Palestinian Authority administered municipalities in the Palestinian territories. For Israeli administered municipalities (local councils and the cities of Ariel, Beitar Illit, Ma'ale Adumim, and Modi'in Illit) use {{Infobox Israel municipality}}.
Usage
changeThe infobox should be added using the {{Infobox Palestine municipality}} template, as shown below:
{{Infobox Palestine municipality |name= |image= |caption= |emblem= |emblem_type= |image_map= |map_caption= |arname= |hename= |meaning= |founded= |type= |typefrom= |altOffSp= |altUnoSp= |governorate= |population= |popyear= |area= |areakm= |coordinates = {{Coord}} |palgrid= |mayor= }}
Example
changeGaza | |
---|---|
Other transcription(s) | |
• Arabic | غزة |
• Also spelled | Ghazzah (official) Gaza City (unofficial) |
Location of Gaza within Palestine | |
Coordinates: 31°31′N 34°27′E / 31.517°N 34.450°E | |
Palestine grid | 099/101 |
Governorate | Gaza |
Founded | 15th Century BCE |
Government | |
• Type | City (from 1994) |
• Head of Municipality | Rafiq Tawfiq al-Makki |
Area | |
• Jurisdiction | 45,000 dunams (45 km2 or 17 sq mi) |
Population (2006) | |
• Jurisdiction | 409,680 |
{{Infobox Palestine municipality |name=Gaza |emblem=Gaza coat.png |emblem_type=Coat of arms of Gaza |image = Gaza City.JPG |caption = Skyline of Gaza, 2007 |arname=غزة |meaning= |founded=15th Century BCE |type=muna |typefrom=1994 |altOffSp=Ghazzah |altUnoSp=Gaza City |governorate=gz |population=409,680 |popyear=2006 |area=45,000 |areakm=45 |coordinates = {{Coord|31|31|N|34|27|E|display=inline}} |palgrid=099/101 |mayor=Rafiq Tawfiq al-Makki }}
Parameters
change- name: name of the city
- image (optional): top image
- caption (optional): caption for top image
- emblem (optional): logo of the city, basically the entire image file, e.g. Ramallah.jpg
- emblem_type (optional): optional caption for the logo
- arname: name/spelling of the city in Arabic
- hebname (optional): name/spelling of the city in Hebrew
- meaning (optional): name meaning
- founded (optional): year in which the municipality was founded
- type: has 6 possible values:
- muna: a class A municipality (city)
- munb: a class B municipality (town)
- munc: a class C municipality (town)
- mund: a class D municipality (village council)
- ldca: a class A local development committee
- ldcb: a class B local development committee
- ref: a refugee camp
- clus: a village cluster
- typefrom (optional): when it was declared a city/local council
- altOffSp (optional): alternative official transliterations, e.g. Tulkarem
- altUnoSp (optional): alternative unofficial transliterations, e.g. Tul Qarem
- governorate: governorate of the municipality, can have 16 possible values:
- jn: Jenin Governorate
- tb: Tubas Governorate
- tk: Tulkarm Governorate
- nb: Nablus Governorate
- ql: Qalqilya Governorate
- sl: Salfit Governorate
- rb: Ramallah and Al-Bireh Governorate
- jr: Jericho Governorate
- jl: Jerusalem Governorate
- bl: Bethlehem Governorate
- hb: Hebron Governorate
- ng: North Gaza Governorate
- gz: Gaza Governorate
- db: Deir el-Balah Governorate
- ky: Khan Yunis Governorate
- rf: Rafah Governorate
- population: population of the municipality
- popyear (optional): year in which the census (or estimate, since the last complete census was in 1995) was made
- area: jurisdiction of the municipality, dunams (the local measurement unit for measuring jurisdiction). RAW unformatted numbers only (i.e. 5000 not 5,000) as they will be converted to km² and sq mi automatically. Do not include any footnotes or references; try to place those into the main text of the article.
- areakm (optional): jurisdiction of the municipality, km
- mayor (optional): head of municipality (either mayor or head of council)
- coordinates (optional): Latitude and longitude degrees. Use {{Coord}}.
- palgrid (optional): Position on Palestine grid (two 3-digit numbers or two 4-digit numbers, separated by "/"; remember that EW comes before NS).
- pushpin_label_position (optional): The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}. If this field is not specified, the default value is right.
- pushpin_map_caption (optional): For placing a caption under the map.
Microformat
changeThe HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles 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
changeIf the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
changehCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- 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
changeWhen giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.