Jump to content

Template:Infobox Albanian settlement/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
{{{name}}}
{{{other name}}}
Settlement
[[File:{{{image_skyline}}}|250px|{{{caption}}}]]
{{{caption}}}
[[File:{{{flag}}}|100x100px|border|Flag of {{{name}}}]]
[[File:{{{emblem}}}|100x100px|Official logo of {{{name}}}]]
[[File:{{{map}}}|250px]]
Country Albania
County{{{county}}}
Municipality{{{municipality}}}
Municipal unit{{{municunit}}}
Settled{{{established}}}
Dissolved{{{dissolved}}}
Subdivisions{{{parts}}}
Government
 • Mayor{{{mayor}}} ({{{party}}})
 • Prefect{{{prefect}}}
 • Council chairman{{{council chairman}}}
 • Administrator{{{administrator}}}
Area
 • Total1 km2 (0.4 sq mi)
 • Municipality0 km2 (0 sq mi)
Elevation
0 m (0 ft)
Population
 ({{{population as of}}})
 • Total{{{population total}}}
 • Municipality
{{{population munic}}}
 • Municipal unit
{{{population unit}}}
Time zoneUTC+1 (CET)
 • Summer (DST)UTC+2 (CEST)
Postal Code
{{{postal code}}}
Area Code{{{area code}}}
Website{{{website}}}

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

Structure

[edit]
{{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       =
| youthcouncil chairman  =
| administrator          = 
| coordinates            = 
| elevation              = 
| area total             =
| area rank              =
| population as of       = 
| population total       = 
| population rank        = 
| demonym                =
| postal code            = 
| area code              = 
| website                = 
}}

No description.

Template parameters

ParameterDescriptionTypeStatus
official_nameofficial_name

no description

Unknownoptional
namename

no description

Unknownoptional
other nameother name

no description

Unknownoptional
nicknamenickname

no description

Unknownoptional
typetype

no description

Unknownoptional
sealseal

no description

Unknownoptional
emblememblem

no description

Unknownoptional
flagflag

no description

Unknownoptional
skylineskyline

no description

Unknownoptional
image_skylineimage_skyline

no description

Unknownoptional
captioncaption

no description

Unknownoptional
image_captionimage_caption

no description

Unknownoptional
mapmap

no description

Unknownoptional
coordinatescoordinates

no description

Unknownoptional
mapsizemapsize

no description

Unknownoptional
map captionmap caption

no description

Unknownoptional
countycounty

no description

Unknownoptional
municipalitymunicipality

no description

Unknownoptional
municunitmunicunit

no description

Unknownoptional
partsparts

no description

Unknownoptional
settledsettled

no description

Unknownoptional
establishedestablished

no description

Unknownoptional
incorporatedincorporated

no description

Unknownoptional
dissolveddissolved

no description

Unknownoptional
seatseat

no description

Unknownoptional
partyparty

no description

Unknownoptional
mayormayor

no description

Unknownoptional
prefectprefect

no description

Unknownoptional
council chairmancouncil chairman

no description

Unknownoptional
administratoradministrator

no description

Unknownoptional
elevationelevation

no description

Unknownoptional
area rankarea rank

no description

Unknownoptional
area totalarea total

no description

Unknownoptional
area total km2area total km2

no description

Unknownoptional
area_total_km2area_total_km2

no description

Unknownoptional
area_municarea_munic

no description

Unknownoptional
area_unitarea_unit

no description

Unknownoptional
area footnotesarea footnotes

no description

Unknownoptional
population_as_ofpopulation_as_of

no description

Unknownoptional
population as ofpopulation as of

no description

Unknownoptional
population totalpopulation total

no description

Unknownoptional
population rankpopulation rank

no description

Unknownoptional
population_municpopulation_munic

no description

Unknownoptional
population_unitpopulation_unit

no description

Unknownoptional
demonymdemonym

no description

Unknownoptional
blank_name_sec1blank_name_sec1

no description

Unknownoptional
blank_info_sec1blank_info_sec1

no description

Unknownoptional
NUTS codeNUTS code

no description

Unknownoptional
postal codepostal code

no description

Unknownoptional
area codearea code

no description

Unknownoptional
websitewebsite

no description

Unknownoptional
modulemodule

no description

Unknownoptional
youth council chairmanyouth council chairman

The youth council chairman of the region

Unknownoptional

Microformat

[edit]

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

[edit]

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

[edit]

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

[edit]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

Tracking category

[edit]

TemplateData

[edit]
TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Infobox Albanian settlement in articles based on its 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".

Stringrequired
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
youth council chairmanyouth council chairman

no description

Unknownoptional
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