Template:Infobox Albanian settlement/doc

From MOASSpedia
Jump to navigation Jump to search

Usage

{{{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:{{{location}}}|250px]]
Coordinates: Lua error in Module:Coordinates at line 614: attempt to index field 'wikibase' (a nil value).
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

{{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                    = 
| location               =
| 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 location

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

no description

Unknownoptional