แม่แบบ:กล่องข้อมูล นครบาลในประเทศอิตาลี/doc
แม่แบบนี้ปรับแต่งมาจาก {{กล่องข้อมูล นิคม}} |
- Important
- Please enter all numeric values in a raw, unformatted fashion. References are to be included in their respective section footnotes field. Numeric values that are not "raw" may create an "Expression error". Raw values will be automatically formatted by the template. If you find a raw value is not formatted in your usage of the template, please post a notice on the discussion page for this template.
Blank template
[แก้]{{{name}}} {{{native_name}}} | |
---|---|
{{{official_name}}} | |
[[File:{{{image_skyline}}}|{{{imagesize}}}|alt={{{image_alt}}}|{{{image_caption}}}]] {{{image_caption}}} | |
สมญา: {{{nickname}}} | |
คำขวัญ: {{{motto}}} | |
[[File:{{{image_map}}}|{{{mapsize}}}|alt={{{map_alt}}}|{{{map_caption}}}]] {{{map_caption}}} | |
ประเทศ | อิตาลี |
แคว้น | {{{region}}} |
จังหวัด | {{{province}}} |
ก่อตั้ง | {{{established_date}}} |
Frazioni | {{{frazioni}}} |
การปกครอง | |
• นายกเทศมนตรี | {{{mayor}}} ({{{mayor_party}}}) |
พื้นที่{{{area_footnotes}}} | |
• ทั้งหมด | {{{area_total_km2}}} ตร.กม. (Formatting error: invalid input when rounding ตร.ไมล์) |
ความสูง{{{elevation_footnotes}}} | {{{elevation_m}}} เมตร (Bad rounding hereFormatting error: invalid input when rounding ฟุต) |
ความสูงจุดสูงสุด | {{{elevation_max_m}}} เมตร (Bad rounding hereFormatting error: invalid input when rounding ฟุต) |
ความสูงจุดต่ำสุด | {{{elevation_min_m}}} เมตร (Bad rounding hereFormatting error: invalid input when rounding ฟุต) |
ประชากร ({{{population_as_of}}}){{{population_footnotes}}} | |
• ทั้งหมด | {{{population_total}}} คน |
เดมะนิม | {{{population_demonym}}} |
เขตเวลา | UTC+1 (CET) |
• ฤดูร้อน (เวลาออมแสง) | UTC+2 (CEST) |
รหัสไปรษณีย์ | {{{postal_code}}} |
รหัสเขตโทรศัพท์ | {{{area_code}}} |
นักบุญองค์อุปถัมภ์ | {{{saint}}} |
วันสมโภชนักบุญ | {{{day}}} |
เว็บไซต์ | {{{website}}} |
{{{footnotes}}} |
This blank template includes all parameters, listed in the order they appear in the infobox.
{{Infobox Italian comune | name = | official_name = | native_name = | image_skyline = | imagesize = | image_alt = | image_caption = | image_shield = | shield_size = | shield_alt = | nickname = | motto = | image_map = | mapsize = | map_alt = | map_caption = | pushpin_label_position = | pushpin_map_alt = | latd = |latm = |lats = |latNS = | longd = |longm = |longs = |longEW = | coordinates_type = | coordinates_display = | coordinates_footnotes = | region = | province = | frazioni = | adjacentcomuni = | established_date = | mayor_party = | mayor = | area_footnotes = | area_total_km2 = | population_footnotes = | population_total = | population_as_of = | pop_density_footnotes = | population_demonym = | elevation_footnotes = | elevation_m = | elevation_min_m = | elevation_max_m = | twin1 = | twin1_country = | twin2 = | twin2_country = | twin3 = | twin3_country = | saint = | day = | postal_code = | area_code = | website = | footnotes = }} |
Parameters
[แก้]Required parameters marked with an asterisk (*). Examples come mostly from infobox for Sorrento.
Name | Description | Example |
---|---|---|
* name | For infobox title and map caption | Sorrento |
native_name | For infobox subtitle, just below name | |
official_name | Title and name of city or comune, in Italian. | Comune di Firenze Defaults to: Comune di {{{name}}} |
image_skyline | Name of image, displayed at width 240px. This need not be a sky-line image, but should be something characteristic of the commune | Monteu Roero 01.jpg |
image_caption | Optional caption to display beneath image | Piazza Grande |
image_shield | Name of the image of coat of arms | Sorrento Stemma.png |
shield_size | Defaults to 140px, can be set smaller for low resolution images | |
image_map | Name of a map image. Can be used in addition to the locator map | |
nickname | Any unofficial nicknames | |
motto | The comune's motto | |
latd, latm, latNS | Latitude coordinates | |
longd, longm, longEW | Longitude coordinates | |
pushpin_label_position | Display native_name to right (default) or left of mark on map. | |
* region | Name of region, wikilinked. | [[Campania]] |
* province | Name of province,wikilinked and piped, plus the two-letter province code. | [[Province of Naples|Naples]] (NA) |
frazioni | Frazioni (a type subdivision of the comune). | Casarlano, Sorrento Capo, Sorrento Marina Grande |
adjacentcomuni | Neighboring comuni | Massa Lubrense, Sant'Agnello |
established_date | Date comune was founded | |
mayor | Name of mayor. | Marco Fiorentino (since April 5, 2005) |
mayor_party | Name of mayor's party. | |
elevation_footnotes | Place to put any references using <ref> </ref> tags | |
elevation_m | Elevation in meters (m). | 50.2 (Numbers only in RAW format only; no commas or spaces) |
area_footnotes | Place to put any references using <ref> </ref> tags | |
* area_total_km2 | Area in square kilometers (km²). | 9.1 (Numbers only in RAW format only; no commas or spaces) |
population_footnotes | Place to put any references using <ref> </ref> tags | <ref name=profilo>{{cite web | url = http://www.comune.casale-monferrato.al.it/IT/cityhall/profilo_citta.asp?pid=CH_PROFILO | title = Profilo della Città | publisher = Comune di Casale Monferrato | accessdate = 2007-10-03 }}</ref> |
* population_as_of | Date for population. | December 31, 2004 |
* population_total | Population (number). | 16506 (Numbers only in RAW format only; not 16,506 or 16 506; no commas or spaces) |
pop_density_footnotes | Place to put any references using <ref> </ref> tags | |
population_demonym | Gentilic (name for inhabitants). Use masculine plural form with an initial capital. | Sorrentini |
* telephone | Dialing code. | 081 |
* postalcode | Postal code(s). | 80060 and 80067 |
saint | Name of patron saint. | St. Antoninus |
day | Day of patron saint. | February 14 |
website | Link to city's web site. | www.comune.sorrento.na.it |
footnotes | Any additional footnotes |
Example
[แก้]Sanremo | |
---|---|
Comune di Sanremo | |
ประเทศ | อิตาลี |
แคว้น | Liguria |
จังหวัด | Imperia (IM) |
Frazioni | San Romolo, Poggio, Bussana, Bussana Vecchia, Coldirodi, Verezzo, San Bartolomeo, Gozzo Superiore, Gozzo Inferiore, Verezzo San Donato, Verezzo Sant'Antonio, San Giacomo, San Giovanni, Borello |
การปกครอง | |
• นายกเทศมนตรี | Claudio Borea |
พื้นที่ | |
• ทั้งหมด | 54 ตร.กม. (21 ตร.ไมล์) |
ความสูง | 15 เมตร (49 ฟุต) |
ประชากร (2008) | |
• ทั้งหมด | 56,592 คน |
• ความหนาแน่น | 1,000 คน/ตร.กม. (2,700 คน/ตร.ไมล์) |
เดมะนิม | Sanremesi or Sanremaschi |
เขตเวลา | UTC+1 (CET) |
• ฤดูร้อน (เวลาออมแสง) | UTC+2 (CEST) |
รหัสไปรษณีย์ | 18038 |
รหัสเขตโทรศัพท์ | 0184 |
นักบุญองค์อุปถัมภ์ | Saint Romolo |
วันสมโภชนักบุญ | October 13 |
เว็บไซต์ | comunedisanremo.it |
Sample infobox for Sanremo:
{{Infobox Italian comune | name = Sanremo | official_name = Comune di Sanremo | native_name = | image_skyline = Sanremo-P1010166.JPG | imagesize = | image_alt = | image_caption = | image_shield = | shield_alt = | shield_size = | image_map = | map_alt = | map_caption = | pushpin_label_position = | pushpin_map_alt = | latd = 43 |latm = 49 |lats = |latNS = N | longd = 7 |longm = 47 |longs = |longEW = E | coordinates_type = region:IT_type:city(56903) | coordinates_display = title | coordinates_footnotes = | region = [[Liguria]] | province = [[Province of Imperia|Imperia]] (IM) | frazioni = San Romolo, Poggio, Bussana, Bussana Vecchia, Coldirodi, Verezzo, San Bartolomeo, Gozzo Superiore, Gozzo Inferiore, Verezzo San Donato, Verezzo Sant'Antonio, San Giacomo, San Giovanni, Borello | adjacentcomuni = [[Apricale]], [[Bajardo]], [[Ceriana]], [[Ospedaletti]], [[Perinaldo]], [[Seborga]], [[Taggia]], [[Bordighera]] | mayor_party = | mayor = Claudio Borea | area_footnotes = | area_total_km2 = 54 | population_footnotes = | population_total = 56592 | population_as_of = 2008 | pop_density_footnotes = | population_demonym = Sanremesi or Sanremaschi | elevation_footnotes = | elevation_m = 15 | twin1 = | twin1_country = | saint = [[Saint Romolo]] | day = October 13 | postal_code = 18038 | area_code = 0184 | website = [http://www.comunedisanremo.it/ comunedisanremo.it] | footnotes = }}
Coordinates
[แก้]สำหรับพิกัด ให้ใช้แม่แบบ {{coord}} กับ display=inline,title และไม่ควรกรอกค่าละเอียดเกินไป
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:
- "adr"
- "county-name"
- "fn"
- "label"
- "locality"
- "nickname"
- "note"
- "org"
- "vcard"
Geo is produced by calling {{coord}}, and uses HTML classes hCard uses HTML classes including:
- "geo"
- "latitude"
- "longitude"
Please do not rename or remove these classes.