الگو:Infobox ski area

از ویکی‌پدیا، دانشنامهٔ آزاد
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

استفاده[ویرایش]

{{Infobox ski area
| name           = 
| logo           = 
| logo_width     = <!--Default is 150px-->
| picture        = 
| caption        = 
| location       = Name of mountain
| nearest_city   = 
| coordinates    = {{Coord|lat|long|region:ZZ|display=inline,title}}
| pushpin_map    =
| pushpin_relief = y
| vertical       = {{Convert|X|m|abbr=on}} or {{Convert|X|ft|abbr=on}}
| top_elevation  = {{Convert|X|m|abbr=on}} or {{Convert|X|ft|abbr=on}}
| base_elevation = {{Convert|X|m|abbr=on}} or {{Convert|X|ft|abbr=on}}
| skiable_area   = {{Convert|X|ha|abbr=on}} or {{Convert|X|acre|abbr=on}}
| number_trails  = 
| longest_run    = {{Convert|X|km|abbr=on}} or {{Convert|X|mi|abbr=on}}
| total_length   = {{Convert|X|km|abbr=on}} or {{Convert|X|mi|abbr=on}}
| liftsystem     = 
| lift_capacity  = passengers/hour
| terrainparks   = 
| snowfall       = {{Convert|X|cm|in}} or {{Convert|X|in|cm}}
| snowmaking     = 
| nightskiing    = 
| external_link  = 
}}
Where ZZ is the location's region code from ایزو ۳۱۶۶–۱.

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}} را بکار نبرید.

Tracking category[ویرایش]