Template:Infobox person: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
m (Fixed Socials group.)
m (Dat Hack3r moved page Template:Infobox character to Template:Infobox person: This is an infobox for people, not characters.)
 
(20 intermediate revisions by the same user 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|}}}
<templatedata>
 
{
| label12    = Sexual orientation
"params": {
| data12      = {{#if:{{{sexual_orientation|}}}|{{{sexual_orientation}}}|{{{sexualOrientation|}}}}}
"name": {
 
"aliases": [
| label13    = Race
"Display name",
| data13      = {{{race|}}}
"Name"
 
],
| label14    = Religion
"label": "Username",
| data14      = {{{religion|}}}
"description": "Their Uvias account's display name.",
 
"example": "lime.owot",
| label15    = Country of origin
"type": "string",
| data15      = {{{origin|}}}
"required": true
 
},
| label16    = Nationality
"image": {
| data16      = {{{nationality|}}}
"label": "Image",
 
"description": "A link to an image of their persona, if any",
| label17    = City or country of residence
"type": "url"
| data17      = {{{residence|}}}
},
 
"imagecaption": {
| label18    = Marital status
"aliases": [
| data18      = {{{marital|}}}
"Caption"
 
],
| label19    = {{#if:{{{significant_other|}}}|Significant other|{{#if:{{{significantOther|}}}|Significant other|Significant others}}}}
"label": "Image caption",
| data19      = {{#if:{{{significant_other|}}}|{{{significant_other}}}|{{#if:{{{significantOther|}}}|{{{significantOther}}}|{{{significant_others|}}}}}}}
"description": "A caption of the image shown at the top of the infobox.",
 
"example": "User's persona, called namehere.",
| label20    = Occupation
"type": "string"
| data20      = {{{occupation|}}}
},
 
"realName": {
| label21    = Employer
"label": "Real name",
| data21      = {{{employer|}}}
"description": "Legal name. Please do not fill this in unless they have stated they are comfortable with this on their wiki page.",
 
"example": "What \"Da\" Hell",
| label22    = Organization
"type": "string"
| data22      = {{{organization|}}}
},
 
"aliases": {
| label23    = Date of birth
"label": "Aliases",
| data23      = {{#if:{{{birth_date|}}}|{{{birth_date}}}|{{{birthDate|}}}}}
"description": "Names they go by, other than their username.",
 
"example": "lime.person, LimeSlime888",
| label24    = Place of birth
"type": "string"
| data24      = {{#if:{{{birth_place|}}}|{{{birth_place}}}|{{{birthPlace|}}}}}
},
 
"relatives": {
| label25    = Date of death
"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.",
| data25      = {{#if:{{{death_date|}}}|{{{death_date}}}|{{{deathDate|}}}}}
"example": "Oh \"Mah\" Gawd, Hell Nah",
 
"type": "string"
| label26    = Place of death
},
| data26      = {{#if:{{{death_place|}}}|{{{death_place}}}|{{{deathPlace|}}}}}
"affiliation": {
 
"label": "Affiliation",
| header27    = Physical description
"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",
| label28    = Height
"deprecated": "Use Friends and Enemies instead."
| data28      = {{{height|}}}
},
 
"friends": {
| label29    = Weight
"label": "Friends",
| data29      = {{{weight|}}}
"description": "People this user has a positive relationship with.",
 
"example": "user2 [close in real life], Name_less",
| label30    = Eye color
"type": "string",
| data30      = {{{eyes|}}}
"suggested": true
 
},
| header31    = Socials
"enemies": {
 
"label": "Enemies",
| label32    = Webpage
"description": "People that the user has a negative relationship with.",
| data32      = {{{webpage|}}}
"example": "antiuser, slashblockuseruser",
 
"type": "string",
| label33    = Others
"suggested": true
| data33      = {{#if:{{{other_socials|}}}|{{{other_socials}}}|{{{otherSocials|}}}}}
},
}}<noinclude>
"age": {
{{Documentation}}
"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.",
"example": "14.7",
"type": "number"
},
"sex": {
"label": "Sex",
"description": "The biological sex of the user.",
"example": "Female",
"type": "string"
},
"gender": {
"aliases": [
"Gender identity"
],
"label": "Gender",
"description": "If different to Sex, the gender identity of the user.",
"example": "Demigirl (transgender)",
"type": "string"
},
"sexualOrientation": {
"label": "Sexual orientation",
"example": "Heterosexual (or use straight)",
"type": "string"
},
"race": {
"label": "Race",
"example": "Japanese",
"type": "string"
},
"nationality": {
"aliases": [
"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": {
"aliases": [
"Residence",
"Abode"
],
"label": "City or country of residence",
"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",
"type": "string"
},
"marital": {
"aliases": [
"Married"
],
"label": "Marital status",
"description": "Please do not fill this in unless they have stated they are comfortable with this on their wiki page.",
"example": "Engaged with _someuser",
"type": "string"
},
"birthDate": {
"aliases": [
"Birth date"
],
"label": "Date of birth",
"description": "Please do not fill this in if they have stated they are not comfortable with this on their wiki page.",
"type": "date"
},
"birthPlace": {
"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": [
"Death date"
],
"label": "Date of death",
"description": "It would be wild if this were used and would be telling the truth.",
"example": "3rd September, 2075",
"type": "date"
},
"deathPlace": {
"aliases": [
"Death place"
],
"label": "Place of death",
"example": "Moog City, Maxecraf, Mars",
"type": "string"
},
"height": {
"aliases": [
"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": {
"aliases": [
"Mass"
],
"label": "Weight",
"description": "It's actually mass, by the way. Recommended unit: kilograms",
"example": "76 kg"
},
"eyes": {
"aliases": [
"Eye colour"
],
"label": "Eye color",
"description": "A rough description of the eye color."
},
"webpage": {
"aliases": [
"Web page",
"Website",
"Personal website"
],
"label": "Webpage",
"description": "The user's personal website.",
"example": "https://lime-textgrid.neocities.org",
"type": "url"
},
"gdAcc": {
"aliases": [
"GD account",
"GD username"
],
"label": "Geometry Dash account",
"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": [
"name",
"image",
"imagecaption",
"realName",
"aliases",
"relatives",
"affiliation",
"friends",
"enemies",
"age",
"sex",
"gender",
"sexualOrientation",
"race",
"nationality",
"residence",
"marital",
"birthDate",
"birthPlace",
"deathDate",
"deathPlace",
"height",
"weight",
"eyes",
"webpage",
"gdAcc",
"otherSocials"
]
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 17:57, 26 November 2024

Infobox person