Help us get to over 8,769 articles in 2026.

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

Template:Infobox person: Difference between revisions

From Magicpedia, the free online encyclopedia for magicians by magicians.
Jump to navigation Jump to search
(Created page with 'Warning: Work in progress. Do not use until this template until this warning has been removed! <includeonly>{{Infobox | bodyclass = biography vcard | bodystyle = {{#if:{{{bo...')
 
mNo edit summary
 
(100 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Warning: Work in progress. Do not use until this template until this warning has been removed!
<includeonly>{{Infobox
<includeonly>{{Infobox
| bodyclass  = biography vcard
| bodyclass  = biography vcard  
| bodystyle  = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
| bodystyle  = {{#if:{{{box_width|}}}|width:{{{box_width}}};}} background-color:#E6E6FA
| above      =  {{{name|{{PAGENAME}}}}}  
| above      =  {{{name|{{PAGENAME}}}}}  
| aboveclass = fn
| aboveclass = fn
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{image_size|{{{imagesize|}}}}}}|{{{image_size|{{{imagesize}}}}}}|225px}}|alt={{{alt|}}}]]}}
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{image_size|{{{imagesize|}}}}}}|{{{image_size|{{{imagesize}}}}}}|150px}}|alt={{{alt|}}}]]}}
| imageclass = {{image class names|{{{image}}}}}
| image_crop = {{{image_crop|}}}
| caption    = {{{caption|}}}
| caption    = {{{caption|}}}
 
| oTop = {{{oTop|}}}
| label1     = {{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}|Born}}
| oLeft = {{{oLeft|}}}
| data1     = {{#if:{{{birth_name|}}}|{{{birth_name}}}<br />}}{{#if:{{{birth_date|}}}|{{{birth_date}}}<br />}}{{{birth_place|}}}
| label2     = {{#if:{{{birth_name|}}}{{{birth_year|}}}{{{birth_place|}}}|Born}}
 
| data2     = {{#if:{{{birth_name|}}}|{{{birth_name}}}<br />}}{{#if:{{{birth_day|}}}|{{{birth_day}}}}} {{#if:{{{birth_year|}}}|[[{{{birth_year}}}]]<br />}}{{{birth_place|}}}
| label2     = {{#if:{{{death_date|}}}{{{death_place|}}}|Died }}
| label3     = {{#if:{{{death_year|}}}{{{death_place|}}}|Died }}
| data2     = {{#if:{{{death_date|}}}|{{{death_date}}}<br />}}{{{death_place|}}}
| data3     = {{Death_Year_Age|birth_year={{{birth_year}}}|birth_day={{{birth_day}}}|death_year={{{death_year}}}|death_day={{{death_day}}} }} <br />{{{death_place|}}}
 
| label5    = Resting place
| label5    = Resting place
| class5    = label
| data5      = {{{resting_place|}}} {{#if:{{{resting_place_coordinates|}}}|[http://maps.google.com/?ll={{{resting_place_coordinates}}} Map]}}
| data5      = {{{resting_place|}}}{{#if:{{{resting_place_coordinates|}}}|<br />{{{resting_place_coordinates}}} }}
 
| label6    = Residence
| label6    = Residence
| class6    = label
| data6      = {{{residence|}}}
| data6      = {{{residence|}}}
| class7    = category
| class7    = category
| label7    = Nationality
| label7    = Nationality
| data7      = {{{nationality|}}}
| data7      = {{{nationality|}}}{{#if:{{{nationality2|}}}|/{{{nationality2}}}}}
 
| label8    = Other names
| label8    = Other names
| class8    = nickname
| class8    = nickname
| data8      = {{{other_names|}}}
| data8      = {{{other_names|}}}
 
| label9    = Spouse
      
| data9      = {{{spouse|}}}
| label10    = Children
| data10      = {{{children|}}}
| label11     = Parents
| data11      = {{{parents|}}}
| label14    = Flourished
| label14    = Flourished
| data14    = {{{flourished|}}}
| data14    = {{{flourished|}}}
| label16    = Notable works
| label16    = Notable works
| data16    = {{{notable works|}}}
| data16    = {{{notable works|}}}
   
| label22    = Known&nbsp;for
| label22    = Known&nbsp;for
| data22    = {{{known|{{{known_for|}}}}}}
| data22    = {{{known|{{{known_for|}}}}}}
         
| label23    = Awards
| data39     = {{#if:{{{website|}}}| '''Website'''<br />{{{website}}} }}
| data23     = {{{awards|}}}
 
| label25 = Categories
| data25 =  {{Exists|page=Category:Books by {{PAGENAME}}|then=[[:Category:Books by {{PAGENAME}}|Books by {{PAGENAME}}]]|else=}}
| label39    = Website
| data39    = {{{website|}}}
| data40    = {{#if:{{{footnotes|}}}|<div style="text-align:left;"><div style="border-top:1px solid;">'''Notes'''</div><div style="line-height:1.2em;">{{{footnotes}}}</div></div>}}
| data40    = {{#if:{{{footnotes|}}}|<div style="text-align:left;"><div style="border-top:1px solid;">'''Notes'''</div><div style="line-height:1.2em;">{{{footnotes}}}</div></div>}}
| data41    = {{{misc|}}}
| data41    = {{{misc|}}}
}}</includeonly><noinclude>
}}[[Category:Biographies]] {{#if:{{{image|}}}||{{#if:{{{image_crop|}}}||[[Category:NeedBioPic]]}} }}  {{#if:{{{birth_year|}}}|[[Category: {{{birth_year|?}}} births]]|[[Category:? births]]}}{{#ifeq:{{{birth_day}}}|circa|[[Category:? births]]|}}{{#if:{{{death_year|}}}|[[Category: {{{death_year}}} deaths]]}}{{#if:{{{nationality|}}}|[[Category: {{{nationality}}} magicians]]}}{{#if:{{{nationality2|}}}|[[Category: {{{nationality2}}} magicians]]}}{{#if:{{{resting_place|}}}|[[Category: Resting_place]]}}</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.


Line 57: Line 49:


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.
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 ====
<pre style="overflow: auto">
{{Infobox person
| name        =
| image      =
| alt        =
| caption    =
| birth_date  = <!-- {{birth date|YYYY|MM|DD}} -->
| birth_place =
| death_date  = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth) -->
| death_place =
| nationality =
| known_for  =
}}
</pre>


=== Blank template with all parameters ===
=== Blank template with all parameters ===
Line 79: Line 54:
<pre style="overflow: auto">
<pre style="overflow: auto">
{{Infobox person
{{Infobox person
| name                      =
| image                    =  
| image                    =  
| image_size                =  
| image_size                =  
Line 85: Line 59:
| caption                  =  
| caption                  =  
| birth_name                =  
| birth_name                =  
| birth_date               = <!-- {{birth date|YYYY|MM|DD}} -->
| birth_day                = 
| birth_year               =  
| birth_place              =  
| birth_place              =  
| death_date               = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth) -->
| death_day                = 
| death_year               =
| death_place              =  
| death_place              =  
| resting_place            =  
| resting_place            =  
| resting_place_coordinates = <!-- {{coord|LAT|LONG|display=inline,title}} -->
| resting_place_coordinates =
| nationality              =  
| nationality              =  
| nationality2              =
| known_for                =  
| known_for                =  
| notable works            =
| notable works            =  
| flourished                =  
| flourished                =  
| awards                    =  
| awards                    =  
| box_width                =  
| website                  =  
| misc                      =
| misc                      =  
}}
}}
</pre>
</pre>
Line 113: Line 90:
|-
|-
| '''image'''
| '''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 [[:Template:WPBiography]] on the talkpage. Do not use [[:Image:Replace this image male.svg]], [[:Image:Replace this image female.svg]] or other placeholder images; the proposal to use such placeholders has been rejected by the community.
| Image name: abc.jpg, xpz.png, 123.gif, etc.  
|-
|-
| '''image_size'''<br /> (''imagesize'')
| '''image_size'''<br /> (''imagesize'')
Line 119: Line 96:
|-
|-
| '''alt'''
| '''alt'''
| Alt text for image, for visually impaired readers. See [[WP:ALT]].
| Alt text for image, for visually impaired readers.
|-
|-
| '''caption'''
| '''caption'''
Line 127: Line 104:
| Name at birth, if different from '''name'''.
| Name at birth, if different from '''name'''.
|-
|-
| '''birth_date'''
| '''birth_day'''
| Date of birth: <nowiki>{{birth date and age|1930|1|15}} (if living) or {{birth date|1930|1|15}} (if dead).</nowiki>  See [[Template:Birth date]] for details.
| Day of birth:  
|-
| '''birth_year'''
| Year of birth:  
|-
|-
| '''birth_place'''
| '''birth_place'''
| Place of birth: city, administrative region, sovereign state.
| Place of birth: city, administrative region, sovereign state.
|-
|-
| '''death_date'''
| '''death_day'''
| Date of death: <nowiki>{{death date and age|1995|10|9|1930|1|15}} (if birth date is known) or {{death date|1995|10|9}} (if birth date unknown).</nowiki> See [[Template:Death date]] for details.
| Day of death:  
|-
| '''death_year'''
| Year of death:  
|-
|-
| '''death_place'''
| '''death_place'''
Line 143: Line 126:
|-
|-
| '''resting_place_coordinates'''
| '''resting_place_coordinates'''
| Coordinates for place of burial, ash-scattering etc. Use {{tl|coord}} template.
| Coordinates for place of burial, ash-scattering etc.
|-
|-
| '''nationality'''
| '''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.
| 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'')
| '''known_for'''  
| A brief description of why the person is notable.  
| A brief description of why the person is notable.  
|-
|-
Line 165: Line 148:


=== Examples ===
=== Examples ===
<pre style="overflow: auto">


{{ infobox person
{{Infobox person
| name          = Bill Gates
| image                    = AMWilson.jpg
| image_size   = 170px
| image_size               =  
| 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.
| alt                       =  
| caption      = At an IT forum in Denmark, 2004
| caption                  =
| birth_name    = William Henry Gates III
| birth_name                = Albert M. Wilson
| birth_date    = {{birth date and age|1955|10|28}}
| birth_day                = June 23,  
| birth_place  = [[Seattle, Washington]]
| birth_year                = 1854 
| occupation    = Chairman, [[Microsoft]]<br />Co-Chair, [[Bill & Melinda Gates Foundation]]
| birth_place              =  
| salary        = [[US$]] 966,667<ref>Year 2006 compensation: salary $616,667, bonus $350,000. From Microsoft's [http://www.microsoft.com/msft/reports/proxy2006.mspx Proxy Statement].</ref>
| death_day                = April 22,
| networth      = US$ 56.0 billion (2007)
| death_year                = 1930
| spouse        = [[Melinda Gates]] (since 1994)
| death_place              =
| children      = 3
| resting_place            =  
| signature    = BillGates Signature.svg
| resting_place_coordinates =
| signature_alt = William H. Gates III
| nationality              =  
| website       = [http://www.microsoft.com/ Microsoft] [http://www.microsoft.com/presspass/exec/billg/default.mspx (Press Pass)]<br>[http://www.gatesfoundation.org Gates Foundation]
| nationality2              =  
| box_width    = 200px
| known_for                = Editor of The Sphinx magazine
| notable works            =  
| flourished                =  
| awards                    =  
| website                   =  
| misc                      =  
}}
}}


<pre style="overflow: auto">
</pre></noinclude>
{{ 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    = {{birth date and age|1955|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
}}
</pre>
</noinclude>

Latest revision as of 17:59, 19 April 2015

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 all parameters

{{Infobox person
| image                     = 
| image_size                = 
| alt                       = 
| caption                   = 
| birth_name                = 
| birth_day                 =   
| birth_year                =   
| birth_place               = 
| death_day                 =  
| death_year                =  
| death_place               = 
| resting_place             = 
| resting_place_coordinates =  
| nationality               = 
| nationality2              = 
| known_for                 = 
| notable works             = 
| flourished                = 
| awards                    = 
| website                   = 
| 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:
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 with citizenship when they somehow differ.
known_for A brief description of why the person is notable.
awards Notable awards
website Official website only. Unofficial websites should be placed under ==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


{{Infobox person
| image                     = AMWilson.jpg
| image_size                = 
| alt                       = 
| caption                   = 
| birth_name                = Albert M. Wilson
| birth_day                 = June 23,   
| birth_year                = 1854  
| birth_place               = 
| death_day                 = April 22, 
| death_year                = 1930 
| death_place               = 
| resting_place             = 
| resting_place_coordinates =  
| nationality               = 
| nationality2              = 
| known_for                 = Editor of The Sphinx magazine
| notable works             = 
| flourished                = 
| awards                    = 
| website                   = 
| misc                      = 
}}