Template:Infobox person: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(I seem to have misunderstood how row numbering worked.)
m (Dat Hack3r moved page Template:Infobox character to Template:Infobox person: This is an infobox for people, not characters.)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| bodystyle   = background-color: {{{backgroundColor|}}};
| bodystyle   = {{#if:{{{background_color|}}}|background-color: {{{background_color}}};|{{#if:{{{backgroundColor|}}}|background-color: {{{backgroundColor}}};|}}}}
| abovestyle   = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{{textColor|{{Greater color contrast|{{{color}}}}}}}};|color: {{{textColor|}}};}}
| abovestyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{#if:{{{text_color|}}}|{{{text_color}}}|{{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}}}};|{{#if:{{{text_color|}}}|color: {{{text_color}}}|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}}}
| headerstyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{#if:{{{text_color|}}}|{{{text_color}}}|{{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}}}};|{{#if:{{{text_color|}}}|color: {{{text_color}}}|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}}}


| title        = {{{name|{{PAGENAME}}}}}
| above      = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
| autoheaders = y
| autoheaders = y


| image       = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imageSize|}}}|sizedefault=300px|upright={{{imageUpright|1}}}|alt={{{imageAlt|}}}}}
| image       = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=300px|upright={{{image_upright|1}}}|alt={{{image_alt|}}}}}
| caption1 = {{{imageCaption|}}}
| caption1   = {{#if:{{{image_caption|}}}|{{{image_caption}}}|{{{imageCaption|}}}}}


| label1       = Real name
| label1     = Real name
| data1       = {{{realName|}}}
| data1       = {{#if:{{{real_name|}}}|{{{real_name}}}|{{{realName|}}}}}


| label2       = Aliases
| label2     = {{#if:{{{alias|}}}|Alias|Aliases}}
| data2       = {{{aliases|}}}
| data2       = {{#if:{{{alias|}}}|{{{alias}}}|{{{aliases|}}}}}


| label3       = Known for
| label3     = Known for
| data3       = {{{knownFor|}}}
| data3       = {{#if:{{{known_for|}}}|{{{known_for}}}|{{{knownFor|}}}}}


| label4       = Family
| label4     = Family members
| data4       = {{{family|}}}
| data4       = {{{family|}}}


| label5       = Affiliations
| label5     = Affiliations
| data5       = {{{affiliations|}}}
| data5       = {{{affiliations|}}}


| label6       = Friends
| label6     = Friends
| data6       = {{{friends|}}}
| data6       = {{{friends|}}}


| label7       = Enemies
| label7     = Enemies
| data7       = {{{enemies|}}}
| data7       = {{{enemies|}}}


| header8     = General information
| header8     = General information


| label9       = Age
| label9     = Age
| data9       = {{{age|}}}
| data9       = {{{age|}}}


| label10     = Sex
| label10     = Sex
| data10       = {{{sex|}}}
| data10     = {{{sex|}}}


| label11     = Gender
| label11     = Gender
| data11       = {{{gender|}}}
| data11     = {{{gender|}}}


| label12     = Sexual orientation
| label12     = Sexual orientation
| data12       = {{{sexualOrientation|}}}
| data12     = {{#if:{{{sexual_orientation|}}}|{{{sexual_orientation}}}|{{{sexualOrientation|}}}}}


| label13     = Race
| label13     = Race
| data13       = {{{race|}}}
| data13     = {{{race|}}}


| label14     = Religion
| label14     = Religion
| data14       = {{{religion|}}}
| data14     = {{{religion|}}}


| label15     = Country of origin
| label15     = Country of origin
| data15       = {{{nationality|}}}
| data15     = {{{origin|}}}


| label16     = City or country of residence
| label16     = Nationality
| data16       = {{{residence|}}}
| data16     = {{{nationality|}}}


| label17     = Marital status
| label17     = City or country of residence
| data17       = {{{marital|}}}
| data17     = {{{residence|}}}


| label18     = Significant other
| label18     = Marital status
| data18       = {{{significantOther|}}}
| data18     = {{{marital|}}}


| label19     = Occupation
| label19     = {{#if:{{{significant_other|}}}|Significant other|{{#if:{{{significantOther|}}}|Significant other|Significant others}}}}
| data19       = {{{occupation|}}}
| data19     = {{#if:{{{significant_other|}}}|{{{significant_other}}}|{{#if:{{{significantOther|}}}|{{{significantOther}}}|{{{significant_others|}}}}}}}


| label20     = Employer
| label20     = Occupation
| data20       = {{{employer|}}}
| data20     = {{{occupation|}}}


| label21     = Organization
| label21     = Employer
| data21       = {{{organization|}}}
| data21     = {{{employer|}}}


| label22     = Date of birth
| label22     = Organization
| data22       = {{{birthDate|}}}
| data22     = {{{organization|}}}


| label23     = Place of birth
| label23     = Date of birth
| data23       = {{{birthPlace|}}}
| data23     = {{#if:{{{birth_date|}}}|{{{birth_date}}}|{{{birthDate|}}}}}


| label24     = Date of death
| label24     = Place of birth
| data24       = {{{deathDate|}}}
| data24     = {{#if:{{{birth_place|}}}|{{{birth_place}}}|{{{birthPlace|}}}}}


| label25     = Place of death
| label25     = Date of death
| data25       = {{{deathPlace|}}}
| data25     = {{#if:{{{death_date|}}}|{{{death_date}}}|{{{deathDate|}}}}}


| header26     = Physical description
| label26    = Place of death
| data26     = {{#if:{{{death_place|}}}|{{{death_place}}}|{{{deathPlace|}}}}}


| label27      = Height
| header27    = Physical description
| data27      = {{{height|}}}


| label28     = Weight
| label28     = Height
| data28       = {{{weight|}}}
| data28     = {{{height|}}}


| label29     = Eye color
| label29     = Weight
| data29       = {{{eyes|}}}
| data29     = {{{weight|}}}


| header30     = Socials
| label30     = Eye color
| data30      = {{{eyes|}}}


| label31      = Webpage
| header31    = Socials
| data31      = {{{webpage|}}}


| label32      = Others
| label32     = Webpage
| data32      = {{{otherSocials|}}}
| data32     = {{{webpage|}}}
 
| label33    = Others
| data33      = {{#if:{{{other_socials|}}}|{{{other_socials}}}|{{{otherSocials|}}}}}
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 17:57, 26 November 2024

Infobox person