Help us get to over 8,750 articles in 2024.

If you know of a magician not listed in MagicPedia, start a New Biography for them. Contact us at magicpediahelp@gmail.com

Difference between revisions of "Template:Infobox person"

From Magicpedia, the free online encyclopedia for magicians by magicians.
Jump to: navigation, search
m
m
Line 50: Line 50:
  
 
| data41    = {{{misc|}}}
 
| data41    = {{{misc|}}}
}}[[Category:Biographies]][[Category:{{{birth_year|?}}} births]]{{#if {{{death_year|}}}|[[Category: {{{death_year}}} deaths]]}}</includeonly><noinclude>
+
}}[[Category:Biographies]][[Category:{{{birth_year|?}}} births]]{{#if:{{{death_year|}}}|[[Category: {{{death_year}}} deaths]]}}</includeonly><noinclude>
 
This template may be used to summarize information about a particular person to an article.
 
This template may be used to summarize information about a particular person to an article.
  

Revision as of 16:23, 1 April 2010

Warning: Work in progress. Do not use until this template until this warning has been removed!



This template may be used to summarize information about a particular person to an article.

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        = 
| image       = 
| alt         = 
| caption     = 
| birth_day   =  
| birth_year  =   
| birth_place = 
| death_day   =  
| death_year  =  
| death_place = 
| nationality = 
| known_for   = 
}}

Blank template with all parameters

{{Infobox person
| name                      = 
| image                     = 
| image_size                = 
| alt                       = 
| caption                   = 
| birth_name                = 
| birth_year  =   
| birth_place = 
| death_day   =  
| death_year  =  
| birth_place               = 
| death_place               = 
| resting_place             = 
| resting_place_coordinates = <!-- {{coord|LAT|LONG|display=inline,title}} -->
| nationality               = 
| known_for                 = 
| notable works             =
| flourished                = 
| awards                    = 
| box_width                 = 
| misc                      =
}}

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
name Common name of person (defaults to article name if left blank; provide birth_name (below) if different from name).
image Image name: abc.jpg, xpz.png, 123.gif, etc.
image_size
(imagesize)
Size to display image: 200px (set width), or 200x300px (max width & max height). This defaults to 225px if empty or omitted.
alt Alt text for image, for visually impaired readers.
caption Caption for image, if needed. Try to include date of photo and the photographer.
birth_name Name at birth, if different from name.
birth_day Day of birth: |- | '''birth_year''' | Year of birth: <nowiki> |- | '''birth_place''' | Place of birth: city, administrative region, sovereign state. |- | '''death_day''' | Day of death: |- | '''death_year''' | Year of death: |- | '''death_place''' | Place of death: city, administrative region, sovereign state. |- | '''resting_place''' | Place of burial, ash-scattering, etc. |- | '''resting_place_coordinates''' | Coordinates for place of burial, ash-scattering etc. |- | '''nationality''' | Nationality. May be used instead of citizenship (below) or vice versa in cases where any confusion could result. Should only be used <em>with</em> citizenship when they somehow differ. |- | '''known_for'''</br> (''known'') | A brief description of why the person is notable. |- | '''awards''' | Notable awards |- | '''website''' | Official website only. Unofficial websites should be placed under <nowiki>==External links== in the body of the article.
footnotes Notes about any of the infobox data.
box_width The infobox width, such as: box_width=220px (default: 22em). Space character between the number and the unit of measurement breaks the parameter.

Examples

Bill Gates
BornWilliam Henry Gates III
October 28 1955
Seattle, Washington
{{{death_day}}} [[{{{death_year}}}]] (age Expression error: Unrecognized punctuation character "{".)
SpouseMelinda Gates (since 1994)
Children3
WebsiteMicrosoft (Press Pass)
Gates Foundation
{{ infobox person
| name          = Bill Gates
| image         = Bill Gates 2004 cr.jpg
| image_size    = 170px
| alt           = Head and shoulders portrait of talking 50-year-old man in rimless glasses, business suit, and power red tie, with raised right hand gesturing.
| caption       = At an IT forum in Denmark, 2004
| birth_name    = William Henry Gates III
| birth_date    =  October 251955|10|28}}
| birth_place   = [[Seattle, Washington]]
 
| website       = [http://www.microsoft.com/ Microsoft] [http://www.microsoft.com/presspass/exec/billg/default.mspx (Press Pass)]<br>[http://www.gatesfoundation.org Gates Foundation]
| box_width     = 200px
}}