Template:Infobox city Japan
City | |
Country | Japan |
Time zone | UTC+9 (Japan Standard Time) |
This template is a customized wrapper for {{Infobox settlement}}. Any field from
|
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
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
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.
The above documentation is transcluded from Template:Infobox city Japan/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |