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
mNo edit summary
mNo edit summary
 
(89 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  
Line 6: Line 4:
| above      =  {{{name|{{PAGENAME}}}}}  
| above      =  {{{name|{{PAGENAME}}}}}  
| aboveclass = fn
| aboveclass = fn
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{image_size|{{{imagesize|}}}}}}|{{{image_size|{{{imagesize}}}}}}|200px}}|alt={{{alt|}}}]]}}
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{image_size|{{{imagesize|}}}}}}|{{{image_size|{{{imagesize}}}}}}|150px}}|alt={{{alt|}}}]]}}
| image_crop = {{{image_crop|}}}
| caption    = {{{caption|}}}
| caption    = {{{caption|}}}
 
| oTop = {{{oTop|}}}
| label1     = {{#if:{{{birth_name|}}}{{{birth_year|}}}{{{birth_place|}}}|Born}}
| oLeft = {{{oLeft|}}}
| data1     = {{#if:{{{birth_name|}}}|{{{birth_name}}}<br />}}{{#if:{{{birth_day|}}}|{{{birth_day}}}}} {{#if:{{{birth_year|}}}|[[{{{birth_year}}}]]<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_year|}}}{{{death_place|}}}|Died }}
| label3     = {{#if:{{{death_year|}}}{{{death_place|}}}|Died }}
| data2     = {{#if:{{{death_day|}}}|{{{death_day}}}}} {{#if:{{{death_year|}}}|[[{{{death_year}}}]]<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|}}}
}}[[Category:Biographies]][[Category:{{{birth_year|?}}} births]]{{#if:{{{death_year|}}}|[[Category: {{{death_year}}} deaths]]}}</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 54: 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_day  = 
| birth_year  = 
| birth_place =
| death_day  = 
| death_year  = 
| death_place =
| nationality =
| known_for  =
}}
</pre>


=== Blank template with all parameters ===
=== Blank template with all parameters ===
Line 78: Line 54:
<pre style="overflow: auto">
<pre style="overflow: auto">
{{Infobox person
{{Infobox person
| name                      =
| image                    =  
| image                    =  
| image_size                =  
| image_size                =  
Line 84: Line 59:
| caption                  =  
| caption                  =  
| birth_name                =  
| birth_name                =  
| birth_year  =   
| birth_day                =   
| birth_place =  
| birth_year                =   
| death_day  
| death_year  = 
| birth_place              =  
| birth_place              =  
| 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 129: Line 105:
|-
|-
| '''birth_day'''
| '''birth_day'''
| Day of birth: <nowiki>
| Day of birth:  
|-
|-
| '''birth_year'''
| '''birth_year'''
| Year of birth: <nowiki>
| Year of birth:  
|-
|-
| '''birth_place'''
| '''birth_place'''
Line 155: Line 131:
| 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 172: Line 148:


=== Examples ===
=== Examples ===


{{ infobox person
<pre style="overflow: auto">
| name          = Bill Gates
 
| image_size   = 170px
{{Infobox person
| 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.
| image                    = AMWilson.jpg
| caption       = At an IT forum in Denmark, 2004
| image_size               =  
| birth_name   = William Henry Gates III
| alt                       =  
| birth_day   = October 28
| caption                   =  
| birth_year   = 1955
| birth_name               = Albert M. Wilson
| birth_place   = [[Seattle, Washington]]
| birth_day                 = June 23, 
| occupation    = Chairman, [[Microsoft]]<br />Co-Chair, [[Bill & Melinda Gates Foundation]]
| birth_year               = 1854 
| 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>
| birth_place               =
| networth      = US$ 56.0 billion (2007)
| death_day                = April 22,  
| spouse        = [[Melinda Gates]] (since 1994)
| death_year                = 1930
| children      = 3
| death_place              =
| signature    = BillGates Signature.svg
| resting_place            =
| signature_alt = William H. Gates III
| resting_place_coordinates =
| website       = [http://www.microsoft.com/ Microsoft] [http://www.microsoft.com/presspass/exec/billg/default.mspx (Press Pass)]<br>[http://www.gatesfoundation.org Gates Foundation]
| nationality              =  
| box_width    = 200px
| nationality2              =  
| 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    =  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
}}
</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                      = 
}}