Difference between revisions of "Template:Infobox Person"

1,815 bytes removed ,  18:49, 19 December 2009
no edit summary
Line 1: Line 1:
Template: Infobox_Person
{| class="infobox-HITS" id="infobox_Person"
{{ infobox
|colspan="2" |<span id="heading_biggest">{{{name}}}</span>
| bodyclass  = biography vcard vevent
|-
| bodystyle  = width:{{#if:{{{box_width|}}}|{{{box_width}}} |22em}}; font-size:95%; text-align:left;
{{#if: {{{photo|}}} | {{!}}colspan="2" align="center" {{!}} [[File:{{{photo}}}{{!}}220px]]
| above      = '''{{{name|{{PAGENAME}}}}}'''
{{!}}-}}
| aboveclass = fn summary
|colspan="2" |<span id="heading_bigger">[[:Relation:{{{relation}}}|{{{relation}}}]]</span>
| abovestyle = text-align:center; font-size:125%;
|- !valign="top" | birth    = {{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}|Born}}
| image     = {{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{image_size|{{{imagesize|}}}}}}|{{{image_size|{{{imagesize}}}}}}|225px}}]]}}
|- !valign="top" | birth2     = {{#if:{{{birth_name|}}}|{{{birth_name}}}<br />}}{{#if:{{{birth_date|}}} |{{{birth_date}}}<br />}}{{{birth_place|}}}
| imageclass = {{image class names|{{{image}}}}}
|- !valign="top" | death    = {{#if:{{{death_date|}}}{{{death_place|}}}|Died }}
| imagestyle = padding:4pt; line-height:1.25em; text-align:center; font-size:8pt;
|- !valign="top" | death2      = {{#if:{{{death_date|}}}|{{{death_date}}}<br />}}{{{death_place|}}}
| caption   = <div style="padding-top:2pt;">{{{caption|}}}</div>
|- !valign="top" | residence      = {{{residence|}}}
| labelstyle = padding:0.2em 1.0em 0.2em 0.2em; background:transparent; line-height:1.2em; text-align:left; font-size:90%;
|- !valign="top" | otherNames      = {{{other_names|}}}
| datastyle  = padding:0.2em; line-height:1.3em; vertical-align:middle; font-size:90%;
|- !valign="top" | yearsActive   = Years active
|- !valign="top" | footnotes    = {{#if:{{{footnotes|}}}|<div style="text-align:left;"><div style="border-top:1px solid;">'''Notes'''</div><div style="line-height:1.2em;">{{{footnotes}}}</div></div>}}
|}
<includeonly>[[Category:{{{disc_Category}}}]]</includeonly>


| label1    = {{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}|Born}}
<noinclude>
| data1      = {{#if:{{{birth_name|}}}|{{{birth_name}}}<br />}}{{#if:{{{birth_date|}}} |{{{birth_date}}}<br />}}{{{birth_place|}}}
<p>&nbsp;</p>
| label2    = {{#if:{{{death_date|}}}{{{death_place|}}}|Died }}
<p>&nbsp;</p>
| data2      = {{#if:{{{death_date|}}}|{{{death_date}}}<br />}}{{{death_place|}}}
<p>&nbsp;</p>
| label3    = Cause of death
<p>&nbsp;</p>
| data3      = {{{death_cause|}}}
<p>&nbsp;</p>
| label4    = Body discovered
<p>&nbsp;</p>
| data4      = {{{body_discovered|}}}
<p>&nbsp;</p>
| label5    = Resting place
<p>&nbsp;</p>
| class5    = label
<p>&nbsp;</p>
| data5      = {{{resting_place|}}}{{#if:{{{resting_place_coordinates|}}}|<br />{{{resting_place_coordinates}}} }}
<p>&nbsp;</p>
| label6    = Residence
'''How to use:'''
| class6    = label
Put this block of code in an artist's main page.  Fill out the information between the brackets and then remove the  '''<nowiki><!--</nowiki>''' and '''<nowiki>--></nowiki>'''
| data6      = {{{residence|}}}
<pre>
| class7    = category
{{Infobox album
| label7    = Nationality
|title = <!-- Title of the release -->
| data7      = {{{nationality|}}}
|albumart = The filename of the (obviously already uploaded) album art, such as MMMM08.jpg (optional)
| label8    = Other&amp;nbsp;names
|disc_category = <!-- EXAMPLE: EP, Studio Album -->
| class8    = nickname
|released = <!-- Date released -->
| data8      = {{{other_names|}}}
|recorded = <!-- Some time frame in which the release was recorded and studio name (optional) -->
| class9    = category
|length = <!-- EXAMPLE: 48:16 -->
| label9    = Ethnicity
|label = <!-- Labels under which this album was released -->
| data9      = {{{ethnicity|}}}
|producer = <!-- producer of the album -->
| class10    = category
|reviews = <!-- links to notable reviews of the album (optional) -->
| label10    = Citizenship
| data10    = {{{citizenship|}}}
| label11    = Education
| data11    = {{{education|}}}
| label12    = Alma&amp;nbsp;mater
| data12    = {{{alma_mater|}}}
| label13    = Occupation
| class13    = role
| data13    = {{{occupation|}}}
| label14    = Years active
| data14    = {{{years_active|}}}
| label15    = Employer
| data15    = {{{employer|}}}
| label16    = Home&amp;nbsp;town
| data16    = {{{home_town|}}}
| label17    = Salary
| data17    = {{{salary|}}}
| label18    = Net&amp;nbsp;worth
| data18    = {{{networth|}}}
| label19    = Height
| data19    = {{{height|}}}
| label20    = Weight
| data20    = {{{weight|}}}
| label21    = Known&amp;nbsp;for
| data21    = {{{known|{{{known_for|}}}}}}
| label22    = Title
| data22    = {{{title|}}}
| label23    = Term
| data23    = {{{term|}}}
| label24    = Predecessor
| data24    = {{{predecessor|}}}
| label25    = Successor
| data25    = {{{successor|}}}
| label26    = Political&amp;nbsp;party
| data26    = {{{party|}}}
| label27    = Opponent(s)
| data27    = {{{opponents|}}}
| label28    = Board member&amp;nbsp;of
| data28    = {{{boards|}}}
| label29    = Religious beliefs
| data29    = {{{religion|}}}
| label30    = Spouse(s)
| data30    = {{{spouse|}}}
| label31    = Partner
| data31    = {{{partner|}}}
| label32    = Children
| data32    = {{{children|}}}
| label33    = Parents
| data33    = {{{parents|}}}
| label34    = Relatives
| data34    = {{{relations|{{{relatives|}}}}}}
| label35    = Call-sign
| data35    = {{{callsign|}}}
| label36    = Awards
| data36    = {{{awards|}}}
| data37    = {{#if:{{{signature|}}}|'''Signature'''<div style="padding-top:0.3em;">[[Image:{{{signature}}}|128px]]</div&gt;}}
| data38    = {{#if:{{{website|}}}| '''Website'''<br />{{{website}}} }}
| data39    = {{#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 = {{{misc|}}}
}}
}}
</pre>