Template:Infobox city Japan

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Infobox city Japan
City
Country Japan
Time zone Japan Standard Time (UTC+9)
Template documentation[view] [edit] [history] [purge]

Empty syntax[change source]

  • 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.

{{{name}}}
{{{JapaneseName}}}
{{{RyukyuanName}}}
{{{settlement_type}}}
{{{official_name}}}
[[File:{{{image_skyline}}}|{{{imagesize}}}|{{{image_caption}}}]]
{{{image_caption}}}
[[File:{{{image_flag}}}
|100px|border|Flag of {{{name}}}]]
Flag
[[File:{{{image_symbol}}}
|100px|Official seal of {{{name}}}]]
Symbol
[[File:{{{image_map}}}|250px|alt={{{map_alt}}}|Location of {{{name}}} in {{{subprefecture}}}, {{{prefecture}}}]]
Location of {{{name}}} in {{{subprefecture}}}, {{{prefecture}}}
{{{name}}} is located in Japan
{{{name}}}
{{{name}}}
Location in Japan
Coordinates: 32°40′N 132°40′E / 32.667°N 132.667°E / 32.667; 132.667
Country Japan
Region {{{region}}}
Prefecture {{{prefecture}}}
District {{{district}}}
{{{established_title}}} {{{established_date}}}
Merged {{{merged}}}
(now part of {{{merged_into}}})
Government
 • Mayor {{{mayor}}}
Area
 • Total 0 km2 (0 sq mi)
Population ({{{population_as_of}}})
 • Total {{{population}}}
 • Density 0/km2 (0/sq mi)
Symbols
 • Tree {{{tree}}}
 • Flower {{{flower}}}
 • Bird {{{bird}}}
 • Flowering tree {{{flowering_tree}}}
 • Butterfly {{{butterfly}}}
 • Fish {{{fish}}}
 • Others {{{others}}}
Time zone Japan Standard Time (UTC+9)
Postal code(s) {{{postal_code}}}
Area code(s) {{{area_code}}}
City hall address {{{city_hall_address}}}
{{{city_hall_postal_code}}}
Website {{{website}}}
{{{footnotes}}}
{{Infobox city Japan
| name                  = 
| JapaneseName          = 
| RyukyuanName          = 
| settlement_type       = <!-- default: City -->
| official_name         = 
| image_skyline         = 
| imagesize             = 
| image_caption         = 
| image_flag            = 
| image_symbol          = 
| image_map             = 
| map_alt               = 
| subprefecture         = 
| prefecture            = 
| coordinates           = <!-- {{coord|LAT|N|LON|E|display=inline,title}} -->
| region                = 
| district              = 
| established_title     = 
| established_date      = 
| merged                = 
| merged_into           = 
| mayor                 = 
| area_km2              = 
| population_as_of      = 
| population            = 
| density_km2           = 
| tree                  = 
| flower                = 
| bird                  = 
| flowering_tree        = 
| butterfly             = 
| fish                  = 
| others                = 
| postal_code           = 
| area_code             = 
| city_hall_address     = 
| city_hall_postal_code = 
| website               = 
| footnotes             =
}}

Coordinates[change source]

For coordinates, use |coordinates= and {{coord}} with display=inline,title. The Japan location map will be shown, with a pushpin for the city's location.

Microformat[change source]

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[change source]

If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[change source]

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[change source]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

Tracking categories[change source]

Uses of this template with unknown or unsupported parameters are tracked in:

Articles using this template without coordinates are tracked in: