Template:Infobox Palestinian Authority municipality/doc
This is a documentation subpage for Template:Infobox Palestinian Authority municipality. It contains usage information, categories and other content that is not part of the original template page. |
This template is meant for Palestinian Authority municipalities.
Usage
The infobox should be added using the {{Infobox Palestinian Authority municipality}} template, as shown below:
{{Infobox Palestinian Authority municipality |name= |image= |caption= |imgsize= |image3= |caption3= |pushpin_map=Palestinian territories |pushpin_mapsize= |pushpin_label_position= |arname= |hename= |meaning= |founded= |type= |typefrom= |altOffSp= |altUnoSp= |governorate= |population= |popyear= |area= |areakm= |latd= |latm= |lats= |latNS=N |longd= |longm= |longs= |longEW=E |mayor= }}
Example
{{Infobox Palestinian Authority municipality |name=Gaza |image=Gaza coat.png |caption=Coat of arms of Gaza |imgsize=90 |image3=Gaza City.JPG|imgsize3=280 |caption3=Skyline of Gaza, 2007 |pushpin_map=Palestinian territories |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 |latd=31 |latm=31 |lats= |latNS=N |longd=34 |longm=27|longs= |longEW=E |mayor=Rafiq Tawfiq al-Makki
}}
Parameters
- name: name of the city
- image3 (optional): top image
- caption3 (optional): caption for top image
- image (optional): logo of the city, basically the entire image file, e.g. Ramallah.jpg
- imgsize (optional): size of image, if different from original (measurement is px, no need to add px to the end)
- caption (optional): optional caption
- 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)
- latd (optional): Latitude degrees. Can also be used for decimal degrees.
- latm (optional): Latitude minutes.
- lats (optional):
- latNS (optional): Enter a value of N
- longd (optional): Longitude degrees. Can also be used for decimal degrees.
- longm (optional):
- longs (optional):
- longEW (optional): Enter a value of E
- map_type The Location Map (see template:Location map to be used for locating subject on map).
- pushpin_map (optional but must be used with the coordinate fields): This map must be used with the lat/long fields, otherwise an error will occur. The following values can be entered:
- Currently only "Palestinian territories", for a general map
- 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_mapsize (optional): Must be entered as only a number—no need for px. The default value is 250.
- pushpin_map_caption (optional): For placing a caption under the map.
Microformat
The 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
If 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
hCard 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
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.