Template:UF-hcard-org: Difference between revisions

From Sapphire Wiki
m 1 revision imported
 
m 1 revision imported
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:


| subtemplates =
| subtemplates =
* Use {{tl|start date}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, [[Wikipedia:WikiProject Microformats/dates|unless that date is before 1583 CE]].
* Use {{tl|Start date and age}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, [[Wikipedia:WikiProject Microformats/dates|unless that date is before 1583 CE]].
* Use {{tl|URL}} for an organisation's URL.
* Use {{tl|URL}} for an organisation's URL.
* Use {{tl|coord}} for [[Geographic coordinate system|coordinates]] associated with the organisation (e.g. the location of its headquarters). A [[Geo (microformat)|Geo microformat]] will then make these coordinates parsable, e.g. for use in online mapping, downloading to a [[Global Positioning System|GPS]] unit, etc.


|adr |agent |category |country-name |extended-address |fn |geo |label |latitude |locality |longitude |nickname |note |org |region |street-address |url |vcard
|adr |agent |category |country-name |extended-address |fn |geo |label |latitude |locality |longitude |nickname |note |org |region |street-address |url |vcard
| nocollapse = on
| nocollapse = on
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc | |{{#ifeq:{{SUBPAGENAME}}|sandbox | |[[Category:Templates generating hCards]]}} }}</includeonly><noinclude>
}}<includeonly>{{sandbox other||
[[Category:Templates generating hCards]]
}}</includeonly><noinclude>


{{Documentation |content={{Microformat message templates}}}}
{{Documentation |content={{Microformat message templates}}}}

Latest revision as of 17:46, 7 July 2021

The HTML mark-up produced by this template includes an hCard microformat that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Subtemplates

Please do not remove instances of these subtemplates.

Classes used

The HTML classes of this microformat include:

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