الگو:Infobox city Japan/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

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

زیرالگوها[ویرایش]

اگر مکان دارای تاریخ "ساخت"ُ، "پایه‌گذاری‌"، "گشایش" یا موارد مشابه است از {{تاریخ آغاز}} استفاده کنید. مگر اینکه تاریخ گاه‌شماری دوران مشترک پیش از ۱۵۸۳ باشد.

اگر پیوند دارد از {{نشانی وب}} استفاده کنید.

خواهشمند است کاربردهای این زیرالگوها را حذف نکنید.

کلاس‌ها[ویرایش]

hCard از کلاس‌های HTML زیر استفاده می‌کند:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

مختصات با فراخوانی {{coord}} و استفاده از کلاس‌های اچ‌تی‌م‌ال زیر تولید می‌شود:

  • geo
  • latitude
  • longitude

خواهشمند است این کلاس‌ها را تغییرنام ندهید یا حذف نکنید. عناصر تودرتویی که از آنها استفاده می‌کنند را نیز به حالت جمع‌شده درنیاورید.

دقت[ویرایش]

هنگام ارائه مختصات، خواهشمند است از سطح مناسبی از دقت استفاده کنید. پارامتر |name= از الگوی {{coord}} را بکار نبرید.