แม่แบบ:กล่องข้อมูล เมืองในญี่ปุ่น

จากวิกิพีเดีย สารานุกรมเสรี
กล่องข้อมูล เมืองในญี่ปุ่น
เมือง
ประเทศ ญี่ปุ่น
เขตเวลา เวลามาตรฐานญี่ปุ่น (UTC+9)
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]


Empty Syntax

  • Important: Please enter all numeric values in a raw, unformatted fashion. Numeric values that are not "raw" may create an "Expression error" in the Area and Density fields. 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.

For examples and questions see the talk page.

{{Infobox city Japan
|Name               = 
|official_name      = 
|JapaneseName       =
|settlement_type    = <!-- such as Town, Village, City, Borough etc. -->
|ImageSkyline       = 
|ImageSize          = 
|ImageCaption       = 
|MapImage           = 
|Region             = 
|Prefecture         = 
|District           = 
|Area_km2           = 
|PopDate            = 
|Population         = 
|Density_km2        = 
|LatitudeDegrees    = 
|LatitudeMinutes    = 
|LatitudeSeconds    = 
|LongtitudeDegrees  = 
|LongtitudeMinutes  = 
|LongtitudeSeconds  = 
|LatitudeDegrees1   = <!-- Specifically use in Okinawa Prefecture & Ōshima Subprefecture (Kagoshima) only -->
|LatitudeMinutes1   = <!-- Specifically use in Okinawa Prefecture & Ōshima Subprefecture (Kagoshima) only -->
|LatitudeSeconds1   = <!-- Specifically use in Okinawa Prefecture & Ōshima Subprefecture (Kagoshima) only -->
|LongtitudeDegrees1 = <!-- Specifically use in Okinawa Prefecture & Ōshima Subprefecture (Kagoshima) only -->
|LongtitudeMinutes1 = <!-- Specifically use in Okinawa Prefecture & Ōshima Subprefecture (Kagoshima) only -->
|LongtitudeSeconds1 = <!-- Specifically use in Okinawa Prefecture & Ōshima Subprefecture (Kagoshima) only -->
|Tree               = 
|Flower             = 
|Flowering tree     = 
|Bird               = 
|Butterfly          = 
|Fish               = 
|Others             =
|SymbolImage        = 
|SymbolDescription  = 
|Mayor              = 
|CityHallPostalCode = 
|CityHallAddress    = 
|CityHallPhone      = 
|CityHallLink       = 
}}

Location map[แก้]

These six parameters are used for a location map of the city.

|LatitudeDegrees=
|LatitudeMinutes=
|LatitudeSeconds= (optional)
|LongtitudeDegrees=
|LongtitudeMinutes=
|LongtitudeSeconds= (optional)

For Okinawa Prefecture & Ōshima Subprefecture (Kagoshima) only use the following below

|LatitudeDegrees1=
|LatitudeMinutes1=
|LatitudeSeconds1= (optional)
|LongtitudeDegrees1=
|LongtitudeMinutes1=
|LongtitudeSeconds1= (optional)

Coordinates[แก้]

The location map parameters above also show the coordinates. However, the different parameter "Coords" can be used as well. When both parameters are used, "Coords" overrides the location map parameters for the coordinates. For "Coords", use {{coord}} with display=inline,title.

Microformat[แก้]

button to indicate the presence of a Geo 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.

{{{official_name}}}