Template:Infobox city Japan/doc
This is a documentation subpage for Template:Infobox city Japan. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a customized wrapper for {{Infobox settlement}} and as such included in Category:Templates calling Infobox settlement. Any field from {{Infobox settlement}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox settlement}} . Questions? Just ask here or over at Template talk:Infobox settlement. |
This template uses Lua: |
Empty syntax
change- 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}}}]] | |
[[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}}}]] | |
Coordinates: 32°40′N 132°40′E / 32.667°N 132.667°E | |
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 | UTC+9 (Japan Standard Time) |
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
changeFor 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
changeThe 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
changeIf 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
changehCard 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
changeWhen giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
Tracking categories
changeUses of this template with unknown or unsupported parameters are tracked in:
Articles using this template without coordinates are tracked in: