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

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(use {{tl|Start date}})
m (39 revisions from wikipedia:Template:UF-hcard-org)
 
(27 intermediate revisions by 14 users 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]].
+
{{Microformat message
 +
| format = hCard
 +
| data = an organization's details
  
If the organisation has an "established", "founded", "opened" or similar date, specific to the day, use {{tl|Start date}}.
+
| 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|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.
  
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
<div class="horizontal">
+
| nocollapse = on
*adr
+
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc | |{{#ifeq:{{SUBPAGENAME}}|sandbox | |[[Category:Templates generating hCards]]}} }}</includeonly><noinclude>
*agent
 
*country-name
 
*extended-address
 
*fn
 
*label
 
*locality
 
*nickname
 
*note
 
*org
 
*region
 
*street-address
 
*vcard
 
</div>
 
  
Please do not rename or remove these classes.
+
{{Documentation |content={{Microformat message templates}}}}
  
[[Category:Templates generating hCards|{{PAGENAME}}]]
+
[[Category:Microformat (uF) message templates]]
 +
[[Category:Templates generating hCards| ]]
 +
</noinclude>

Latest revision as of 23:24, 6 March 2016

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
  • Use {{start date}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, unless that date is before 1583 CE.
  • Use {{URL}} for an organisation's URL.
  • Use {{coord}} for coordinates associated with the organisation (e.g. the location of its headquarters). A Geo microformat will then make these coordinates parsable, e.g. for use in online mapping, downloading to a GPS unit, etc.

Please do not remove instances of these subtemplates.

Classes used

The HTML classes this microformat uses 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.
    Documentation icon Template documentation

    Template:Microformat message templates