Wikipedia:WikiProject Microformats/hcard
From Wikipedia, the free encyclopedia
Contents |
[edit] hCard
hCard is a microformat for contact details of people (both article subjects and user profiles), organisations and venues.
This page considers how it might be deployed on Wikipedia.
There are moves to extend hCard to include date-of-death, which will be useful for biography pages, and to add a "gender" property, which will aid genealogists.
hCard allows for data to be entered into address books, or used as Geo (see Wikipedia:WikiProject Microformats#Geo) is. Geo is a subset of hCard.
[edit] Potential
- Category:People infobox templates e.g.
- Template:Infobox_Biography
- Template:Infobox_actor which should result in actor pages, e.g. Humphrey Bogart's page, being properly hCarded.
- Category:Geography infobox templates
- Template:Infobox_Newspaper
- Attempted, but breaks where "name" is an image. Andy Mabbett 12:57, 22 March 2007 (UTC)
- Addressable buildings e.g. The_Old_Crown, Birmingham
- Tourist attractions, e.g. Cadbury World
- Companies, e.g. Tesco (note headquarters address in infobox)
- Motorway service stations, e.g. Watford Gap service station
- Railway Stations, e.g. Perry Barr railway station
- etc.
See also Wikipedia:Persondata and this comparison of persondata and hCard
[edit] Sample mark-up
For sample hCard mark-up, please see hCard or pages linked from the hCard spec on microformats.org.
[edit] Relevant Templates
[edit] Birth date and age
- Template:birth date and age, such as {{birth date and age|1926|5|8}}, could output the "bday" property as one of
- <abbr class="bday" title="1926-05-08">8 May 1926 (age 80)</abbr> (once
abbr
is supported) - <td>8 May 1926 (age 80)<br style="display:none;" /><span style="display:none;" class="bday">1926-05-08</span></td>
- <abbr class="bday" title="1926-05-08">8 May 1926 (age 80)</abbr> (once
- Template:death date and age, such as {{death date and age|1974|11|25|1948|6|19}}
- As above
[edit] hCard examples already on Wikipedia
[edit] Pages needing hCard
These pages need the manual addition of hCard; or perhaps conversion to tables, with hCard included:
- List of tallest structures in the United States
- Alexandria (disambiguation) (note commented-out red-links)
- Kermadec Islands
For tables needing hCard, once we've figured out the best way to do it, see Category:Lists of coordinates.