الگو:UF-hcard-geo: تفاوت میان نسخه‌ها

از ایران پدیا
پرش به ناوبری پرش به جستجو
جز (۱ نسخه واردشده)
جز (۱ نسخه واردشده)
 
(یک نسخهٔ میانی ویرایش شده توسط یک کاربر دیگر نشان داده نشد)
خط ۱: خط ۱:
The HTML mark up produced by this template includes an [[HCard| hCard microformat]], which makes the place-name and location [[تجزیه‌کننده|parsable]] by computers, either acting automatically to catalogue articles across Iranpedia, 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)|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 [[microformat]]s on Iranpedia.
The HTML mark up produced by this template includes an [[HCard| hCard microformat]], which makes the place-name and location [[تجزیه‌کننده|parsable]] by computers, either acting automatically to catalogue articles across Iranpedia, 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)|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 [[microformat]]s on Iranpedia, please see [[Iranpedia:WikiProject Microformats|the microformat project]].


=== Sub-templates ===
=== زیر-الگوها ===
If the place or venue has an "established", "founded", "opened" or similar date, use {{پیوند الگو|start date}} unless the date is before 1583 CE.
اگر مکان دارای تاریخ "احداث‌", "پایه‌گذاری‌", "گشایش" یا موارد مشابه است، از {{پیوند الگو|تاریخ آغاز}} [[Iranpedia:WikiProject Microformats/dates|مگر اینکه تاریخ گاه‌شماری دوران مشترک قبل از ۱۵۸۳ باشد]].


If it has a URL, use {{پیوند الگو|URL}}.
اگر پیوند دارد، از {{پیوند الگو|نشانی وب}} استفاده کنید.


'''Please do not remove instances of these sub-templates.'''
'''Please do not remove instances of these sub-templates.'''


=== Classes ===
=== دسته‌بندی‌ها ===
hCard uses HTML classes including:
hCard uses HTML classes including:
{{Flatlist/microformat|
{{Flatlist/microformat|
خط ۲۹: خط ۲۹:
}}
}}


Geo is produced by calling {{پیوند الگو|coord}}, and uses HTML classes:
مختصات با فراخوانی {{پیوند الگو|coord}} و استفاده از کلاس‌های اچ‌تی‌م‌ال زیر تولید می‌شود:


{{Flatlist/microformat|
{{Flatlist/microformat|
خط ۳۷: خط ۳۷:
}}
}}


'''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.<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc | |
هنگام ارائه مختصات، ''' لطفاً از [[ایران‌پدیا:ویکی‌پروژه مختصات‌دهی|سطح مناسبی از دقت]] استفاده کنید'''. پارامتر {{پارا|name}} از الگوی {{پیوند الگو|coord}} را بکار '''نبرید'''.<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc | |
[[رده:الگو:دارای فیلد مختصات]]
[[رده:الگو:دارای فیلد مختصات]]
[[Category:الگو:تولیدکننده hCard و Geo]]
[[Category:الگو:تولیدکننده hCard و Geo]]

نسخهٔ کنونی تا ‏۱۲ ژانویهٔ ۲۰۲۰، ساعت ۱۸:۰۵

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 Iranpedia, 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 Iranpedia, please see the microformat project.

زیر-الگوها

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

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

Please do not remove instances of these sub-templates.

دسته‌بندی‌ها

hCard uses HTML classes including:

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