Difference between revisions of "Template:UF-hcard-org"

From CannaQAWiki
Jump to navigationJump to search
m (1 revision imported: Attempting import of LIMSwiki templates Infobox–Latest news)
 
(Cleaned up initial import)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
The HTML mark up produced by this template includes an [[HCard| hCard microformat]], which makes the organisation's details [[Parsing|parsable]] by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of [[microformat]]s on Wikipedia, please see [[WP:UF|the microformat project]].
The HTML mark up produced by this template includes an hCard microformat, which makes the organization's details parsable by computers, either acting automatically to catalog article across CannaQAwiki, or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of [[microformat]]s, please see [[wikipedia:Wikipedia:WikiProject Microformats|the microformat project]].


If the organisation has an "established", "founded", "opened" or similar date, use {{tl|Start date}} ([[Wikipedia:WikiProject Microformats/dates|unless the date is before 1583 CE]])
If the organization has an "established", "founded", "opened" or similar date, use {{tl|Start date}} (unless the date is before 1583 CE)


If the organisation has a URL, use {{Tl|URL}}
If the organization has a URL, use {{Tl|URL}}


If the organisation has a "coordinates" field, use {{Tl|Coord}} to include a [[Geo (microformat)|Geo microformat]], which additionally makes the [[Geographic coordinate system|coordinates]] (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a [[Global Positioning System|GPS]] unit.
If the organization has a "coordinates" field, use {{Tl|Coord}} to include a [[Geo (microformat)|Geo microformat]], which additionally makes the [[Geographic coordinate system|coordinates]] (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit.


hCard uses HTML classes including:
hCard uses HTML classes including:

Latest revision as of 18:39, 16 March 2019

The HTML mark up produced by this template includes an hCard microformat, which makes the organization's details parsable by computers, either acting automatically to catalog article across CannaQAwiki, or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats, please see the microformat project.

If the organization has an "established", "founded", "opened" or similar date, use {{Start date}} (unless the date is before 1583 CE)

If the organization has a URL, use {{URL}}

If the organization has a "coordinates" field, use {{Coord}} to include 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.

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • country-name
  • extended-address
  • fn
  • geo
  • label
  • latitude
  • locality
  • longitude
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them.