Template:Infobox person: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
-lime.owotwiki (talk | contribs)
m Edit 'Text color' parameter description
-lime.owotwiki (talk | contribs)
Revamped to make the parameters more specific to OWoT and remove unnecessary personal info.
Line 1: Line 1:
{{Infobox
{{Infobox
| above      = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
  | bodystyle  = {{#if:{{{background_color|}}}|background-color: {{{background_color}}};|{{#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:{{{text_color|}}}|{{{text_color}}}|{{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}}}};|{{#if:{{{text_color|}}}|color: {{{text_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:{{{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}}};|}}}}}}
| above      = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
  | autoheaders = y
  | autoheaders = y


Line 10: Line 9:
  | caption1    = {{#if:{{{image_caption|}}}|{{{image_caption}}}|{{{imageCaption|}}}}}
  | caption1    = {{#if:{{{image_caption|}}}|{{{image_caption}}}|{{{imageCaption|}}}}}


  | label1     = Real name
  | label2     = Aliases
  | data1       = {{#if:{{{real_name|}}}|{{{real_name}}}|{{{realName|}}}}}
  | data2       = {{#if:{{{alias}}}|{{{alias}}}|{{{aliases}}}}}


  | label2     = {{#if:{{{alias|}}}|Alias|Aliases}}
  | label3     = Age
  | data2       = {{#if:{{{alias|}}}|{{{alias}}}|{{{aliases|}}}}}
  | data3       = {{{age}}}


  | label3     = Known for
  | label4     = Gender
  | data3       = {{#if:{{{known_for|}}}|{{{known_for}}}|{{{knownFor|}}}}}
  | data4       = {{{gender}}}


  | label4     = Family members
  | label5     = Text colors
  | data4       = {{{family|}}}
  | data5       = {{#if:{{{canvas_color}}}|{{{canvas_color}}}|{{{canvasColor}}}}}


  | label5     = Affiliations
  | label6     = Chat colors
  | data5       = {{{affiliations|}}}
  | data6       = {{#if:{{{chat_color}}}|{{{chat_color}}}|{{{chatColor|}}}}}


  | label6     = Friends
  | label7     = Notable actions/creations
  | data6       = {{{friends|}}}
  | data7       = {{#if:{{{known_for}}}|{{{known_for}}}|{{{knownFor}}}}}


  | label7     = Enemies
  | label8     = Noteable worlds
  | data7       = {{{enemies|}}}
  | data8       = {{{worlds}}}


  | header8    = General information
  | label9      = Active at
| data9      = {{{active}}}


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


  | label10     = Sex
  | label11     = Website moderation rank
  | data10     = {{{sex|}}}
  | data11     = {{#if:{{{mod_rank}}}|{{{mod_rank}}}|{{{modRank}}}}}


  | label11     = Gender
  | label12     = Discord roles
  | data11     = {{{gender|}}}
  | data12     = {{#if:{{{discord_roles}}}|{{{discord_roles}}}|{{{discordRoles}}}}}


  | label12     = Sexual orientation
  | label13     = Roles
  | data12     = {{#if:{{{sexual_orientation|}}}|{{{sexual_orientation}}}|{{{sexualOrientation|}}}}}
  | data13     = {{{roles}}}


  | label13     = Race
  | label14     = Affiliations
  | data13     = {{{race|}}}
  | data14     = {{{affiliations}}}


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


  | label15     = Country of origin
  | label16     = Webpage
  | data15     = {{{origin|}}}
  | data16     = {{{webpage}}}


  | label16     = Nationality
  | label17     = Others
  | data16     = {{{nationality|}}}
  | data17     = {{#if:{{{other_socials}}}|{{{other_socials}}}|{{{otherSocials}}}}}


  | label17    = City or country of residence
  | header18    = Other general information
| data17      = {{{residence|}}}


  | label18     = Marital status
  | label19     = Sexual orientation
  | data18     = {{{marital|}}}
  | data19     = {{#if:{{{sexual_orientation}}}|{{{sexual_orientation}}}|{{{sexualOrientation}}}}}


  | label19     = {{#if:{{{significant_other|}}}|Significant other|{{#if:{{{significantOther|}}}|Significant other|Significant others}}}}
  | label20     = Race
  | data19     = {{#if:{{{significant_other|}}}|{{{significant_other}}}|{{#if:{{{significantOther|}}}|{{{significantOther}}}|{{{significant_others|}}}}}}}
  | data20     = {{{race}}}


  | label20     = Occupation
  | label21     = Residence
  | data20     = {{{occupation|}}}
  | data21     = {{{residence}}}


| label21    = Employer
  | label22    = Religion
| data21      = {{{employer|}}}
  | data22      = {{{religion}}}
 
  | label22    = Organization
  | data22      = {{{organization|}}}


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


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


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


  | label26    = Place of death
  | label26    = Place of death
  | data26      = {{#if:{{{death_place|}}}|{{{death_place}}}|{{{deathPlace|}}}}}
  | data26      = {{#if:{{{death_place}}}|{{{death_place}}}|{{{deathPlace}}}}}
 
| header27    = In real life


  | header27    = Physical description
  | label28    = Real name
| data28      = {{#if:{{{real_name}}}|{{{real_name}}}|{{{realName}}}}}


  | label28     = Height
  | label29     = Occupation
  | data28     = {{{height|}}}
  | data29     = {{{occupation}}}


  | label29     = Weight
  | label30     = Marital status
  | data29     = {{{weight|}}}
  | data30     = {{{marital}}}


  | label30     = Eye color
  | label31     = {{#if:{{{significant_other}}}|Significant other|{{#if:{{{significantOther}}}|Significant other|Significant others}}}}
  | data30     = {{{eyes|}}}
  | data31     = {{#if:{{{significant_other}}}|{{{significant_other}}}|{{#if:{{{significantOther}}}|{{{significantOther}}}|{{{significant_others}}}}}}}


  | header31    = Socials
  | label32    = Height
| data32      = {{{height}}}


  | label32     = Webpage
  | label33     = Weight
  | data32     = {{{webpage|}}}
  | data33     = {{{weight}}}


  | label33     = Others
  | label34     = Eye color
  | data33     = {{#if:{{{other_socials|}}}|{{{other_socials}}}|{{{otherSocials|}}}}}
  | data34     = {{{eyes}}}
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
Line 115: Line 113:
],
],
"label": "Background color",
"label": "Background color",
"description": "The background color of the infobox."
"description": "The background color of the infobox.",
"type": "string"
},
},
"color": {
"color": {
Line 123: Line 122:
],
],
"label": "Text color",
"label": "Text color",
"description": "The text color of the infobox's headers. The body text is automatically determined from this."
"description": "The text color of the infobox's headers. The body text is automatically determined from this.",
"type": "string"
},
},
"name": {
"name": {
"label": "Name"
"label": "Name",
"type": "string"
},
},
"image": {
"image": {
"label": "Image",
"label": "Image",
"description": "The file name of the image attributed to the person. File: is not required."
"description": "The file name of the image attributed to the person. File: is not required.",
"type": "wiki-file-name"
},
},
"image_size": {
"image_size": {
"label": "Image size",
"label": "Image size",
"description": "in format {n}px"
"description": "in pixels",
"type": "number"
},
},
"image_upright": {
"image_upright": {
"label": "Image (upright)"
"label": "Image (upright)",
"type": "wiki-file-name"
},
},
"image_alt": {
"image_alt": {
"label": "Image alt text"
"label": "Image alt text",
"type": "string"
},
},
"image_caption": {
"image_caption": {
Line 146: Line 151:
"imageCaption"
"imageCaption"
],
],
"label": "Image caption"
"label": "Image caption",
"type": "string"
},
},
"real_name": {
"real_name": {
Line 160: Line 166:
],
],
"label": "Alias(es)",
"label": "Alias(es)",
"description": "Alias(es) the person goes by."
"description": "Alias(es) the person goes by.",
"type": "string"
},
},
"known_for": {
"known_for": {
Line 166: Line 173:
"knownFor"
"knownFor"
],
],
"label": "Known for"
"label": "Notable actions/creations",
},
"example": "OWoT User Indicator 2, {{Owoturl|impossibleway|/impossibleway}}",
"family": {
"type": "string",
"label": "Family members"
"description": "Put OWoT-related creations at the start of the list."
},
},
"affiliations": {
"affiliations": {
"label": "Affiliations"
"label": "Affiliations",
},
"description": "Affiliated users, like friends, and enemies. Significant others are covered below.",
"friends": {
"example": "* [[lime.owot]] (friend)",
"label": "Friends"
"type": "string"
},
"enemies": {
"label": "Enemies"
},
},
"age": {
"age": {
"label": "Age",
"label": "Age",
"description": "Do not fill in if the person is not comfortable with this on their wiki page."
"description": "Do not fill in if the person is not comfortable with this on their wiki page.",
},
"type": "number"
"sex": {
"label": "Sex"
},
},
"gender": {
"gender": {
"label": "Gender"
"label": "Gender",
"description": "Do not fill in or update if the person is not comfortable with this.",
"type": "string"
},
},
"sexual_orientation": {
"sexual_orientation": {
Line 194: Line 198:
"sexualOrientation"
"sexualOrientation"
],
],
"label": "Sexual orientation"
"label": "Sexual orientation",
"description": "Do not fill in or update if the person is not comfortable with this.",
"example": "Pansexual",
"type": "string"
},
},
"race": {
"race": {
"label": "Race"
"label": "Race",
"example": "Black",
"type": "string"
},
},
"religion": {
"religion": {
"label": "Religion"
"label": "Religion",
"example": "Sikh",
"type": "string"
},
},
"origin": {
"origin": {
"label": "Origin"
"label": "Origin",
"description": "Parents' nationality.",
"type": "string"
},
},
"nationality": {
"nationality": {
"label": "Nationality"
"label": "Nationality",
"example": "Swedish",
"type": "string"
},
},
"residence": {
"residence": {
"label": "Residence",
"label": "Residence",
"description": "Do not fill in unless the person is comfortable with this on their wiki page."
"description": "Do not fill in unless the person is comfortable with this on their wiki page.",
"example": "Bristol, England",
"type": "string"
},
},
"marital": {
"marital": {
"label": "Marital status"
"label": "Marital status",
"type": "string",
"suggestedvalues": [
"Unmarried",
"Engaged",
"Married"
]
},
},
"significant_other": {
"significant_other": {
Line 225: Line 248:
"occupation": {
"occupation": {
"label": "Occupation"
"label": "Occupation"
},
"employer": {
"label": "Employer"
},
"organization": {
"label": "Organization"
},
},
"birth_date": {
"birth_date": {
Line 257: Line 274:
"deathPlace"
"deathPlace"
],
],
"label": "Death place"
"label": "Death place",
"type": "string"
},
},
"height": {
"height": {
Line 275: Line 293:
"otherSocials"
"otherSocials"
],
],
"label": "Other socials"
"label": "Other socials",
"type": "string"
},
"mod_rank": {
"aliases": [
"modRank"
],
"label": "Moderation rank",
"description": "Moderation rank on the website.",
"type": "string",
"suggestedvalues": [
"Member",
"OP"
]
},
"roles": {
"label": "Roles",
"example": "including but not limited to: artist, scripter, contributor, moderator",
"type": "string"
},
"active": {
"label": "Active at",
"description": "Places the person is active at. Put anywhere on OWoT at the start of the list, followed by the OWoT Discord, followed by anywhere else.",
"example": "Front page, Global chat (until 26th May 2025)",
"type": "string",
"suggested": true
},
"discord_roles": {
"aliases": [
"discordRoles"
],
"label": "Discord roles",
"description": "Roles on the Discord server, excluding color roles.",
"suggestedvalues": [
"Admin",
"Booster",
"Scripter",
"Contributor",
"Artist",
"dunce",
"Nancy Boy"
],
"type": "string"
},
"canvas_color": {
"aliases": [
"canvasColor"
],
"label": "Canvas color",
"description": "The colors used by the person on the canvas.",
"example": "#54e58b, #8eb29c, #8b3",
"type": "string"
},
"chatColor": {
"aliases": [
"chat_color"
],
"label": "Chat color",
"description": "The colors used by the user in the chat feature of OWoT.",
"example": "#00d900, #d927d9, #d9d900, #d90000",
"type": "string"
},
"worlds": {
"label": "Notable worlds",
"example": "{{Owoturl|lime.owot|/lime.owot}}, {{Owoturl|lime.owot/city|/lime.owot/city}}...",
"type": "string"
}
}
},
},
"paramOrder": [
"paramOrder": [
"name",
"background_color",
"background_color",
"color",
"color",
"name",
"image",
"image",
"image_size",
"image_size",
Line 287: Line 370:
"image_alt",
"image_alt",
"image_caption",
"image_caption",
"real_name",
"alias",
"alias",
"gender",
"age",
"canvas_color",
"chatColor",
"known_for",
"known_for",
"family",
"worlds",
"active",
"mod_rank",
"discord_roles",
"roles",
"affiliations",
"affiliations",
"friends",
"webpage",
"enemies",
"other_socials",
"age",
"sex",
"gender",
"sexual_orientation",
"sexual_orientation",
"race",
"race",
Line 305: Line 392:
"marital",
"marital",
"significant_other",
"significant_other",
"occupation",
"employer",
"organization",
"birth_date",
"birth_date",
"birth_place",
"birth_place",
"death_date",
"death_date",
"death_place",
"death_place",
"real_name",
"occupation",
"height",
"height",
"weight",
"weight",
"eyes",
"eyes"
"webpage",
],
"other_socials"
"format": "block"
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 05:45, 28 May 2025

Infobox person
Aliases{{{alias}}}
Age{{{age}}}
Gender{{{gender}}}
Text colors{{{canvas_color}}}
Chat colors{{{chat_color}}}
Notable actions/creations{{{known_for}}}
Noteable worlds{{{worlds}}}
Active at{{{active}}}
Community
Website moderation rank{{{mod_rank}}}
Discord roles{{{discord_roles}}}
Roles{{{roles}}}
Affiliations{{{affiliations}}}
Socials
Webpage{{{webpage}}}
Others{{{other_socials}}}
Other general information
Sexual orientation{{{sexual_orientation}}}
Race{{{race}}}
Residence{{{residence}}}
Religion{{{religion}}}
Date of birth{{{birth_date}}}
Place of birth{{{birth_place}}}
Date of death{{{death_date}}}
Place of death{{{death_place}}}
In real life
Real name{{{real_name}}}
Occupation{{{occupation}}}
Marital status{{{marital}}}
Significant other{{{significant_other}}}
Height{{{height}}}
Weight{{{weight}}}
Eye color{{{eyes}}}

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Stringoptional
Background colorbackground_color backgroundColor

The background color of the infobox.

Stringoptional
Text colorcolor text_color textColor

The text color of the infobox's headers. The body text is automatically determined from this.

Stringoptional
Imageimage

The file name of the image attributed to the person. File: is not required.

Fileoptional
Image sizeimage_size

in pixels

Numberoptional
Image (upright)image_upright

no description

Fileoptional
Image alt textimage_alt

no description

Stringoptional
Image captionimage_caption imageCaption

no description

Stringoptional
Alias(es)alias aliases

Alias(es) the person goes by.

Stringoptional
Gendergender

Do not fill in or update if the person is not comfortable with this.

Stringoptional
Ageage

Do not fill in if the person is not comfortable with this on their wiki page.

Numberoptional
Canvas colorcanvas_color canvasColor

The colors used by the person on the canvas.

Example
#54e58b, #8eb29c, #8b3
Stringoptional
Chat colorchatColor chat_color

The colors used by the user in the chat feature of OWoT.

Example
#00d900, #d927d9, #d9d900, #d90000
Stringoptional
Notable actions/creationsknown_for knownFor

Put OWoT-related creations at the start of the list.

Example
OWoT User Indicator 2, {{Owoturl|impossibleway|/impossibleway}}
Stringoptional
Notable worldsworlds

no description

Example
{{Owoturl|lime.owot|/lime.owot}}, {{Owoturl|lime.owot/city|/lime.owot/city}}...
Stringoptional
Active atactive

Places the person is active at. Put anywhere on OWoT at the start of the list, followed by the OWoT Discord, followed by anywhere else.

Example
Front page, Global chat (until 26th May 2025)
Stringsuggested
Moderation rankmod_rank modRank

Moderation rank on the website.

Suggested values
Member OP
Stringoptional
Discord rolesdiscord_roles discordRoles

Roles on the Discord server, excluding color roles.

Suggested values
Admin Booster Scripter Contributor Artist dunce Nancy Boy
Stringoptional
Rolesroles

no description

Example
including but not limited to: artist, scripter, contributor, moderator
Stringoptional
Affiliationsaffiliations

Affiliated users, like friends, and enemies. Significant others are covered below.

Example
* [[lime.owot]] (friend)
Stringoptional
Webpagewebpage

no description

Unknownoptional
Other socialsother_socials otherSocials

no description

Stringoptional
Sexual orientationsexual_orientation sexualOrientation

Do not fill in or update if the person is not comfortable with this.

Example
Pansexual
Stringoptional
Racerace

no description

Example
Black
Stringoptional
Religionreligion

no description

Example
Sikh
Stringoptional
Originorigin

Parents' nationality.

Stringoptional
Nationalitynationality

no description

Example
Swedish
Stringoptional
Residenceresidence

Do not fill in unless the person is comfortable with this on their wiki page.

Example
Bristol, England
Stringoptional
Marital statusmarital

no description

Suggested values
Unmarried Engaged Married
Stringoptional
Significant other(s)significant_other significantOther significantOthers significant_others

no description

Unknownoptional
Birth datebirth_date birthDate

Do not fill in if the person is not comfortable with this on their wiki page.

Unknownoptional
Birth placebirth_place birthPlace

Do not fill in if the person is not comfortable with this on their wiki page.

Unknownoptional
Death datedeath_date deathDate

Will OWoT even last long enough for this field to be used?

Unknownoptional
Death placedeath_place deathPlace

no description

Stringoptional
Real namereal_name realName

Do not fill in unless the person listed is comfortable with this on their wiki page.

Unknownoptional
Occupationoccupation

no description

Unknownoptional
Heightheight

no description

Unknownoptional
Weightweight

no description

Unknownoptional
Eye coloreyes

no description

Unknownoptional