Template:Infobox user

From CHG-Wiki
Revision as of 12:02, 12 December 2012 by Libby (talk | contribs)
Jump to navigationJump to search
[view] [edit] [history] [purge] Documentation icon Template documentation

Usage

Copy and paste the template below. All parameters are optional. Parameter names must be in lower case.













Infobox user
{{{status}}}
{{{image_caption}}}
{{{image_caption}}}
Name {{{name}}}
Birth date {{{birthdate}}}
Birth place {{{birthplace}}}
Current location {{{location}}}
Country {{country data {{{country}}}|flag/core|name={{{country}}}|variant=|size=}}
Time zone {{{timezone}}}
Current time {{{current_time}}}
Nationality {{{nationality}}}
Education and employment
Occupation {{{occupation}}}
Employer {{{employer}}}
Education {{{education}}}
University {{{university}}}
Contact info
Website {{{website}}}
Blog {{{blog}}}
Email {{{email}}}
ICQ {{{icq}}}
AIM {{{aim}}}
GTalk {{{gtalk}}}
XMPP {{{jabber}}}
Skype {{{skype}}}
MSN {{{msn}}}
Yahoo {{{yahoo}}}
.Mac {{{mac}}}
IRC {{{irc}}}
Facebook {{{facebook}}}
Google+ {{{google+}}}
Pinterest {{{pinterest}}}
Twitter {{{twitter}}}
YouTube {{{youtube}}}
Flickr {{{flickr}}}
Infobox user subpages

{{{subpages}}}

Account statistics
Joined {{{joined_date}}}
First edit {{{first_edit}}}
Edit count {{{edit_count}}}
Permissions {{{permissions}}}
Signature {{{signature}}}
Userboxes

{{{userboxes}}}

{{Infobox user
<!-- INFOBOX FORMATTING -------->
| color           = 
| fontcolor       = 
| tablecolor      = 
<!-- LEAD INFORMATION ---------->
| title           = <!-- optional, defaults to {{BASEPAGENAME}} -->
| status          = 
| image           = 
| image_caption   = 
| image_width     = 
| name            = 
| birthdate       = 
| birthplace      = 
| location        = 
| country         = 
| timezone        = 
| current_time    = 
| nationality     = 
<!-- EDUCATION & EMPLOYMENT ---->
| occupation      = 
| employer        = 
| education       = 
| university      = 
<!-- CONTACT INFO -------------->
| website         = <!-- {{URL|example.com}} -->
| blog            = <!-- {{URL|example.com}} -->
| email           = 
| icq             = 
| aim             = 
| gtalk           = 
| jabber          = 
| skype           = 
| msn             = 
| yahoo           = 
| mac             = 
| irc             = 
| facebook        = 
| google+         =
| pinterest       =
| twitter         = 
| youtube         = 
| flickr          =
<!-- SUBPAGES ----------------->
| subpages        =
<!-- Account statistics ------------->
| joined_date     = 
| first_edit      = 
| edit_count      = 
| permissions     = 
| signature       = 
<!-- USERBOXES ----------------->
| userboxes       = 
}}


Microformats

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of wikipedia:microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{Birth date}}, {{Birth date and age}}, {{Birth-date}} ({{bday}}), or {{Birth-date and age}} ({{b-da}}) are used in the infobox. (but do not use these if the date is before 1583).

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them.