Template:Infobox person: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
Dat Hack3r (talk | contribs)
Added "origin" field, singular form of "aliases" field, and plural form of "significantOther" field.
Dat Hack3r (talk | contribs)
Switching from camel case to snake case for parameter names to avoid capitalization issues and maintain consistency with {{Infobox website}}.
Line 7: Line 7:
  | 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>

Revision as of 21:52, 25 November 2024

Infobox person