Difference between revisions of "Template:Infobox Albania place"
imported>Markussep m |
imported>Markussep (standard links for counties) |
||
| Line 4: | Line 4: | ||
| nickname = {{{nickname|}}} | | nickname = {{{nickname|}}} | ||
| settlement_type = {{#switch:{{lc:{{{type}}}}} | | settlement_type = {{#switch:{{lc:{{{type}}}}} | ||
| − | | county | co = [[Counties of Albania|County]] <!-- Albanian: qark --> | + | | county | co = [[Counties of Albania|County]] <!-- Albanian: qark --> |
| − | | district | d = [[Districts of Albania|Former district]] <!-- Albanian: rrethe, abolished in 2000 --> | + | | district | d = [[Districts of Albania|Former district]] <!-- Albanian: rrethe, abolished in 2000 --> |
| − | | municipality | m = [[Municipalities of Albania|Municipality]] | + | | municipality | m = [[Municipalities of Albania|Municipality]] |
| − | | municipal unit | mu = [[Municipalities of Albania|Municipal unit]] | + | | municipal unit | mu = [[Municipalities of Albania|Municipal unit]] |
| − | | village | v = [[Villages of Albania|Village]] <!-- Albanian: fshat --> | + | | village | v = [[Villages of Albania|Village]] <!-- Albanian: fshat --> |
| − | | city | c = [[List of cities in Albania|City]] <!-- Albanian: qytet --> | + | | city | c = [[List of cities in Albania|City]] <!-- Albanian: qytet --> |
| − | | town | t = [[List of cities in Albania|Town]] <!-- Albanian: qytet, use this for smaller places with city status --> | + | | town | t = [[List of cities in Albania|Town]] <!-- Albanian: qytet, use this for smaller places with city status --> |
| − | | #default = Settlement | + | | #default = Settlement |
}} | }} | ||
| image_seal = {{{seal|}}} | | image_seal = {{{seal|}}} | ||
| Line 30: | Line 30: | ||
| subdivision_name = {{flag|Albania}} | | subdivision_name = {{flag|Albania}} | ||
| subdivision_type1 = [[Counties of Albania|County]] | | subdivision_type1 = [[Counties of Albania|County]] | ||
| − | | subdivision_name1 = {{{county|}}} | + | | subdivision_name1 = {{#switch: {{{type|}}} |
| + | | co | county = | ||
| + | | #default = {{#switch: {{unlink|{{{county|}}} }} | ||
| + | | Berat | Berat County = [[Berat County|Berat]] | ||
| + | | Dibër | Dibër County = [[Dibër County|Dibër]] | ||
| + | | Durrës | Durrës County = [[Durrës County|Durrës]] | ||
| + | | Elbasan | Elbasan County = [[Elbasan County|Elbasan]] | ||
| + | | Fier | Fier County = [[Fier County|Fier]] | ||
| + | | Gjirokastër | Gjirokastër County = [[Gjirokastër County|Gjirokastër]] | ||
| + | | Korçë | Korçë County = [[Korçë County|Korçë]] | ||
| + | | Kukës | Kukës County = [[Kukës County|Kukës]] | ||
| + | | Lezhë | Lezhë County = [[Lezhë County|Lezhë]] | ||
| + | | Shkodër | Shkodër County = [[Shkodër County|Shkodër]] | ||
| + | | Tirana | Tirana County = [[Tirana County|Tirana]] | ||
| + | | Vlorë | Vlorë County = [[Vlorë County|Vlorë]] | ||
| + | | #default = {{{county|}}} | ||
| + | }} }} | ||
| subdivision_type2 = [[Municipalities of Albania|Municipality]] | | subdivision_type2 = [[Municipalities of Albania|Municipality]] | ||
| − | | subdivision_name2 = {{{municipality|}}} | + | | subdivision_name2 = {{#switch: {{{type|}}} |
| + | | co | county | municipality | m = | ||
| + | | #default = {{{municipality|}}} | ||
| + | }} | ||
| subdivision_type3 = [[Municipalities of Albania|Municipal unit]] | | subdivision_type3 = [[Municipalities of Albania|Municipal unit]] | ||
| subdivision_name3 = {{{municunit|}}} | | subdivision_name3 = {{{municunit|}}} | ||
Revision as of 18:52, 22 August 2019
| This template uses Lua: |
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
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
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The above documentation is transcluded from Template:Infobox Albania place/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |