Difference between revisions of "Template:Contact"

From Organic Design wiki
m (remove some redundant info)
m (add sections and fields)
Line 29: Line 29:
 
! Email
 
! Email
 
{{!}} [mailto:{{{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|}}}|
 
{{#if: {{{company|}}}|
 
! Company
 
! Company
 
{{!}} [[{{{company|}}}]]}}
 
{{!}} [[{{{company|}}}]]}}
|-
 
{{#if: {{{address|}}}|
 
! Address
 
{{!}} {{{address|}}}}}
 
 
|-
 
|-
 
{{#if: {{{employer|}}}|  
 
{{#if: {{{employer|}}}|  
 
! Employer
 
! Employer
 
{{!}} {{{employer|}}}}}
 
{{!}} {{{employer|}}}}}
 +
|-
 +
{{#if: {{{title|}}}|
 +
! Title
 +
{{!}} {{{title|}}}}}
 
|-  
 
|-  
 
{{#if: {{{occupation|}}}|
 
{{#if: {{{occupation|}}}|
Line 46: Line 70:
 
{{!}} {{{occupation|}}}}}
 
{{!}} {{{occupation|}}}}}
 
|-  
 
|-  
{{#if: {{{title|}}}|
+
{{#if: {{{work_email|}}}|
! Title
+
! Work email
{{!}} {{{title|}}}}}
+
{{!}} {{{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|}}}|  
 
{{#if: {{{partner|}}}|  
Line 57: Line 91:
 
! Children
 
! Children
 
{{!}} {{{children|}}}}}
 
{{!}} {{{children|}}}}}
|-
 
{{#if: {{{website|}}}|
 
! Website
 
{{!}} {{{website|}}}}}
 
 
|-
 
|-
 
{{#if: {{{footnotes|}}}|  
 
{{#if: {{{footnotes|}}}|  
Line 71: Line 101:
 
<pre>
 
<pre>
 
{{Contact
 
{{Contact
| name        =
+
| name           =
| residence   =
+
| image          =
| other_names =
+
| imagesize      =
| phone       =
+
| caption       =
| mobile     =
+
| birth_name    =
| email       =
+
| birthday      =
| company    =
+
| birth_place    =
| address    =
+
| residence     =
| image      =
+
| other_names   =
| imagesize  =
+
| phone         =
| caption    =
+
| mobile         =
| birth_name  =
+
| email         =
| birthday    =
+
| address        =
| birth_place =
+
| website        =
| occupation =
+
| blog          =
| title      =
+
| skype          =
| partner     =
+
| social_network =
| children    =
+
| company        =
| website    =
+
| employer      =
| footnotes  =
+
| title          =
| employer    =
+
| occupation     =
 +
| work_email    =
 +
| work_phone     =
 +
| parents        =
 +
| partner        =
 +
| children      =
 +
| footnotes      =
 +
 
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 23:01, 19 May 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.