Template:Infobox character: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(Rewrote infobox to use {{Infobox}}.)
(Decided to do this.)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| bodystyle   = background-color: {{{backgroundColor|}}};
| bodystyle   = {{#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:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}};|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}
| headerstyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}};|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}


| title        = {{{name|{{PAGENAME}}}}}
| above      = {{{name|{{PAGENAME}}}}}
| autoheaders = y
| autoheaders = y


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


| label1       = Real name
| label1     = Real name
| data1       = {{{realName|}}}
| data1       = {{{realName|}}}


| label2       = Aliases
| label2     = Aliases
| data2       = {{{aliases|}}}
| data2       = {{{aliases|}}}


| label3       = Known for
| label3     = Known for
| data3       = {{{knownFor|}}}
| data3       = {{{knownFor|}}}


| label4       = Family
| label4     = Family
| 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|}}}


| header1      = General information
| header8    = General information


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


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


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


| label11      = Sexual orientation
| label12    = Sexual orientation
| data11      = {{{sexualOrientation|}}}
| data12      = {{{sexualOrientation|}}}


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


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


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


| label15      = City or country of residence
| label16    = City or country of residence
| data15      = {{{residence|}}}
| data16      = {{{residence|}}}


| label16      = Marital status
| label17    = Marital status
| data16      = {{{marital|}}}
| data17      = {{{marital|}}}


| label17      = Significant other
| label18    = Significant other
| data17      = {{{significantOther|}}}
| data18      = {{{significantOther|}}}


| label18      = Occupation
| label19    = Occupation
| data18      = {{{occupation|}}}
| data19      = {{{occupation|}}}


| label19      = Employer
| label20    = Employer
| data19      = {{{employer|}}}
| data20      = {{{employer|}}}


| label20      = Organization
| label21    = Organization
| data20      = {{{organization|}}}
| data21      = {{{organization|}}}


| label21      = Date of birth
| label22    = Date of birth
| data21      = {{{birthDate|}}}
| data22      = {{{birthDate|}}}


| label22      = Place of birth
| label23    = Place of birth
| data22      = {{{birthPlace|}}}
| data23      = {{{birthPlace|}}}


| label23      = Date of death
| label24    = Date of death
| data23      = {{{deathDate|}}}
| data24      = {{{deathDate|}}}


| label24      = Place of death
| label25    = Place of death
| data24      = {{{deathPlace|}}}
| data25      = {{{deathPlace|}}}


| header2      = Physical description
| header26    = Physical description


| label25      = Height
| label27    = Height
| data25      = {{{height|}}}
| data27      = {{{height|}}}


| label26      = Weight
| label28    = Weight
| data26      = {{{weight|}}}
| data28      = {{{weight|}}}


| label27      = Eye color
| label29    = Eye color
| data27      = {{{eyes|}}}
| data29      = {{{eyes|}}}


| header3      = Socials
| header30    = Socials


| label28      = Webpage
| label31    = Webpage
| data28      = {{{webpage|}}}
| data31      = {{{webpage|}}}


| label29      = Others
| label32    = Others
| data29      = {{{otherSocials|}}}
| data32      = {{{otherSocials|}}}
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 11:07, 22 November 2024

Infobox character