Difference between revisions of "Template:Contact"

From Organic Design wiki
(get some contact stuff happening, borrowed off another wiki :-) - thanks nad!)
 
m
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
+
{| class="infobox vcard" style="width: 20em; font-size: 90%; text-align: left; align: right; vertical-align: top;" cellspacing="2";
 +
|-
 +
{{!}} colspan="2" style="font-size: larger; text-align: center;" class="fn" {{!}} '''{{{name}}}'''
 +
|-
 +
{{#if: {{{image|}}}|
 +
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{image|}}}|{{{imagesize|225px}}}| ]]<br />{{{caption|}}}}}
 +
|-
 +
{{#if: {{{birthday|}}}|
 +
! Birthday
 +
{{!}} {{{birthday|}}} {{#if:{{{birth_name|}}}|{{{birth_name|}}}<br />}} {{#if:{{{birth_place|}}}|<br />{{{birth_place|}}}}}}}
 +
|-
 +
{{#if: {{{residence|}}}|
 +
! Residence
 +
{{!}} {{{residence|}}}}}
 +
|-
 +
{{#if: {{{other_names|}}}|
 +
! Other names
 +
{{!}} <span class="nickname">{{{other_names|}}}</span>}}
 +
|-
 +
{{#if: {{{phone|}}}|
 +
! Phone
 +
{{!}} {{{phone|}}}}}
 +
|-
 +
{{#if: {{{mobile|}}}|
 +
! Mobile
 +
{{!}} {{{mobile|}}}}}
 +
|-
 +
{{#if: {{{email|}}}|
 +
! Email
 +
{{!}} [mailto:{{{email|}}} {{{email|}}}]}}
 +
|-
 +
{{#if: {{{address|}}}|
 +
! Address
 +
{{!}} {{{address|}}}}}
 +
|-
 +
! colspan="2" style="background-color: #ccccff; text-align: center;" | Internet
 +
|-
 +
{{#if: {{{website|}}}|
 +
! Website
 +
{{!}} {{{website|}}}}}
 +
|-
 +
{{#if: {{{blog|}}}|
 +
! Blog
 +
{{!}} {{{blog|}}}}}
 +
|-
 +
{{#if: {{{skype|}}}|
 +
! Skype ID
 +
{{!}} {{{skype|}}}}}
 +
|-
 +
{{#if: {{{social_network|}}}|
 +
! Social network
 +
{{!}} {{{social_network|}}}}}
 +
|-
 +
! colspan="2" style="background-color: #ccccff; text-align: center;" | Work
 +
|-
 +
{{#if: {{{company|}}}|
 +
! Company
 +
{{!}} [[{{{company|}}}]]}}
 +
|-
 +
{{#if: {{{employer|}}}|
 +
! Employer
 +
{{!}} {{{employer|}}}}}
 +
|-
 +
{{#if: {{{title|}}}|
 +
! Title
 +
{{!}} {{{title|}}}}}
 +
|-
 +
{{#if: {{{occupation|}}}|
 +
! Occupation
 +
{{!}} {{{occupation|}}}}}
 +
|-
 +
{{#if: {{{work_email|}}}|
 +
! Work email
 +
{{!}} {{{work_email|}}}}}
 +
|-
 +
{{#if: {{{work_phone|}}}|
 +
! Work phone
 +
{{!}} {{{work_phone|}}}}}
 +
|-
 +
! colspan="2" style="background-color: #ccccff; text-align: center;" | Family
 +
|-
 +
{{#if: {{{parents|}}}|
 +
! Parents
 +
{{!}} {{{parents|}}}}}
 +
|-
 +
{{#if: {{{partner|}}}|
 +
! Partner
 +
{{!}} {{{partner|}}}}}
 +
|-
 +
{{#if: {{{children|}}}| 
 +
! Children
 +
{{!}} {{{children|}}}}}
 +
|-
 +
{{#if: {{{footnotes|}}}|
 +
{{!}} colspan="2" style="font-size: smaller;" {{!}} {{{footnotes|}}}}}
 +
|}
  
 +
{{edit this form|Contact}}<noinclude>
 +
 +
== Usage ==
 
<pre>
 
<pre>
 
{{Contact
 
{{Contact
|firstname = ***
+
| name          =
|surname = ***
+
| image          =
|phone = ***
+
| imagesize      =
|mobile = ***
+
| caption        =
|fax = ***
+
| birth_name    =
|email = ***
+
| birthday      =
|URL = ***
+
| birth_place    =
|company = [[***]]
+
| residence      =
|address =  
+
| other_names    =
 +
| phone         =
 +
| mobile         =
 +
| email          =
 +
| address        =
 +
| website        =
 +
| blog          =
 +
| skype          =
 +
| social_network =
 +
| company       =
 +
| employer      =
 +
| title          =
 +
| occupation    =
 +
| work_email    =
 +
| work_phone    =
 +
| parents        =
 +
| partner        =
 +
| children      =
 +
| footnotes      =
 
}}
 
}}
 
</pre>
 
</pre>
 +
==Source==
 +
This template has been copied off Wikipedia: [[W:Template:Infobox Person|Template:Infobox Person]]
 +
 +
==Microformats==
 +
{{UF-hcard-person}}
  
To use this template copy and paste this box into your contact article, substitute the asterisks with the contact information and hit save, you will get an article which will look like the example below.
 
 
</noinclude>
 
</noinclude>
 
{| border=1 borderwidth=1 cellpadding=5 cellspacing=0
 
|colspan=3 '''{{{firstname}}} {{{surname}}} ({{{title}}})'''
 
|-
 
|'''Phone:''' <tt>{{{phone}}}</tt>||'''Mobile:''' <tt>{{{mobile}}}</tt>||'''Fax:''' <tt>{{{fax}}}</tt>
 
|-
 
|colspan=3|'''e-mail:''' [mailto:{{{email}}} {{{email}}}]
 
|-
 
|colspan=3|'''Website:''' ''{{{URL}}}''
 
|-
 
|colspan=3|'''Company:''' ''{{{company}}}''
 
|-
 
|colspan=3|'''Address:''' ''{{{address}}}''
 
|}
 
{{edit this form|Personal Profile}}
 

Latest revision as of 04:05, 16 June 2007

{{{name}}}
Internet
Work
Family

*edit this form here
*see Help:Templates for details about how to make wiki templates

Usage

{{Contact
| name           =
| image          =
| imagesize      =
| caption        =
| birth_name     =
| birthday       =
| birth_place    =
| residence      =
| other_names    =
| phone          =
| mobile         =
| email          =
| address        =
| website        =
| blog           =
| skype          =
| social_network =
| company        =
| employer       =
| title          =
| occupation     =
| work_email     =
| work_phone     =
| parents        =
| partner        =
| children       =
| footnotes      =
}}

Source

This template has been copied off Wikipedia: Template:Infobox Person

Microformats

Button to indicate the presence of an hCard microformat.

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.