Templat:Infobox Bandaraya Sepanyol
Dari Wikipedia Bahasa Melayu, ensiklopedia bebas.
{{{native_name}}}
|
|||||
|
|||||
Lokasi | |||||
---|---|---|---|---|---|
Koordinat : {{{lat_long}}} Zon masa : CET |
|||||
Maklumat am | |||||
Nama tempatan | {{{native_name}}} ([[{{{native_language}}} language|{{{native_language}}}]]) | ||||
Nama Sepanyol | {{{spanish_name}}} | ||||
Pentadbiran | |||||
Negara | Sepanyol | ||||
Masyarakat Autonomi | [[{{{community_link}}}|{{{community}}}]] | ||||
Wilayah | [[{{{province_link}}}|{{{province}}}]] | ||||
Geografi | |||||
Luas kawasan | {{{area}}} km² | ||||
Altitud | {{{altitude}}} m AMSL | ||||
Penduduk | |||||
Penduduk | {{{population}}} ({{{date-population}}}) | ||||
Ketumpatan | {{{density}}} hab./km² ({{{date-density}}}) |
[Sunting] Usage
{{Infobox City Spain | image_skyline = | image_skyline_size = | image_skyline_caption = | native_name = | spanish_name = | nickname = | city_motto = | city_motto_means = | image_flag = | image_flag_size = | image_coat_of_arms = | image_coat_of_arms_size = | image_city_map = | image_city_map_size = | image_city_map_caption = | lat_long = | time_zone = | time_zone_summer = | founded = | native_language = | community = | community_link = | province = | province_link = | comarca = | comarca_link = | divisions = | neighborhoods = | mayor = | political_party = | political_party_link = | area = | altitude = | population = | date-population = | population-ranking = | density = | date-density = | website = | postal_code = | area_code = | }}
[Sunting] Parameters
If a parameter is not applicable to a city, just leave it blank.
Parameter | Explanation |
---|---|
image_skyline | A image of the city's skyline, if one. Another panoramic image if not. |
image_skyline_size | Size of the skyline image, usually 250px. |
image_skyline_caption | Caption for the skyline image. |
native_name | Native name of the city, in Catalan, Basque or Galician, if applicable. |
spanish_name | Spanish name of the city. |
nickname | Nickname(s) of the city, if one. |
city_motto | Motto of the city, if one, in the original language. |
city_motto_means | Translation of the motto to English. |
image_flag | Flag of the city. |
image_flag_size | Size of the flag image, usually 150px. |
image_coat_of_arms | Coat of arms. |
image_coat_of_arms_size | Size of the coat of arms image, usually 80px. |
image_city_map | Image of a city map or a city location map. |
image_city_map_size | Size of the city map image. |
image_city_map_caption | Caption for the city map image. |
lat_long | Latitude and longitude. Use {{coord}} with "display=inline,title" when possible. |
time_zone | Time zone. |
time_zone_summer | Summer time zone. |
founded | Date of city founding. |
native_language | Native language of the city (Spanish, Catalan, Basque or Galician). |
community | Autonomous community the city is located into. |
community_link | Link to the Wikipedia entry of the autonomous community. |
province | Province the city is located into. |
province_link | Link to the Wikipedia entry of the province, if one. |
comarca | Comarca the city is located into. |
comarca_link | Link to the Wikipedia entry of the comarca, if one. |
divisions | Number of administrative divisions of the city (often called districts). |
neighborhoods | Number of neighborhoods of the city. |
mayor | Name of the mayor, like it appears in their entry, if it exists. |
political_party | Short form of the political party the mayor belongs to: PSOE, PP, CiU, etc. |
political_party_link | Link to the Wikipedia entry of the political party. |
area | Land area of the city. Number only. "km²" is added by the template. |
altitude | The altitude the city is located. Number only. "m AMSL" is added by the template. |
population | Number of inhabitants of the city. |
date-population | Date of the above information. |
population-ranking | Ranking of the city in Spain, population wise. |
density | Population density. Number only. "hab./km²" is added by the template. |
date-density | Date of the above information. |
website | URL of the official website of the city. |
postal_code | Postal code or range of postal codes. |
area_code | Telephone area code. City code only, country code is added by the template. |
[Sunting] Microformat
The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article 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.
hCard uses HTML classes including: Templat:Flatlist
- "adr"
- "county-name"
- "fn"
- "label"
- "locality"
- "nickname"
- "note"
- "org"
- "vcard"
Templat:Endflatlist
Geo is produced by calling {{coord}}, and uses HTML classes:
Templat:Flatlist
- "geo"
- "latitude"
- "longitude"
Templat:Endflatlist
Please do not rename or remove these classes.
When giving coordinates, please don't be overly precise.