Template:Infobox city Japan/doc

From IxWiki
Jump to navigation Jump to search

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.

{{{name}}}
{{{JapaneseName}}}
{{{RyukyuanName}}}
{{{settlement_type}}}
{{{official_name}}}
[[File:{{{image_skyline}}}|{{{imagesize}}}|{{{image_caption}}}]]
{{{image_caption}}}
[[File:{{{image_flag}}}
|100x100px|border|Flag of {{{name}}}]]
[[File:{{{image_symbol}}}
|100x100px|Official seal of {{{name}}}]]
[[File:{{{image_map}}}|250px|alt={{{map_alt}}}|Location of {{{name}}} in {{{subprefecture}}}, {{{prefecture}}}]]
Location of {{{name}}} in {{{subprefecture}}}, {{{prefecture}}}
Lua error in Module:Location_map at line 399: Malformed coordinates value.
Coordinates: Lua error in package.lua at line 80: module 'Module:ISO 3166/data/JP' not found.
CountryJapan
Region{{{region}}}
Prefecture{{{prefecture}}}
District{{{district}}}
{{{established_title}}}{{{established_date}}}
Merged{{{merged}}}
(now part of {{{merged_into}}})
Government
 • Mayor{{{mayor}}}
Area
 • Total0 km2 (0 sq mi)
Population
 ({{{population_as_of}}})
 • Total{{{population}}}
 • Density0/km2 (0/sq mi)
Symbols
 • Tree{{{tree}}}
 • Flower{{{flower}}}
 • Bird{{{bird}}}
 • Flowering tree{{{flowering_tree}}}
 • Butterfly{{{butterfly}}}
 • Fish{{{fish}}}
 • Others{{{others}}}
Time zoneUTC+9 (JST)
Postal code(s)
{{{postal_code}}}
Area code{{{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

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

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.

Tracking categories

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

Articles using this template without coordinates are tracked in: