Template:Infobox person: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(Added "origin" field, singular form of "aliases" field, and plural form of "significantOther" field.)
m (Dat Hack3r moved page Template:Infobox character to Template:Infobox person: This is an infobox for people, not characters.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
  | bodystyle  = {{#if:{{{backgroundColor|}}}|background-color: {{{backgroundColor}}};|}}
  | bodystyle  = {{#if:{{{background_color|}}}|background-color: {{{background_color}}};|{{#if:{{{backgroundColor|}}}|background-color: {{{backgroundColor}}};|}}}}
  | abovestyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}};|{{#if:{{{textColor|}}}|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:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{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}}};|}}}}}}


  | above      = {{#if:{{{name|}}}|{{{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      = {{#if:{{{alias|}}}|Alias|Aliases}}
  | label2      = {{#if:{{{alias|}}}|Alias|Aliases}}
Line 17: Line 17:


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


  | label4      = Family members
  | label4      = Family members
Line 43: Line 43:


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


  | label13    = Race
  | label13    = Race
Line 63: Line 63:
  | data18      = {{{marital|}}}
  | data18      = {{{marital|}}}


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


  | label20    = Occupation
  | label20    = Occupation
Line 76: Line 76:


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


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


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


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


  | header27    = Physical description
  | header27    = Physical description
Line 104: Line 104:


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

Latest revision as of 17:57, 26 November 2024

Infobox person