Extension:Semantic Result Formats/vcard format
From MediaWiki.org
The result format vcard, part of the Semantic Result Formats extension, is used to produce links for downloading data from a wiki in vCard format.
Contents |
[edit] Example
{{#ask: [[Category:Person]]
| ?firstname
| ?lastname
| ?url = homepage
| format=vcard
}}
This would display a link to download the vCard. Examples can be found on any person page on semanticweb.org, e.g. http://semanticweb.org/wiki/Markus_Kr%C3%B6tzsch.
[edit] Parameters
There are no inline query parameters specific to the vCard format.
[edit] Data fields
Properties in printout statements should use one of the following labels, or otherwise are ignored in the resulting vCard. The available fields are: name (displayed full name), prefix (something like "Dr."), suffix (something like "Jr."), firstname, extraname (middle name), lastname, birthday (a date), homepage, note (any other text), email, workphone, cellphone, homephone, organization, workpostofficebox, workextendedaddress, workstreet, worklocality, workregion, workpostalcode, workcountry, homepostofficebox, homeextendedaddress, homestreet, homelocality, homeregion, homepostalcode, homecountry. Most fields including the phone numbers have no special format and will take whatever you give them.
[edit] Remarks
Lists of vCards work very well on most address book tools with the notable exception of MS Outlook. Outlook users can only import the first contact in each vCard file, and must therefore import contacts individually from many links, or consider moving to another tool for personal information management, such as Thunderbird. Outlook also is reported to fail at character decoding in some cases, e.g. if names use non-latin letters.