Difference between revisions of "Template:Contact"
From Organic Design wiki
m |
m |
||
Line 17: | Line 17: | ||
{{!}} <span class="nickname">{{{other_names|}}}</span>}} | {{!}} <span class="nickname">{{{other_names|}}}</span>}} | ||
|- | |- | ||
− | {{#if: {{{ | + | {{#if: {{{phone|}}}| |
− | ! | + | ! Phone |
− | {{!}} {{{ | + | {{!}} {{{phone|}}}}} |
+ | |- | ||
+ | {{#if: {{{mobile|}}}| | ||
+ | ! Mobile | ||
+ | {{!}} {{{mobile|}}}}} | ||
+ | |- | ||
+ | {{#if: {{{email|}}}| | ||
+ | ! Email | ||
+ | {{!}} [mailto: {{{email|}}}}}] | ||
+ | |- | ||
+ | {{#if: {{{company|}}}| | ||
+ | ! Company | ||
+ | {{!}} [[{{{company|}}}}}]] | ||
+ | |- | ||
+ | {{#if: {{{address|}}}| | ||
+ | ! Address | ||
+ | {{!}} {{{address|}}}}} | ||
|- | |- | ||
{{#if: {{{employer|}}}| | {{#if: {{{employer|}}}| | ||
Line 57: | Line 73: | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
− | {{ | + | {{Contact |
| name = | | name = | ||
| residence = | | residence = | ||
| other_names = | | other_names = | ||
+ | | phone = | ||
+ | | mobile = | ||
+ | | email = | ||
+ | | company = | ||
+ | | address = | ||
| image = | | image = | ||
| imagesize = | | imagesize = | ||
Line 67: | Line 88: | ||
| birth_date = | | birth_date = | ||
| birth_place = | | birth_place = | ||
− | |||
| occupation = | | occupation = | ||
| title = | | title = | ||
Line 85: | Line 105: | ||
</noinclude> | </noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 10:53, 19 May 2007
]
{{#if: |
{{{name}}} | |
Born | {{{birth_date}}} |
---|---|
Company | [[}}]] |
*edit this form here
*see Help:Templates for details about how to make wiki templates
Usage
{{Contact | name = | residence = | other_names = | phone = | mobile = | email = | company = | address = | image = | imagesize = | caption = | birth_name = | birth_date = | birth_place = | occupation = | title = | partner = | children = | relations = | website = | footnotes = | employer = | height = | weight = }}
Microformats
The HTML mark up produced by this template includes an hCard microformat, which makes the person'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.
Date-of-birth parameters will only be included in the microformat if {{Birth date}} or {{Birth date and age}} are used in the infobox.
hCard uses HTML classes including:
- adr
- bday
- county-name
- fn (required)
- honorific-prefix
- honorific-suffix
- label
- locality
- nickname
- note
- org
- role
- vcard
Please do not rename or remove these classes.