Template:Infobox Albanian settlement/doc
| This is a documentation subpage for Template:Infobox Albanian settlement. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
This template is a customized wrapper for {{Infobox settlement}} and as such included in Category:Templates calling Infobox settlement. Any field from {{Infobox settlement}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox settlement}}. Questions? Just ask here or over at Template talk:Infobox settlement. |
Usage
{{{name}}}
{{{other name}}} | |
|---|---|
Settlement | |
| [[File:{{{image_skyline}}}|250px|{{{caption}}}]] {{{caption}}} | |
|
[[File:{{{flag}}}|100x100px|border|Flag of {{{name}}}]] Flag [[File:{{{emblem}}}|100x100px|Official logo of {{{name}}}]] Emblem | |
| [[File:{{{location}}}|250px]] | |
| Coordinates: Lua error in Module:Coordinates at line 614: attempt to index field 'wikibase' (a nil value). | |
| Country | |
| 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 | |
| • Total | 1 km2 (0.4 sq mi) |
| • Municipality | 0 km2 (0 sq mi) |
| Elevation | 0 m (0 ft) |
| Population ({{{population as of}}}) | |
| • Total | {{{population total}}} |
| • Municipality | {{{population munic}}} |
| • Municipal unit | {{{population unit}}} |
| Time zone | UTC+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
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||