Difference between revisions of "Template:Infobox user"

From CHG-Wiki
Jump to navigationJump to search
(Trying to fix the "permissions" link.)
Line 233: Line 233:
 
|data71      = {{{edit_count|}}}
 
|data71      = {{{edit_count|}}}
  
| label72    = {{#if:{{{permissions|}}}|<span class="plainlinks">[http://chg-wiki.geog.ucsb.edu/index.php?title=Special:ListUsers&limit=1&username={{ROOTPAGENAMEE}} Permissions]</span>}}
+
| label72    = {{#if:{{{permissions|}}}|<span class="plainlinks">[http://chg-wiki.geog.ucsb.edu/index.php?title=Special:ListUsers&limit=1&username={{PAGENAMEE}} Permissions]</span>
 
| data72      = {{{permissions|}}}
 
| data72      = {{{permissions|}}}
  

Revision as of 12:39, 12 December 2012

{{Infobox | bodyclass = vcard | bodystyle = | headerstyle = | abovestyle =

| title = | above =

| image = | caption =

| label1 = Name | data1 = | class1 = fn

| label2 = Name at birth | data2 = | class2 = nickname

| label3 = Name in real life | data3 = | class3 = nickname

| label4 = Gender | data4 =

| label5 = Birth date | data5 =

| label6 = Birth place | data6 =

| label7 = Current location | data7 = | class7 = label

| label8 = Country | data8 =

| label9 = Time zone | data9 =

| label10 = Current time | data10 =

| label11 = Nationality | data11 = | class11 = category

| label12 = Ethnicity | data12 = | class12 = category

| label13 = Race | data13 = | class13 = category

| label14 = Height | data14 =

| label15 = Weight | data15 =

| label16 = Hair | data16 =

| label17 = Eyes | data17 =

| label18 = Blood type | data18 =

| label19 = Sexuality | data19 = | class19 = category

| label20 = IQ | data20 =

| label21 = Personality type | data21 = | class21 = category

| header22 =

| label23 = Marital status | data23 = | class23 = category

| label24 = Spouse | data24 =

| label25 = Girlfriend | data25 =

| label26 = Boyfriend | data26 =

| label27 = Children | data27 =

| label28 = Siblings | data28 =

| label29 = Pets | data29 =

| header30 =

| label31 = Occupation | data31 = | class31 = role

| label32 = Employer | data32 = | class32 = org

| label33 = Education | data33 =

| label34 = College | data34 =

| label35 = University | data35 =

| label36 = High school | data36 =

| header37 =

| label38 = Hobbies | data38 =

| label39 = Religion | data39 = | class39 = category

| label40 = Politics | data40 =

| label41 = Aliases | data41 = | class41 = nickname

| label42 = Movies and shows | data42 =

| label43 = Books | data43 =

| header44 =

| data45 =

| header46 =

| label47 = Website | data47 =

| label48 = Blog | data48 =

| label49 = Email | data49 =

| label50 = ICQ | data50 =

| label51 = AIM | data51 =

| label52 = GTalk | data52 =

| label53 = XMPP | data53 =

| label54 = Skype | data54 =

| label55 = MSN | data55 =

| label56 = Yahoo | data56 =

| label57 = .Mac | data57 =

| label58 = IRC | data58 =

| label59 = Facebook | data59 =

| label60 = Google+ | data60 =

| label61 = Myspace | data61 =

| label62 = Pinterest | data62 =

| label63 = Twitter | data63 =

| label64 = YouTube | data64 =

| label65 = Flickr | data65 =

| header66 =

| data67 =

| header68 =

|label69 = Joined |data69 =

|label70 = First edit |data70 =

|label71 = Edit count |data71 =

| label72 = data72 =

[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 | bodyclass = vcard | bodystyle = | headerstyle = background-color: skyblue | abovestyle = background-color: skyblue

| title = | above = Infobox user
{{{status}}}

| image = {{{image_caption}}} | caption = {{{image_caption}}}

| label1 = Name | data1 = {{{name}}} | class1 = fn

| label2 = Name at birth | data2 = | class2 = nickname

| label3 = Name in real life | data3 = | class3 = nickname

| label4 = Gender | data4 =

| label5 = Birth date | data5 = {{{birthdate}}}

| label6 = Birth place | data6 = {{{birthplace}}}

| label7 = Current location | data7 = {{{location}}} | class7 = label

| label8 = Country | data8 = {{country data {{{country}}}|flag/core|name={{{country}}}|variant=|size=}}

| label9 = Time zone | data9 = {{{timezone}}}

| label10 = Current time | data10 = {{{current_time}}}

| label11 = Nationality | data11 = {{{nationality}}} | class11 = category

| label12 = Ethnicity | data12 = | class12 = category

| label13 = Race | data13 = | class13 = category

| label14 = Height | data14 =

| label15 = Weight | data15 =

| label16 = Hair | data16 =

| label17 = Eyes | data17 =

| label18 = Blood type | data18 =

| label19 = Sexuality | data19 = | class19 = category

| label20 = IQ | data20 =

| label21 = Personality type | data21 = | class21 = category

| header22 =

| label23 = Marital status | data23 = | class23 = category

| label24 = Spouse | data24 =

| label25 = Girlfriend | data25 =

| label26 = Boyfriend | data26 =

| label27 = Children | data27 =

| label28 = Siblings | data28 =

| label29 = Pets | data29 =

| header30 = Education and employment

| label31 = Occupation | data31 = {{{occupation}}} | class31 = role

| label32 = Employer | data32 = {{{employer}}} | class32 = org

| label33 = Education | data33 = {{{education}}}

| label34 = College | data34 =

| label35 = University | data35 = {{{university}}}

| label36 = High school | data36 =

| header37 =

| label38 = Hobbies | data38 =

| label39 = Religion | data39 = | class39 = category

| label40 = Politics | data40 =

| label41 = Aliases | data41 = | class41 = nickname

| label42 = Movies and shows | data42 =

| label43 = Books | data43 =

| header44 =

| data45 =

| header46 = Contact info

| label47 = Website | data47 = {{{website}}}

| label48 = Blog | data48 = {{{blog}}}

| label49 = Email | data49 = {{{email}}}

| label50 = ICQ | data50 = {{{icq}}}

| label51 = AIM | data51 = {{{aim}}}

| label52 = GTalk | data52 = {{{gtalk}}}

| label53 = XMPP | data53 = {{{jabber}}}

| label54 = Skype | data54 = {{{skype}}}

| label55 = MSN | data55 = {{{msn}}}

| label56 = Yahoo | data56 = {{{yahoo}}}

| label57 = .Mac | data57 = {{{mac}}}

| label58 = IRC | data58 = {{{irc}}}

| label59 = Facebook | data59 = {{{facebook}}}

| label60 = Google+ | data60 = {{{google+}}}

| label61 = Myspace | data61 =

| label62 = Pinterest | data62 = {{{pinterest}}}

| label63 = Twitter | data63 = {{{twitter}}}

| label64 = YouTube | data64 = {{{youtube}}}

| label65 = Flickr | data65 = {{{flickr}}}

| header66 = Infobox user subpages

| data67 =

{{{subpages}}}

| header68 = Account statistics

|label69 = Joined |data69 = {{{joined_date}}}

|label70 = First edit |data70 = {{{first_edit}}}

|label71 = Edit count |data71 = {{{edit_count}}}

| label72 = Permissions

{{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.