Template:Infobox Albanian settlement/doc

From The Global Wiki
Jump to navigation Jump to search

Usage

Script error: No such module "Parameter names example".

This is a dedicated infobox for municipalities of Albania and villages of Albania.

Structure

{{Infobox Albanian settlement
| name                   = 
| other name             =  
| type                   = <!-- Valid types are county, district, municipality, municipal unit, city, town and village. Default is Settlement -->
| flag                   = 
| emblem                 = 
| image_skyline          = 
| image_caption          = 
| map                    = 
| county                 = 
| municipality           = 
| municunit              =
| parts                  =
| settled                =
| incorporated           =
| dissolved              =
| party                  =
| mayor                  =
| party                  =
| prefect                = 
| council chairman       =
| administrator          = 
| coordinates            = 
| elevation              = 
| area total             =
| area rank              =
| population as of       = 
| population total       = 
| population rank        = 
| demonym                =
| postal code            = 
| area code              = 
| website                = 
}} 

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.

Tracking category

TemplateData

TemplateData documentation used by VisualEditor and other tools
Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox Albanian settlement

Infobox for settlements and administrative divisions in Albania

Template parameters

ParameterDescriptionTypeStatus
namename official_name

Name of the settlement or administrative division

Stringrequired
other_nameother_name other name

Other name, for instance the Albanian name if that is not the same as the common English name, or a minority language name

Stringoptional
typetype

Type of settlement or administrative division. Valid types are county (co), district (d), municipality (m), municipal unit (mu), village (v), city (c), town (t). Default is "settlement".

Stringoptional
dissolveddissolved

Year in which it was disbanded

Numberoptional
image_skylineimage_skyline skyline

Representative image

Stringoptional
image_captionimage_caption caption

Caption for skyline image

Unknownoptional
mapmap

Map image, showing the location

Stringoptional
map captionmap caption

Caption for the map (see map)

Unknownoptional
mapsizemapsize

Size of the map image

Unknownoptional
population_totalpopulation_total population total

Population of the settlement or subdivision

Numberoptional
population_as_ofpopulation_as_of population as of

Year of the population number

Numberoptional
area_total_km2area_total_km2 area total area total km2

Area of the settlement or subdivision

Numberoptional
partyparty

Party of the leader (mayor, council chairman, ...)

Unknownoptional
sealseal

Seal image

Stringoptional
emblememblem

Emblem image

Unknownoptional
flagflag

Flag image

Unknownoptional
coordinatescoordinates

Coordinates, use the coord template

Unknownoptional
countycounty

The county the settlement or subdivision is part of

Stringoptional
municipalitymunicipality

The municipality the settlement or subdivision is part of

Stringoptional
municunitmunicunit

The municipal unit the settlement is part of

Unknownoptional
partsparts

The (number of) subdivisions of the administrative division, for instance for a county: municipalities, for a municipality: municipal units

Stringoptional
seatseat

The seat (capital) of an administrative division

Stringoptional
settledsettled established

Year the settlement was established or settled

Numberoptional
incorporatedincorporated

Year the settlement was incorporated

Numberoptional
mayormayor

The mayor of the municipality

Stringoptional
prefectprefect

The prefect of the region

Stringoptional
council chairmancouncil chairman

The council chairman of the region

Stringoptional
elevationelevation

The elevation of the settlement in metres

Numberoptional
area_municarea_munic area munic

The area of the municipality in km2

Numberoptional
area_unitarea_unit area unit

The area of the municipal unit in km2

Numberoptional
population_municpopulation_munic population munic

The population of the municipality

Unknownoptional
population_unitpopulation_unit population unit

The population of the municipal unit

Unknownoptional
postal_codepostal_code postal code

Postal code

Unknownoptional
area_codearea_code area code

Area code

Unknownoptional
car_platescar_plates vehicle plate

Vehicle registration code, see Vehicle registration plates of Albania

Unknowndeprecated
websitewebsite

Official website

Unknownoptional
area footnotesarea footnotes

no description

Unknownoptional
demonymdemonym

no description

Unknownoptional
NUTS codeNUTS code

no description

Unknownoptional
modulemodule

no description

Unknownoptional