Difference between revisions of "Template:UF-hcard-org"
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision: infobox templates for inclusion) |
||
(One intermediate revision 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 [[ | + | 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 [[Wikipedia:WikiProject Microformats|the microformat project]]. |
=== Sub-templates === | === Sub-templates === | ||
− | + | * 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 organisation has an "established", "founded", "opened" or similar date, use {{tl| | ||
* If the organisation has a URL, use {{Tl|URL}}. | * If the organisation has a URL, use {{Tl|URL}}. | ||
− | * If the organisation has a "coordinates" field, use {{Tl| | + | * 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. |
'''Please do not remove instances of these sub-templates.''' | '''Please do not remove instances of these sub-templates.''' | ||
=== Classes === | === Classes === | ||
− | |||
hCard uses HTML classes including: | hCard uses HTML classes including: | ||
Line 34: | Line 32: | ||
}} | }} | ||
− | '''Please do not rename or remove these classes; nor collapse nested elements which use them.'''<includeonly>{{#ifeq: {{SUBPAGENAME}}|doc||{{#ifeq: {{SUBPAGENAME}}|sandbox||[[Category:Templates generating hCards | + | '''Please do not rename or remove these classes; nor collapse nested elements which use them.'''<includeonly>{{#ifeq: {{SUBPAGENAME}}|doc||{{#ifeq: {{SUBPAGENAME}}|sandbox||[[Category:Templates generating hCards]]}}}}</includeonly><noinclude> |
[[Category:Template namespace templates]] | [[Category:Template namespace templates]] | ||
[[Category:Templates generating hCards]] | [[Category:Templates generating hCards]] | ||
</noinclude> | </noinclude> |
Latest revision as of 15:43, 24 February 2014
The HTML mark up produced by this template includes an hCard microformat, which makes the organisation's details 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 microformats on Wikipedia, please see the microformat project.
Sub-templates
- If the organisation has an "established", "founded", "opened" or similar date, use {{start date}} (unless the date is before 1583 CE).
- If the organisation has a URL, use {{URL}}.
- If the organisation 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.
Please do not remove instances of these sub-templates.
Classes
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.