Template:Infobox person: Difference between revisions
Lars.kurth (talk | contribs) (Copied from http://en.wikipedia.org/wiki/Template:Infobox_person under cc-by-sa 3.0) |
Lars.kurth (talk | contribs) (Fixed spacing) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
| data1 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }} |
| data1 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }} |
||
| |
| label13 = Occupation |
||
| class13 = role |
|||
| data11 = {{br separated entries|1={{#if:{{{birth_name|{{{birthname|}}}}}}|<span class="nickname">{{{birth_name|{{{birthname|}}}}}}</span>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}} |
|||
| data13 = {{{occupation|}}} |
|||
| |
| label14 = Biography |
||
| data14 = {{{bio1|}}} |
|||
| data12 = {{br separated entries|{{{disappeared_date|}}}|{{{disappeared_place|}}} }} |
|||
| label15 = {{spaces}} |
|||
| |
| data15 = {{{bio2|}}} |
||
| |
| label16 = {{spaces}} |
||
| data16 = {{{bio3|}}} |
|||
| |
| label17 = {{spaces}} |
||
| data17 = {{{bio3|}}} |
|||
| data14 = {{br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}} |
|||
| label15 = Cause of death |
|||
| data15 = {{{death cause|{{{death_cause|}}}}}} |
|||
| label16 = Body discovered |
|||
| data16 = {{{body discovered|{{{body_discovered|}}}}}} |
|||
| label17 = Resting place |
|||
| class17 = label |
|||
| data17 = {{br separated entries|{{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}}|{{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|}}}}}}}}}}} |
|||
| label18 = Monuments |
|||
| data18 = {{{monuments|}}} |
|||
| label19 = Residence |
| label19 = Residence |
||
Line 57: | Line 45: | ||
| data24 = {{{education|}}} |
| data24 = {{{education|}}} |
||
| label25 = ''[[Alma mater]]'' |
| label25 = ''[[Wikipedia:Alma mater]]'' |
||
| data25 = {{{alma mater|{{{alma_mater|}}}}}} |
| data25 = {{{alma mater|{{{alma_mater|}}}}}} |
||
| label26 = Occupation |
|||
| class26 = role |
|||
| data26 = {{{occupation|}}} |
|||
| label27 = Years active |
|||
| data27 = {{{years active|{{{years_active|{{{yearsactive|}}}}}}}}} |
|||
| label28 = Employer |
| label28 = Employer |
||
Line 74: | Line 55: | ||
| data29 = {{{organization|{{{organizations|}}}}}} |
| data29 = {{{organization|{{{organizations|}}}}}} |
||
| class29 = org |
| class29 = org |
||
| label30 = Agent |
|||
| data30 = {{{agent|}}} |
|||
| class30 = agent |
|||
| label31 = Known for |
| label31 = Known for |
||
Line 85: | Line 62: | ||
| data32 = {{#if:{{{credits|}}}|{{{credits}}}|{{{notable works|{{{notable_works|}}}}}}}} |
| data32 = {{#if:{{{credits|}}}|{{{credits}}}|{{{notable works|{{{notable_works|}}}}}}}} |
||
| label33 = |
| label33 = Interests |
||
| data33 = {{{ |
| data33 = {{{interests|}}} |
||
| class33 = category |
|||
| label34 = |
| label34 = Expertise |
||
| data34 = {{{ |
| data34 = {{{expertise|}}} |
||
| label35 = Influenced |
|||
| data35 = {{{influenced|}}} |
|||
| label36 = Home town |
|||
| data36 = {{{home town|{{{home_town|}}}}}} |
|||
| label37 = Salary |
|||
| data37 = {{{salary|}}} |
|||
| label38 = Net worth |
|||
| data38 = {{{net worth|{{{net_worth|{{{networth|}}}}}}}}} |
|||
| label39 = Height |
|||
| data39 = {{{height|}}} |
|||
| label40 = Weight |
|||
| data40 = {{{weight|}}} |
|||
| label41 = Television |
|||
| data41 = {{{television|}}} |
|||
| label42 = Title |
| label42 = Title |
||
| data42 = {{{title|}}} |
| data42 = {{{title|}}} |
||
| class42 = title |
| class42 = title |
||
| label43 = Term |
|||
| data43 = {{{term|}}} |
|||
| label44 = Predecessor |
|||
| data44 = {{{predecessor|}}} |
|||
| label45 = Successor |
|||
| data45 = {{{successor|}}} |
|||
| label46 = Political party |
|||
| data46 = {{{party|}}} |
|||
| class46 = org |
|||
| label47 = Political movement |
|||
| data47 = {{{movement|}}} |
|||
| class47 = category |
|||
| label48 = <span style="white-space:nowrap;">Opponent(s)</span> |
|||
| data48 = {{{opponents|}}} |
|||
| label49 = Board member of |
|||
| data49 = {{{boards|}}} |
|||
| label50 = Religion |
|||
| data50 = {{{religion|}}} |
|||
| class50 = category |
|||
| label51 = Denomination |
|||
| data51 = {{{denomination|}}} |
|||
| class51 = category |
|||
| label52 = Criminal charge |
|||
| data52 = {{{criminal charge|{{{criminal_charge|}}}}}} |
|||
| label53 = Criminal penalty |
|||
| data53 = {{{criminal penalty|{{{criminal_penalty|}}}}}} |
|||
| label54 = Criminal status |
|||
| data54 = {{{criminal status|{{{criminal_status|}}}}}} |
|||
| class54 = category |
|||
| label55 = Spouse(s) |
|||
| data55 = {{{spouse|}}} |
|||
| label56 = Partner(s) |
|||
| data56 = {{{partner|{{{domesticpartner|{{{domestic_partner|}}}}}}}}} |
|||
| label57 = Children |
|||
| data57 = {{{children|}}} |
|||
| label58 = Parents |
|||
| data58 = {{{parents|}}} |
|||
| label59 = Relatives |
|||
| data59 = {{{relations|{{{relatives|}}}}}} |
|||
| label60 = Family |
|||
| data60 = {{{family|}}} |
|||
| label61 = Call-sign |
|||
| data61 = {{{callsign|}}} |
|||
| label62 = Awards |
| label62 = Awards |
||
Line 188: | Line 81: | ||
| data68 = {{{misc5|{{{module5|}}}}}} |
| data68 = {{{misc5|{{{module5|}}}}}} |
||
| data69 = {{{misc6|{{{module6|}}}}}} |
| data69 = {{{misc6|{{{module6|}}}}}} |
||
| label63 = Signature |
|||
| data63 = {{#if:{{{signature|}}}|[[File:{{{signature}}}|{{px|{{{signature_size|}}}|150px}}|alt={{{signature alt|{{{signature_alt|}}}}}}]]}} |
|||
| header70 = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}} |
| header70 = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}} |
||
| label71 = Website |
|||
| data71 = {{{website|{{{homepage|{{{URL|}}}}}}}}} |
| data71 = {{{website|{{{homepage|{{{URL|}}}}}}}}} |
||
| label72 = Email |
|||
| data72 = {{{email|}}} |
|||
| label73 = Twitter |
|||
| data73 = {{{twitter|}}} |
|||
| label74 = IRC |
|||
| data74 = {{{irc|}}} |
|||
| label75 = Skype |
|||
| data75 = {{{skype|}}} |
|||
| label76 = LinkedIn |
|||
| data76 = {{{linkedin|}}} |
|||
| label77 = Blog |
|||
| data77 = {{{blog|}}} |
|||
| below = {{#if:{{{footnotes|}}}|'''Notes'''<div style="line-height:1.2em;">{{{footnotes}}}</div>}} |
| below = {{#if:{{{footnotes|}}}|'''Notes'''<div style="line-height:1.2em;">{{{footnotes}}}</div>}} |
Latest revision as of 19:57, 20 November 2012
Redirects and calls
At least 0 other templates call this one and many templates redirect here.
Usage
The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Any parameters left blank or omitted will not be displayed.
Blank template with basic parameters
{{Infobox person | name = <!-- include middle initial --> | image = <!-- just the filename, without the File: or Image: prefix or enclosing [[brackets]] --> | alt = | caption = | bio1 = | nationality = | known_for = | occupation = }}
Blank template with all parameters
{{Infobox person | honorific_prefix = | name = <!-- include middle initial, if not specified in birth_name --> | honorific_suffix = | native_name = | native_name_lang = | image = <!-- just the name, without the File: or Image: prefix or enclosing [[brackets]] --> | image_size = | alt = | caption = | bio1 = | bio2 = | bio3 = | bio4 = | residence = | nationality = | other_names = | education = | alma_mater = | occupation = | employer = | organization = | known_for = | notable_works = | interests = | experise = | title = | awards = | module = | module2 = | module3 = | module4 = | module5 = | module6 = | website = <!-- {{URL|Example.com}} --> | email = | twitter = | irc = | email = | skype = | linkedin = | blog = | footnotes = | box_width = }}
Parameters
Do not use all these parameters for any one person. The list is long to cover a wide range of people. Only use those parameters that convey essential or notable information about the subject. Any parameters left blank or omitted will not be displayed. If a data field has more than one parameter name which can be used, the preferred name is listed first in bold print.
Parameter | Explanation |
---|---|
honorific_prefix | To appear on the line above the person's name |
name | Common name of person (defaults to article name if left blank; provide birth_name (below) if different from name). If middle initials are specified (or implied) by the lede of the article, and are not specified seperately in the birth_name field, include them here. |
honorific_suffix | To appear on the line below the person's name |
native_name | The person's name in their own language, if different. |
native_name_lang | Wikipedia:ISO 639-2 code e.g. "fre" or "fra" for French. |
image | Image name: abc.jpg, xpz.png, 123.gif, etc. If an image is desired but not available, one may add "yes" to the "needs-photo" section of the Wikipedia:Template:WPBiography on the talkpage. If no image is available yet, do not use an image placeholder. |
image_size (imagesize) |
Size to display image: 200px (set width), x300px (set height), or 200x300px (max width & max height). This defaults to frameless (default is 220px, but logged in users can change this by clicking on "my preferences" and adjusting thumbnail size) if empty or omitted. This parameter should not normally need to be set. |
alt | Alt text for image, for visually impaired readers. One word (such as "photograph") is rarely sufficient. See Wikipedia:WP:ALT. |
caption | Caption for image, if needed. Try to include date of photo and the photographer. |
birth_name | Name at birth; only use if different from name. |
bio1, bio2, bio3, bio4 | 4 paragraphs that can be used for the biography. |
residence | Location(s) where the person notably resides/resided, if different from birth place. Do not use a flag template. |
nationality | Nationality. May be used instead of citizenship (below) or vice versa in cases where any confusion could result. Should only be used with citizenship when they somehow differ. Should only be used if nationality cannot be inferred from the birthplace. Do not use a flag template. |
education | Education, e.g. degree, institution and graduation year, if relevant. If very little information is available or relevant, the alma_mater parameter may be more appropriate. |
alma_mater | Wikipedia:Alma mater. This parameter is a more concise alternative to education, and will most often simply consist of the linked name of the last-attended higher education institution. It is usually not relevant to included either parameter for non-graduates, but article talk page consensus may conclude otherwise, as at Wikipedia:Bill Gates. |
occupation | Occupation(s) as given in the lead. |
employer | Employer(s), if relevant. |
organization | Non-employing organization(s), if relevant. |
notable_works | Title(s) of notable work(s) (publications, compositions, sculptures, films, etc.) by the subject, if any. |
title | Multiple uses:
See also "awards" parameter, below, for awarded honors that are not really titles. A single award should not use both parameters. |
awards | Notable awards. If many, link to an appropriate section of the article instead. See also "title" parameter, above, for awarded titles. A single award should not use both parameters. |
module module2 module3 module4 module5 module6 |
Used for embedding other infoboxes into this one. |
website | Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use {{URL}} as in {{URL|Example.com}}. Do not include the www. part unless the server is misconfigured and requires it. Use Wikipedia:camel case capitalization to make multiword domain names easier to read.
|
footnotes | Notes about any of the infobox data. |
box_width | The infobox width, such as: box_width=220px (default: 22em). A space character between the number and the unit of measurement breaks the parameter. This parameter should not normally need to be set. |
Examples
Lars Kurth | |
---|---|
Lars Kurth | |
Occupation | Xen.org Community Manager |
Biography | Lars Kurth joined Citrix in 2011 where he works as community manager for Xen.org. He is a passionate open source enthusiast who worked with and for many open source communities over the years and contributed to GCC, Eclipse, Symbian and Xen. |
Lars is an IT generalist with 17 years of industry experience in infrastructure, cloud, tools and mobile industries working at ARM, Citrix, Nokia and the Symbian Foundation. Lars has spoken at OSCON, Øredev, LinuxCon, EclipseCon, Scale and other conferences. | |
Nationality | German |
lars dot kurth at xen dot org | |
lars_kurth | |
IRC | lars_kurth @ freenode |
larskurth | |
Blog | Tales from the Community |
{{Infobox person | name = Lars Kurth | image = larsk.jpg | caption = Lars Kurth | nationality = German | occupation = Xen.org Community Manager | bio1 = Lars Kurth joined Citrix in 2011 where he works as community manager for Xen.org. He is a passionate open source enthusiast who worked with and for many open source communities over the years and contributed to GCC, Eclipse, Symbian and Xen. | bio2 = Lars is an IT generalist with 17 years of industry experience in infrastructure, cloud, tools and mobile industries working at ARM, Citrix, Nokia and the Symbian Foundation. Lars has spoken at OSCON, Øredev, LinuxCon, EclipseCon, Scale and other conferences. | email = lars dot kurth at xen dot org | twitter = [https://twitter.com/lars_kurth lars_kurth] | irc = lars_kurth @ freenode | linkedin = [http://www.linkedin.com/in/larskurth larskurth] | blog = [http://talesfromthecommunity.wordpress.com/ Tales from the Community] | box_width = 400px }}
See also
Alternative templates are listed at WikiProject Biography/Infoboxes and within the people infobox templates category.
The above documentation is transcluded from Template:Infobox person/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |