Difference between revisions of "Template:Infobox Albania place"

From blackwiki
Jump to navigation Jump to search
imported>TerraCyprus
m (TerraCyprus moved page Template:Infobox Albanian settlement to Template:Infobox Albanian place: use "place" as is done by Australian place (since 2006) and UK place (since 2007) and as used in the first edit (2014) to describe the purpose)
imported>Markussep
m (renamed maintenance category)
 
(One intermediate revision by one other user not shown)
Line 109: Line 109:
 
| area_code = {{{area code|{{{area_code|}}}}}}
 
| area_code = {{{area code|{{{area_code|}}}}}}
 
| website = {{{website|}}}
 
| website = {{{website|}}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using Infobox Albanian settlement with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox Albanian settlement]] with unknown parameter "_VALUE_"|ignoreblank=y| administrator | area code | area_code | area footnotes | area munic | area_munic | area rank | area total | area total km2 | area_total_km2 | area unit | area_unit | caption | car_plates | coordinates | council chairman | county | demonym | dissolved | elevation | emblem | established | flag | image_caption | image_skyline | incorporated | location | map | map caption | mapsize | mayor | municipality | municunit | name | nickname | NUTS code | official_name | other name | other_name | parts | party | population as of | population_as_of | population density km2 | population_density_km2 | population munic | population_munic | population rank | population total | population_total | population unit | population_unit | postal code | postal_code | prefect | seal | seat | settled | skyline | type | vehicle plate | website}}<!-- error tracking categories
+
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox Albania place with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox Albania place]] with unknown parameter "_VALUE_"|ignoreblank=y| administrator | area code | area_code | area footnotes | area munic | area_munic | area rank | area total | area total km2 | area_total_km2 | area unit | area_unit | caption | car_plates | coordinates | council chairman | county | demonym | dissolved | elevation | emblem | established | flag | image_caption | image_skyline | incorporated | location | map | map caption | mapsize | mayor | municipality | municunit | name | nickname | NUTS code | official_name | other name | other_name | parts | party | population as of | population_as_of | population density km2 | population_density_km2 | population munic | population_munic | population rank | population total | population_total | population unit | population_unit | postal code | postal_code | prefect | seal | seat | settled | skyline | type | vehicle plate | website}}<!-- error tracking categories
  
-->{{#if: {{{coordinates|}}} | | {{ns0|[[Category:Pages using Infobox Albanian settlement with unknown parameters|C]]}} }}<!-- coordinates missing
+
-->{{#if: {{{coordinates|}}} | | {{ns0|[[Category:Pages using infobox Albania place with unknown parameters|C]]}} }}<!-- coordinates missing
-->{{#ifeq: {{#expr: {{#expr: {{{population total|{{{population_total|0}}}}}} round 0 }} = {{{population total|{{{population_total|0}}}}}} }} | 0 | [[Category:Pages using Infobox Albanian settlement with unknown parameters|D]] | }}<!-- Assign to maintenance category if decimal point is used in population as a thousands divider, or the population is not a number
+
-->{{#ifeq: {{#expr: {{#expr: {{{population total|{{{population_total|0}}}}}} round 0 }} = {{{population total|{{{population_total|0}}}}}} }} | 0 | [[Category:Pages using infobox Albania place with unknown parameters|D]] | }}<!-- Assign to maintenance category if decimal point is used in population as a thousands divider, or the population is not a number
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 08:34, 5 November 2020

Template documentation[view] [edit] [history] [purge]

Template:Uses Infobox settlement

Usage

Template:Parameter names example

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

Structure

{{Infobox Albanian place
| 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              = 
| vehicle plate          = 
| website                = 
}} 

Microformat

Template:UF-hcard-geo

Tracking category

TemplateData

TemplateData documentation used by VisualEditor and other tools
See the monthly parameter usage report for this template.

TemplateData for Infobox Albania place

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