Template:Infobox person: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
-lime.owotwiki (talk | contribs)
m Fixed Socials group.
-lime.owotwiki (talk | contribs)
m Edit 'Text color' parameter description
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<infobox>
{{Infobox
<title source="name"/>
| bodystyle  = {{#if:{{{background_color|}}}|background-color: {{{background_color}}};|{{#if:{{{backgroundColor|}}}|background-color: {{{backgroundColor}}};|}}}}
<image source="image">
| 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}}};|}}}}}}
<caption source="imagecaption"/>
| 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}}};|}}}}}}
</image>
 
<group>
| above      = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
<data source="realName"><label>Real name</label></data>
| autoheaders = y
<data source="aliases"><label>Aliases</label></data>
 
<data source="relatives"><label>Relatives</label></data>
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=300px|upright={{{image_upright|1}}}|alt={{{image_alt|}}}}}
<data source="affiliation"><label>Affiliation</label></data>
| caption1    = {{#if:{{{image_caption|}}}|{{{image_caption}}}|{{{imageCaption|}}}}}
<data source="friends"><label>Friends</label></data>
 
<data source="enemies"><label>Enemies</label></data>
| label1      = Real name
</group>
| data1      = {{#if:{{{real_name|}}}|{{{real_name}}}|{{{realName|}}}}}
<group>
 
<header>General information</header>
| label2      = {{#if:{{{alias|}}}|Alias|Aliases}}
<data source="age"><label>Age</label></data>
| data2      = {{#if:{{{alias|}}}|{{{alias}}}|{{{aliases|}}}}}
<data source="sex"><label>Sex</label></data>
 
<data source="gender"><label>Gender</label></data>
| label3      = Known for
<data source="sexualOrientation"><label>Sexual orientation</label></data>
| data3      = {{#if:{{{known_for|}}}|{{{known_for}}}|{{{knownFor|}}}}}
<data source="race"><label>Race</label></data>
 
<data source="nationality"><label>Country of origin</label></data>
| label4      = Family members
<data source="residence"><label>City or country of residence</label></data>
| data4      = {{{family|}}}
<data source="marital"><label>Marital status</label></data>
 
<data source="birthDate"><label>Date of birth</label></data>
| label5      = Affiliations
<data source="birthPlace"><label>Place of birth</label></data>
| data5      = {{{affiliations|}}}
<data source="deathDate"><label>Date of death</label></data>
 
<data source="deathPlace"><label>Place of death</label></data>
| label6      = Friends
</group>
| data6      = {{{friends|}}}
<group>
 
<header>Physical description</header>
| label7      = Enemies
<data source="height"><label>Height</label></data>
| data7      = {{{enemies|}}}
<data source="weight"><label>Weight</label></data>
 
<data source="eyes"><label>Eye color</label></data>
| header8    = General information
</group>
 
<group>
| label9      = Age
<header>Socials</header>
| data9      = {{{age|}}}
<data source="webpage"><label>Webpage</label></data>
 
<data source="gdAcc"><label>Geometry Dash account</label></data>
| label10    = Sex
<data source="otherSocials"><label>Others</label></data>
| data10      = {{{sex|}}}
</group>
 
</infobox>
| label11    = Gender
<noinclude>
| data11      = {{{gender|}}}
 
| label12    = Sexual orientation
| data12      = {{#if:{{{sexual_orientation|}}}|{{{sexual_orientation}}}|{{{sexualOrientation|}}}}}
 
| label13    = Race
| data13      = {{{race|}}}
 
| label14    = Religion
| data14      = {{{religion|}}}
 
| label15    = Country of origin
| data15      = {{{origin|}}}
 
| label16    = Nationality
| data16      = {{{nationality|}}}
 
| label17    = City or country of residence
| data17      = {{{residence|}}}
 
| label18    = Marital status
| data18      = {{{marital|}}}
 
| label19    = {{#if:{{{significant_other|}}}|Significant other|{{#if:{{{significantOther|}}}|Significant other|Significant others}}}}
| data19      = {{#if:{{{significant_other|}}}|{{{significant_other}}}|{{#if:{{{significantOther|}}}|{{{significantOther}}}|{{{significant_others|}}}}}}}
 
| label20    = Occupation
| data20      = {{{occupation|}}}
 
| label21    = Employer
| data21      = {{{employer|}}}
 
| label22    = Organization
| data22      = {{{organization|}}}
 
| label23    = Date of birth
| data23      = {{#if:{{{birth_date|}}}|{{{birth_date}}}|{{{birthDate|}}}}}
 
| label24    = Place of birth
| data24      = {{#if:{{{birth_place|}}}|{{{birth_place}}}|{{{birthPlace|}}}}}
 
| label25    = Date of death
| data25      = {{#if:{{{death_date|}}}|{{{death_date}}}|{{{deathDate|}}}}}
 
| label26    = Place of death
| data26      = {{#if:{{{death_place|}}}|{{{death_place}}}|{{{deathPlace|}}}}}
 
| header27    = Physical description
 
| label28    = Height
| data28      = {{{height|}}}
 
| label29    = Weight
| data29      = {{{weight|}}}
 
| label30    = Eye color
| data30      = {{{eyes|}}}
 
| header31    = Socials
 
| label32    = Webpage
| data32      = {{{webpage|}}}
 
| label33    = Others
| data33      = {{#if:{{{other_socials|}}}|{{{other_socials}}}|{{{otherSocials|}}}}}
}}<noinclude>
{{Documentation}}
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"name": {
"background_color": {
"aliases": [
"backgroundColor"
],
"label": "Background color",
"description": "The background color of the infobox."
},
"color": {
"aliases": [
"aliases": [
"Display name",
"text_color",
"Name"
"textColor"
],
],
"label": "Username",
"label": "Text color",
"description": "Their Uvias account's display name.",
"description": "The text color of the infobox's headers. The body text is automatically determined from this."
"example": "lime.owot",
},
"type": "string",
"name": {
"required": true
"label": "Name"
},
},
"image": {
"image": {
"label": "Image",
"label": "Image",
"description": "A link to an image of their persona, if any",
"description": "The file name of the image attributed to the person. File: is not required."
"type": "url"
},
},
"imagecaption": {
"image_size": {
"label": "Image size",
"description": "in format {n}px"
},
"image_upright": {
"label": "Image (upright)"
},
"image_alt": {
"label": "Image alt text"
},
"image_caption": {
"aliases": [
"aliases": [
"Caption"
"imageCaption"
],
],
"label": "Image caption",
"label": "Image caption"
"description": "A caption of the image shown at the top of the infobox.",
"example": "User's persona, called namehere.",
"type": "string"
},
},
"realName": {
"real_name": {
"aliases": [
"realName"
],
"label": "Real name",
"label": "Real name",
"description": "Legal name. Please do not fill this in unless they have stated they are comfortable with this on their wiki page.",
"description": "Do not fill in unless the person listed is comfortable with this on their wiki page."
"example": "What \"Da\" Hell",
"type": "string"
},
},
"aliases": {
"alias": {
"label": "Aliases",
"aliases": [
"description": "Names they go by, other than their username.",
"aliases"
"example": "lime.person, LimeSlime888",
],
"type": "string"
"label": "Alias(es)",
"description": "Alias(es) the person goes by."
},
"known_for": {
"aliases": [
"knownFor"
],
"label": "Known for"
},
},
"relatives": {
"family": {
"description": "(Close) relatives of the user. Please do not fill this in unless they have stated they are comfortable with this on their wiki page.",
"label": "Family members"
"example": "Oh \"Mah\" Gawd, Hell Nah",
"type": "string"
},
},
"affiliation": {
"affiliations": {
"label": "Affiliation",
"label": "Affiliations"
"description": "On Wikipedia it's stated that it's for groups and teams the user belongs to, but most use it for friends and enemies the user has.",
"type": "string",
"deprecated": "Use Friends and Enemies instead."
},
},
"friends": {
"friends": {
"label": "Friends",
"label": "Friends"
"description": "People this user has a positive relationship with.",
"example": "user2 [close in real life], Name_less",
"type": "string",
"suggested": true
},
},
"enemies": {
"enemies": {
"label": "Enemies",
"label": "Enemies"
"description": "People that the user has a negative relationship with.",
"example": "antiuser, slashblockuseruser",
"type": "string",
"suggested": true
},
},
"age": {
"age": {
"label": "Age",
"label": "Age",
"description": "Years since this user was born. A range of possible ages or an age up to the year can be given. Please do not fill this in if they have stated they are 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."
"example": "14.7",
"type": "number"
},
},
"sex": {
"sex": {
"label": "Sex",
"label": "Sex"
"description": "The biological sex of the user.",
"example": "Female",
"type": "string"
},
},
"gender": {
"gender": {
"label": "Gender"
},
"sexual_orientation": {
"aliases": [
"aliases": [
"Gender identity"
"sexualOrientation"
],
],
"label": "Gender",
"label": "Sexual orientation"
"description": "If different to Sex, the gender identity of the user.",
"example": "Demigirl (transgender)",
"type": "string"
},
},
"sexualOrientation": {
"race": {
"label": "Sexual orientation",
"label": "Race"
"example": "Heterosexual (or use straight)",
"type": "string"
},
},
"race": {
"religion": {
"label": "Race",
"label": "Religion"
"example": "Japanese",
},
"type": "string"
"origin": {
"label": "Origin"
},
},
"nationality": {
"nationality": {
"aliases": [
"label": "Nationality"
"Nationality"
],
"label": "Country of origin",
"description": "Please do not fill this in if they have stated they are not comfortable with this on their wiki page.",
"example": "Russia",
"type": "string"
},
},
"residence": {
"residence": {
"label": "Residence",
"description": "Do not fill in unless the person is comfortable with this on their wiki page."
},
"marital": {
"label": "Marital status"
},
"significant_other": {
"aliases": [
"aliases": [
"Residence",
"significantOther",
"Abode"
"significantOthers",
"significant_others"
],
],
"label": "City or country of residence",
"label": "Significant other(s)"
"description": "Please do not fill this in unless they have stated they are comfortable with this on their wiki page.",
},
"example": "Bristol, England, United Kingdom",
"occupation": {
"type": "string"
"label": "Occupation"
},
},
"marital": {
"employer": {
"label": "Employer"
},
"organization": {
"label": "Organization"
},
"birth_date": {
"aliases": [
"aliases": [
"Married"
"birthDate"
],
],
"label": "Marital status",
"label": "Birth date",
"description": "Please do not fill this in unless they have stated they are comfortable with this on their wiki page.",
"description": "Do not fill in if the person is not comfortable with this on their wiki page."
"example": "Engaged with _someuser",
"type": "string"
},
},
"birthDate": {
"birth_place": {
"aliases": [
"aliases": [
"Birth date"
"birthPlace"
],
],
"label": "Date of birth",
"label": "Birth place",
"description": "Please do not fill this in if they have stated they are 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": "date"
},
},
"birthPlace": {
"death_date": {
"label": "Place of birth",
"description": "Please do not fill this in unless they have stated they are comfortable with this on their wiki page.",
"example": "Seattle, Washington, USA"
},
"deathDate": {
"aliases": [
"aliases": [
"Death date"
"deathDate"
],
],
"label": "Date of death",
"label": "Death date",
"description": "It would be wild if this were used and would be telling the truth.",
"description": "Will OWoT even last long enough for this field to be used?"
"example": "3rd September, 2075",
"type": "date"
},
},
"deathPlace": {
"death_place": {
"aliases": [
"aliases": [
"Death place"
"deathPlace"
],
],
"label": "Place of death",
"label": "Death place"
"example": "Moog City, Maxecraf, Mars",
"type": "string"
},
},
"height": {
"height": {
"aliases": [
"label": "Height"
"Vertical length"
],
"label": "Height",
"description": "Height standing upright with heels and toes touching a flat ground. Recommended unit: centimeters",
"example": "166 cm",
"type": "number"
},
},
"weight": {
"weight": {
"aliases": [
"label": "Weight"
"Mass"
],
"label": "Weight",
"description": "It's actually mass, by the way. Recommended unit: kilograms",
"example": "76 kg"
},
},
"eyes": {
"eyes": {
"aliases": [
"label": "Eye color"
"Eye colour"
],
"label": "Eye color",
"description": "A rough description of the eye color."
},
},
"webpage": {
"webpage": {
"aliases": [
"label": "Webpage"
"Web page",
"Website",
"Personal website"
],
"label": "Webpage",
"description": "The user's personal website.",
"example": "https://lime-textgrid.neocities.org",
"type": "url"
},
},
"gdAcc": {
"other_socials": {
"aliases": [
"aliases": [
"GD account",
"otherSocials"
"GD username"
],
],
"label": "Geometry Dash account",
"label": "Other socials"
"description": "The username of the user's Geometry Dash account.",
"example": "AndreiXYZ"
},
"otherSocials": {
"label": "Others",
"description": "Socials other than the ones captured by other parameters.",
"type": "string"
}
}
},
},
"description": "Infobox for OWoT users (Uvias accounts).",
"format": "block",
"paramOrder": [
"paramOrder": [
"background_color",
"color",
"name",
"name",
"image",
"image",
"imagecaption",
"image_size",
"realName",
"image_upright",
"aliases",
"image_alt",
"relatives",
"image_caption",
"affiliation",
"real_name",
"alias",
"known_for",
"family",
"affiliations",
"friends",
"friends",
"enemies",
"enemies",
Line 260: Line 297:
"sex",
"sex",
"gender",
"gender",
"sexualOrientation",
"sexual_orientation",
"race",
"race",
"religion",
"origin",
"nationality",
"nationality",
"residence",
"residence",
"marital",
"marital",
"birthDate",
"significant_other",
"birthPlace",
"occupation",
"deathDate",
"employer",
"deathPlace",
"organization",
"birth_date",
"birth_place",
"death_date",
"death_place",
"height",
"height",
"weight",
"weight",
"eyes",
"eyes",
"webpage",
"webpage",
"gdAcc",
"other_socials"
"otherSocials"
]
]
}
}
</templatedata>
</templatedata></noinclude>
</noinclude>

Latest revision as of 06:23, 9 April 2025

Infobox person

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Background colorbackground_color backgroundColor

The background color of the infobox.

Unknownoptional
Text colorcolor text_color textColor

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

Unknownoptional
Namename

no description

Unknownoptional
Imageimage

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

Unknownoptional
Image sizeimage_size

in format {n}px

Unknownoptional
Image (upright)image_upright

no description

Unknownoptional
Image alt textimage_alt

no description

Unknownoptional
Image captionimage_caption imageCaption

no description

Unknownoptional
Real namereal_name realName

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

Unknownoptional
Alias(es)alias aliases

Alias(es) the person goes by.

Unknownoptional
Known forknown_for knownFor

no description

Unknownoptional
Family membersfamily

no description

Unknownoptional
Affiliationsaffiliations

no description

Unknownoptional
Friendsfriends

no description

Unknownoptional
Enemiesenemies

no description

Unknownoptional
Ageage

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

Unknownoptional
Sexsex

no description

Unknownoptional
Gendergender

no description

Unknownoptional
Sexual orientationsexual_orientation sexualOrientation

no description

Unknownoptional
Racerace

no description

Unknownoptional
Religionreligion

no description

Unknownoptional
Originorigin

no description

Unknownoptional
Nationalitynationality

no description

Unknownoptional
Residenceresidence

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

Unknownoptional
Marital statusmarital

no description

Unknownoptional
Significant other(s)significant_other significantOther significantOthers significant_others

no description

Unknownoptional
Occupationoccupation

no description

Unknownoptional
Employeremployer

no description

Unknownoptional
Organizationorganization

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

Unknownoptional
Heightheight

no description

Unknownoptional
Weightweight

no description

Unknownoptional
Eye coloreyes

no description

Unknownoptional
Webpagewebpage

no description

Unknownoptional
Other socialsother_socials otherSocials

no description

Unknownoptional