Template:Entity: Difference between revisions

From Rotborough Truth Archive
Jump to navigation Jump to search
No edit summary
Tag: Reverted
Undo revision 98 by Rtaadmin (talk)
Tag: Undo
 
Line 1: Line 1:
{{Infobox
<includeonly>{{Infobox
| title = {{{name|}}}
| bodyclass  = biography vcard
| header1 = Information
| bodystyle  = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
| image = {{{image|}}}
| title     = {{{title|{{{name|}}}}}}
| above      =  
| image     = {{#if:{{{image|}}}|[[File:{{{image}}}|{{px|{{{image_size|{{{imagesize|{{{size|}}}}}}}}}}|frameless}}|alt={{{alt|}}}]]}}
| header1    = Information


| label1 = Name
| label1     = Name
| data1 = {{{name|}}}
| data1     = {{{name}}}


| label2 = {{#if:{{{year|}}}|Date of birth}}{{#if:{{{founded|}}}|Founded}}
| label2     = Date of birth
| data2 = {{#if:{{{year|}}}|{{#if:{{{month|}}}|{{Date|{{{year|}}}|{{{month|}}}|{{{day|}}}}}|{{{year|}}}}}}}{{#if:{{{founded|}}}|{{{founded|}}}}}
| data2      = {{#if:{{{year|}}}|{{Birth date|year={{{year|}}}|month={{{month|}}}|day={{{day|}}}|source={{{birthsrc|}}} }} {{#if: {{{deathyear|}}} | | <span class="noprint"> (age&nbsp;{{Age|{{{year|}}}|{{{month|1}}}|{{{day|1}}} }})</span>}}}}


| label3 = {{#if:{{{nationality|}}}|Nationality}}{{#if:{{{headquarters|}}}|Headquarters}}
| label3     = Date of death
| data3 = {{{nationality|}}}{{{headquarters|}}}
| data3      = {{#if:{{{deathyear|}}}|{{Birth date|year={{{deathyear|}}}|month={{{deathmonth|}}}|day={{{deathday|}}}|source={{{deathsrc|}}} }} <span class="noprint"> (age&nbsp;{{Age|{{{year|}}}|{{{month|1}}}|{{{day|1}}}|{{{deathyear|}}}|{{{deathmonth|1}}}|{{{deathday|1}}} }})</span>}}


| label4 = {{#if:{{{occupation|}}}|Occupation}}{{#if:{{{founder|}}}|Founder}}{{#if:{{{industry|}}}|Industry}}
| label4     = Also known as
| data4 = {{{occupation|}}}{{{founder|}}}{{{industry|}}}
| data4     = {{{aliases|}}}


| label5 = {{#if:{{{education|}}}|Education}}{{#if:{{{products|}}}|Products}}
| label5     = Birth name
| data5 = {{{education|}}}{{{products|}}}
| data5     = {{{birthname|}}}


| label6 = {{#if:{{{knownfor|}}}|Known for}}{{#if:{{{services|}}}|Services}}
| label6     = Gender
| data6 = {{{knownfor|}}}{{{services|}}}
| data6     = {{{gender|}}}


| label7 = {{#if:{{{spouse|}}}|Spouse}}{{#if:{{{employees|}}}|Employees}}
| label7     = Nationality
| data7 = {{{spouse|}}}{{{employees|}}}
| data7      = {{{nationality|{{{nation|}}}}}}


| label8 = {{#if:{{{children|}}}|Children}}{{#if:{{{revenue|}}}|Revenue}}
| label8     = Occupation
| data8 = {{{children|}}}{{{revenue|}}}
| data8     = {{{occupation|}}}


| label9 = {{#if:{{{website|}}}|Website}}
| label9     = Religion
| data9 = {{{website|}}}
| data9     = {{{religion|}}}


| label10 = {{#if:{{{status|}}}|Status}}
| label10   = Education
| data10 = {{{status|}}}
| data10     = {{{education|}}}
}}<noinclude>
This template handles both person and business infoboxes by checking which parameters are provided.


== Person Parameters ==
| label11    = Known for
* name, year, month, day, nationality, occupation, education, knownfor, spouse, children
| data11    = {{{knownfor|}}}


== Business Parameters == 
| header12  = Relationships
* name, founded, headquarters, founder, industry, products, services, employees, revenue, website, status


[[Category:Meta templates]]
| label13    = Spouse
| data13    = {{{spouse|}}}
 
| label14    = Children
| data14    = {{{children|}}}
 
| label15    = Mother
| data15    = {{{mother|}}}
 
| label16    = Father
| data16    = {{{father|}}}
 
| label17    = Siblings
| data17    = {{{siblings|}}}
 
| label18    = Other relatives
| data18    = {{{relatives|}}}
 
| label19    = Notes
| data19    = {{{notes|}}}
 
| label20    = Disappeared
| data20    = {{{disappeared|}}}
 
}}</includeonly><noinclude>
{{Documentation}}
[[Category:Infoboxes|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 14:59, 24 June 2025

Template documentation

This template has no documentation yet. See the template source for usage.