Difference between revisions of "Template:Infobox user"
(Simplified Infobox (remove location, country, time zone parser functions).) |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 33: | Line 33: | ||
| label7 = Current location | | label7 = Current location | ||
− | | data7 = | + | | data7 = {{{location|}}} |
| class7 = label | | class7 = label | ||
| label8 = Country | | label8 = Country | ||
− | | data8 = | + | | data8 = {{{country|}}} |
| label9 = Time zone | | label9 = Time zone | ||
− | | data9 = | + | | data9 = {{{timezone|}}} |
| label10 = Current time | | label10 = Current time | ||
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{{ | + | | 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|}}} | ||
Latest revision as of 10:12, 13 December 2012
Contents
Usage
Copy and paste the template below. All parameters are optional. Parameter names must be in lower case.
Infobox user {{{status}}} | ||
---|---|---|
{{{image_caption}}} | ||
Name | {{{name}}} | |
Birth date | {{{birthdate}}} | |
Birth place | {{{birthplace}}} | |
Current location | {{{location}}} | |
Country | {{{country}}} | |
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}}} | ||
ICQ | {{{icq}}} | |
AIM | {{{aim}}} | |
GTalk | {{{gtalk}}} | |
XMPP | {{{jabber}}} | |
Skype | {{{skype}}} | |
MSN | {{{msn}}} | |
Yahoo | {{{yahoo}}} | |
.Mac | {{{mac}}} | |
IRC | {{{irc}}} | |
{{{facebook}}} | ||
Google+ | {{{google+}}} | |
{{{pinterest}}} | ||
{{{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 | ||
|
{{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.
The above documentation is transcluded from Template:Infobox user/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |