Difference between revisions of "Template:Infobox Person"

From Tally Hallmanac: The Ultimate Tally Hall Wiki
Jump to navigation Jump to search
(New page: Template: Infobox_Person {{ infobox | bodyclass = biography vcard vevent | bodystyle = width:{{#if:{{{box_width|}}}|{{{box_width}}} |22em}}; font-size:95%; text-align:left; | above ...)
 
m (Protected "Template:Infobox Person": Excessive spamming ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(41 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Template: Infobox_Person
+
{| class="infobox-HITS" id="infobox_Person" style="text-align:left;"
{{ infobox
+
|-
| bodyclass  = biography vcard vevent
+
|colspan="2" |<span id="heading_biggest">{{{name}}}</span>
| bodystyle  = width:{{#if:{{{box_width|}}}|{{{box_width}}} |22em}}; font-size:95%; text-align:left;
+
|-
| above      = '''{{{name|{{PAGENAME}}}}}'''
+
{{#if: {{{photo|}}} | {{!}}colspan="2" align="center" {{!}} [[File:{{{photo}}}{{!}}220px]]
| aboveclass = fn summary
+
{{!}}-}}
| abovestyle = text-align:center; font-size:125%;
+
{{#if: {{{relation|}}} | {{!}}colspan="2" align="center" {{!}} <span id="heading_bigger">{{{relation}}}</span> }}
| image      = {{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{image_size|{{{imagesize|}}}}}}|{{{image_size|{{{imagesize}}}}}}|225px}}]]}}
+
|-
| imageclass = {{image class names|{{{image}}}}}
+
{{#if: {{{birth_date|}}} | !valign="top" {{!}}Date of Birth:
| imagestyle = padding:4pt; line-height:1.25em; text-align:center; font-size:8pt;
+
{{!}} {{{birth_date}}} }}
| caption    = <div style="padding-top:2pt;">{{{caption|}}}</div>
+
|-
| labelstyle = padding:0.2em 1.0em 0.2em 0.2em; background:transparent; line-height:1.2em; text-align:left; font-size:90%;
+
{{#if: {{{hometown|}}} | !valign="top" {{!}}Hometown:
| datastyle  = padding:0.2em; line-height:1.3em; vertical-align:middle; font-size:90%;
+
{{!}} {{{hometown}}} }}
 
+
|-
| label1    = {{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}|Born}}
+
{{#if: {{{death_date|}}} | !valign="top" {{!}}Date of Death:
| data1      = {{#if:{{{birth_name|}}}|{{{birth_name}}}<br />}}{{#if:{{{birth_date|}}} |{{{birth_date}}}<br />}}{{{birth_place|}}}
+
{{!}} {{{death_date}}} }}
| label2    = {{#if:{{{death_date|}}}{{{death_place|}}}|Died }}
+
|-
| data2      = {{#if:{{{death_date|}}}|{{{death_date}}}<br />}}{{{death_place|}}}
+
{{#if: {{{death_place|}}} | !valign="top" {{!}}Place of Death:
| label3    = Cause&nbsp;of death
+
{{!}} {{{death_place}}} }}
| data3      = {{{death_cause|}}}
+
|-
| label4    = Body discovered
+
{{#if: {{{residence|}}} | !valign="top" {{!}}Current resident of:
| data4      = {{{body_discovered|}}}
+
{{!}} {{{residence}}} }}
| label5    = Resting&nbsp;place
+
|-
| class5    = label
+
{{#if: {{{otherNames|}}} | !valign="top" {{!}}Other Names:
| data5      = {{{resting_place|}}}{{#if:{{{resting_place_coordinates|}}}|<br />{{{resting_place_coordinates}}} }}
+
{{!}} {{{otherNames}}} }}
| label6    = Residence
+
|-
| class6    = label
+
{{#if: {{{addtlInfo|}}} | !valign="top" {{!}}Addtl. Info:
| data6      = {{{residence|}}}
+
{{!}} {{{addtlInfo}}} }}
| class7    = category
+
|}
| label7    = Nationality
+
<includeonly>[[Category:People]]</includeonly>
| data7      = {{{nationality|}}}
+
__NOTOC__
| label8    = Other&nbsp;names
+
<noinclude>
| class8    = nickname
+
<p>&nbsp;</p>
| data8      = {{{other_names|}}}
+
<p>&nbsp;</p>
| class9    = category
+
<p>&nbsp;</p>
| label9    = Ethnicity
+
<p>&nbsp;</p>
| data9      = {{{ethnicity|}}}
+
<p>&nbsp;</p>
| class10    = category
+
<p>&nbsp;</p>
| label10    = Citizenship
+
<p>&nbsp;</p>
| data10    = {{{citizenship|}}}
+
<p>&nbsp;</p>
| label11    = Education
+
<p>&nbsp;</p>
| data11    = {{{education|}}}
+
<p>&nbsp;</p>
| label12    = Alma&nbsp;mater
+
'''How to use:'''
| data12    = {{{alma_mater|}}}
+
Put this block of code in a person's main page.  Fill out the information between the brackets and then remove the  '''<nowiki><!--</nowiki>''' and '''<nowiki>--></nowiki>'''
| label13    = Occupation
+
<pre>
| class13    = role
+
{{Infobox Person
| data13    = {{{occupation|}}}
+
|name = <!-- name of the person -->
| label14    = Years active
+
|photo = <!-- The filename of the (obviously already uploaded) photo, such as joehawley.jpg (optional) -->
| data14    = {{{years_active|}}}
+
|relation = <!-- relationship to the band (eg: Current member of Tally Hall) -->
| label15    = Employer
+
|birth_date = <!-- birth date(optional) -->
| data15    = {{{employer|}}}
+
|hometown = <!-- birth place (optional) -->
| label16    = Home&nbsp;town
+
|death_date = <!-- death date (optional) -->
| data16    = {{{home_town|}}}
+
|death_place = <!-- death place (optional) -->
| label17    = Salary
+
|residence = <!-- Currently resides in -->
| data17    = {{{salary|}}}
+
|otherNames = <!-- other names of person (optional) -->
| label18    = Net&nbsp;worth
+
|addtlInfo = <!-- Any additional Info.-->
| data18    = {{{networth|}}}
+
}}
| label19    = Height
+
</pre>
| data19    = {{{height|}}}
+
</noinclude>
| label20    = Weight
 
| data20    = {{{weight|}}}
 
| label21    = Known&nbsp;for
 
| data21    = {{{known|{{{known_for|}}}}}}
 
| label22    = Title
 
| data22    = {{{title|}}}
 
| label23    = Term
 
| data23    = {{{term|}}}
 
| label24    = Predecessor
 
| data24    = {{{predecessor|}}}
 
| label25    = Successor
 
| data25    = {{{successor|}}}
 
| label26    = Political&nbsp;party
 
| data26    = {{{party|}}}
 
| label27    = Opponent(s)
 
| data27    = {{{opponents|}}}
 
| label28    = Board member&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>}}
 
| 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|}}}
 
}}<noinclude>{{pp-template|small=yes}}{{documentation}}<!---Please add metadata to the <includeonly> section at the bottom of the /doc subpage---></noinclude>
 

Latest revision as of 21:14, 26 May 2010

{{{name}}}


 

 

 

 

 

 

 

 

 

 

How to use: Put this block of code in a person's main page. Fill out the information between the brackets and then remove the <!-- and -->

{{Infobox Person
 |name = <!-- name of the person -->
 |photo = <!-- The filename of the (obviously already uploaded) photo, such as joehawley.jpg (optional) -->
 |relation = <!-- relationship to the band (eg: Current member of Tally Hall) -->
 |birth_date = <!-- birth date(optional) -->
 |hometown = <!-- birth place (optional) -->
 |death_date = <!-- death date (optional) -->
 |death_place = <!-- death place (optional) -->
 |residence = <!-- Currently resides in -->
 |otherNames = <!-- other names of person (optional) -->
 |addtlInfo = <!-- Any additional Info.-->
}}