Jump to content

Template:Infobox Albanian settlement/doc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Kj1595 (talk | contribs) at 21:11, 7 February 2018. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Usage

{{{name}}}
{{{other_name}}}
Settlement
[[File:{{{skyline}}}|250px|{{{caption}}}]]
{{{caption}}}
[[File:{{{flag}}}|100x100px|border|Flag of {{{name}}}]]
[[File:{{{emblem}}}|100x100px|Official logo of {{{name}}}]]
Lua error in Module:Location_map at line 411: Malformed coordinates value.
Coordinates: {{{coordinates}}}
Land Albanien
County{{{county}}}
Municipality{{{municipality}}}
Municipal unit{{{municunit}}}
Area
 • Total{{{area_total_km2}}} km2 (Formatting error: invalid input when rounding sq mi)
 • Municipality0 km2 (0 sq mi)
 • Municipal unit0 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 settlement AL
| type = <!-- municipality, city, town or village, default is settlement -->
| name = 
| flag = 
| emblem = 
| skyline = 
| caption = 
| location = 
| county = 
| district =
| municipality = 
| administrative_unit =
| established_title = <!-- Settled -->
| established_date = 
| established_title2 = <!-- Incorporated -->
| established_date2 = 
| dissolved_title =
| dissolved_date =
| leader_name = <!-- Mayor -->
| leader_party = 
| leader_name2 = <!-- Council Chairman -->
| leader_party2 = 
| leader_name3 = <!-- Administrator -->
| leader_party3 = 
| coordinates = <!-- {{Coord}} -->
| elevation = <!-- elevations in meters -->
| elevation_min = 
| elevation_max = 
| area_total = <!-- area in square kilometers -->
| area_rank =
| population_as_of = 
| population_total = 
| population_rank = 
| population_demonym =
| postal_code = 
| area_code = 
| car_plates = 
| website = 
}} 

Empty version:

{{Infobox settlement AL
| type = 
| name = 
| flag = 
| emblem = 
| skyline = 
| caption = 
| location = 
| county = 
| district =
| municipality = 
| administrative_unit =
| established_title = 
| established_date = 
| established_title2 = 
| established_date2 = 
| dissolved_title =
| dissolved_date =
| leader_name = 
| leader_party = 
| leader_name2 = 
| leader_party2 = 
| leader_name3 = 
| leader_party3 = 
| coordinates = {{Coord}}
| elevation = 
| elevation_min = 
| elevation_max = 
| area_total = 
| area_rank =
| population_as_of = 
| population_total = 
| population_rank =
| population_demonym = 
| postal_code = 
| area_code = 
| car_plates = 
| 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.