Jump to content

Template:Infobox person: Difference between revisions

-lime.owotwiki (talk | contribs)
Added TemplateData and parameters "Friends" and "Enemies".
Katiserie (talk | contribs)
m socials
 
(36 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<infobox>
{{Infobox
<title source="name"/>
| above      = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
<image source="image">
| bodystyle  = {{#if:{{{background_color|}}}|background-color: {{{background_color}}};|{{#if:{{{backgroundColor|}}}|background-color: {{{backgroundColor}}};|}}}}
<caption source="imagecaption"/>
| 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}}};|}}}}}}
</image>
| 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}}};|}}}}}}{{#if:{{{text_color|}}}{{{textColor|}}}{{{color}}}|[[Category:Pages using Infobox person with custom colors]]}}
<group>
| autoheaders = y
<data source="realName"><label>Real name</label></data>
 
<data source="aliases"><label>Aliases</label></data>
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=300px|upright={{{image_upright|1}}}|alt={{{image_alt|}}}}}
<data source="relatives"><label>Relatives</label></data>
| caption1    = {{#if:{{{image_caption|}}}|{{{image_caption|}}}|{{{imageCaption|}}}}}
<data source="affiliation"><label>Affiliation</label></data>
 
<data source="friends"><label>Friends</label></data>
| label2      = Joined
<data source="enemies"><label>Enemies</label></data>
| data2      = {{{joined|}}}
</group>
 
<group>
| label5    = Origin
<header>General information</header>
| data5    = {{{origin|}}}
<data source="age"><label>Age</label></data>
 
<data source="sex"><label>Sex</label></data>
| label10    = Aliases
<data source="gender"><label>Gender</label></data>
| data10      = {{#if:{{{alias|}}}|{{{alias|}}}|{{{aliases|}}}}}
<data source="sexualOrientation"><label>Sexual orientation</label></data>
 
<data source="race"><label>Race</label></data>
| label20    = Age
<data source="nationality"><label>Country of origin</label></data>
| data20      = {{{age|}}}
<data source="residence"><label>City or country of residence</label></data>
 
<data source="marital"><label>Marital status</label></data>
| label30    = Gender
<data source="birthDate"><label>Date of birth</label></data>
| data30      = {{{gender|}}}
<data source="birthPlace"><label>Place of birth</label></data>
 
<data source="deathDate"><label>Date of death</label></data>
| label40    = Text colors
<data source="deathPlace"><label>Place of death</label></data>
| data40      = {{#if:{{{canvas_color|}}}|{{{canvas_color|}}}|{{{canvasColor|}}}}}
</group>
 
<group>
| label50    = Chat colors
<header>Physical description</header>
| data50      = {{#if:{{{chat_color|}}}|{{{chat_color|}}}|{{{chatColor|}}}}}
<data source="height"><label>Height</label></data>
 
<data source="weight"><label>Weight</label></data>
| label60    = Notable actions/creations
<data source="eyes"><label>Eye color</label></data>
| data60      = {{#if:{{{known_for|}}}|{{{known_for|}}}|{{{knownFor|}}}}}
</group>
 
<group>
| label70    = Notable worlds
<header>Socials</header>
| data70      = {{{worlds|}}}
<data source="webpage"><label>Webpage</label>
 
<data source="gdAcc"><label>Geometry Dash account</label>
| label80    = Active at
<data source="otherSocials"><label>Others</label>
| data80      = {{{active|}}}
</group>
 
</infobox>
| label81    = Dates active
<noinclude>
| data81      = {{{active_date|}}}
 
| label90    = Times active
| data90      = {{{active_time|}}}
 
| header100  = Community
 
| label110    = Website moderation rank
| data110    = {{#if:{{{mod_rank|}}}|{{{mod_rank|}}}|{{{modRank|}}}}}
 
| label120    = Discord roles
| data120    = {{#if:{{{discord_roles|}}}|{{{discord_roles|}}}|{{{discordRoles|}}}}}
 
| label130    = Roles
| data130    = {{{roles|}}}
 
| label140    = Affiliations
| data140    = {{{affiliations|}}}
 
| header150  = Socials
 
| label160    = Webpage
| data160    = {{{webpage|}}}
 
| label161    = TikTok
| data161    = {{{tiktok|}}}
| label162    = Discord
| data162    = {{{discord|}}}
 
| label163    = YouTube
| data163    = {{{youtube|}}}
 
| label164    = Instagram
| data164    = {{{instagram|}}}
 
| label165    = Twitter/X
| data165    = {{{twitter|}}}
 
| label170    = Others
| data170    = {{#if:{{{other_socials|}}}|{{{other_socials}}}|{{{otherSocials|}}}}}
 
| header180  = Other general information
 
| label200    = Race
| data200    = {{{race|}}}
 
| label210    = Residence
| data210    = {{{residence|}}}
 
| label211    = Nationality
| data211    = {{{nationality|}}}
 
| label220    = Religion
| data220    = {{{religion|}}}
 
| label230    = Date of birth
| data230    = {{#if:{{{birth_date|}}}|{{{birth_date|}}}|{{{birthDate|}}}}}
 
| label240    = Place of birth
| data240    = {{#if:{{{birth_place|}}}|{{{birth_place|}}}|{{{birthPlace|}}}}}
 
| label250    = Date of death
| data250    = {{#if:{{{death_date|}}}|{{{death_date|}}}|{{{deathDate|}}}}}
 
| label260    = Place of death
| data260    = {{#if:{{{death_place|}}}|{{{death_place|}}}|{{{deathPlace|}}}}}
 
| label270    = Real name
| data270    = {{#if:{{{real_name|}}}|{{{real_name|}}}|{{{realName|}}}}}
 
| label280    = Occupation
| data280    = {{{occupation|}}}
 
| label290    = Marital status
| data290    = {{{marital|}}}
 
| label300    = {{#if:{{{significant_other|}}}|Significant other|{{#if:{{{significantOther|}}}|Significant other|Significant others}}}}
| data300    = {{#if:{{{significant_other|}}}|{{{significant_other|}}}|{{#if:{{{significantOther|}}}|{{{significantOther|}}}|{{{significant_others|}}}}}}}
 
| label310    = Height
| data310    = {{{height|}}}
 
| label320    = Weight
| data320    = {{{weight|}}}
 
| label330    = Eye color
| data330    = {{{eyes|}}}
}}<noinclude>
{{Documentation}}
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"name": {
"background_color": {
"aliases": [
"backgroundColor"
],
"label": "Background color",
"description": "The background color of the infobox.",
"type": "string"
},
"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"
"type": "string",
},
"required": true
"name": {
"label": "Name",
"type": "string"
},
},
"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"
"type": "wiki-file-name",
"suggested": true
},
"image_size": {
"label": "Image size",
"description": "in pixels",
"type": "number"
},
"image_upright": {
"label": "Image (upright)",
"type": "wiki-file-name"
},
"image_alt": {
"label": "Image alt text",
"type": "string"
},
},
"imagecaption": {
"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"
"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": "ꜝꜝ Remember, this isn't the Lemuria Wiki, so privacy actually matters here."
"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",
],
"label": "Alias(es)",
"description": "Alias(es) the person goes by.",
"type": "string"
"type": "string"
},
},
"relatives": {
"known_for": {
"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.",
"aliases": [
"example": "Oh \"Mah\" Gawd, Hell Nah",
"knownFor"
"type": "string"
],
},
"label": "Notable actions/creations",
"affiliation": {
"example": "OWoT User Indicator 2, {{Owoturl|impossibleway|/impossibleway}}",
"label": "Affiliation",
"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",
"type": "string",
"deprecated": "Use Friends and Enemies instead."
"description": "Put OWoT-related creations at the start of the list."
},
},
"friends": {
"affiliations": {
"label": "Friends",
"label": "Affiliations",
"description": "People this user has a positive relationship with.",
"description": "Affiliated users, like friends, and enemies. Significant others are covered below.",
"example": "user2 [close in real life], Name_less",
"example": "* [[lime.owot]] (friend)",
"type": "string",
"type": "string"
"suggested": true
},
"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": "",
"example": "14.7",
"type": "number"
"type": "number"
},
},
"sex": {
"gender": {
"label": "Sex",
"label": "Gender",
"description": "The biological sex of the user.",
"description": "",
"example": "Female",
"type": "string"
"type": "string"
},
},
"gender": {
"race": {
"aliases": [
"label": "Race",
"Gender identity"
"example": "Black",
],
"label": "Gender",
"description": "If different to Sex, the gender identity of the user.",
"example": "Demigirl (transgender)",
"type": "string"
"type": "string"
},
},
"sexualOrientation": {
"religion": {
"label": "Sexual orientation",
"label": "Religion",
"example": "Heterosexual (or use straight)",
"example": "Sikh",
"type": "string"
"type": "string"
},
},
"race": {
"origin": {
"label": "Race",
"label": "Origin",
"example": "Japanese",
"description": "Website that they were most active on when finding OWOT.",
"type": "string"
"type": "string"
},
},
"nationality": {
"nationality": {
"aliases": [
"label": "Nationality",
"Nationality"
"example": "Swedish",
],
"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"
"type": "string"
},
},
"residence": {
"residence": {
"aliases": [
"label": "Residence",
"Residence",
"description": "ꜝꜝ Do not publish home addresses; mention only the name of a city at most.",
"Abode"
"example": "Bristol, England",
],
"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"
"type": "string"
},
},
"marital": {
"marital": {
"label": "Marital status",
"type": "string",
"suggestedvalues": [
"Unmarried",
"Engaged",
"Married"
],
"description": "ꜝꜝ"
},
"significant_other": {
"aliases": [
"aliases": [
"Married"
"significantOther",
"significantOthers",
"significant_others"
],
],
"label": "Marital status",
"label": "Significant other(s)",
"description": "Please do not fill this in unless they have stated they are comfortable with this on their wiki page.",
"description": "ꜝꜝ"
"example": "Engaged with _someuser",
},
"type": "string"
"occupation": {
"label": "Occupation",
"description": "ꜝꜝ"
},
},
"birthDate": {
"birth_date": {
"aliases": [
"aliases": [
"Birth date"
"birthDate"
],
],
"label": "Date of birth",
"label": "Birth date",
"description": "Please do not fill this in if they have stated they are not comfortable with this on their wiki page.",
"description": "ꜝꜝ"
"type": "date"
},
},
"birthPlace": {
"birth_place": {
"label": "Place of birth",
"aliases": [
"description": "Please do not fill this in unless they have stated they are comfortable with this on their wiki page.",
"birthPlace"
"example": "Seattle, Washington, USA"
],
"label": "Birth place",
"description": "ꜝꜝ"
},
},
"deathDate": {
"death_date": {
"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"
"type": "string"
},
},
"height": {
"height": {
"label": "Height",
"description": "ꜝ"
},
"weight": {
"label": "Weight",
"description": "ꜝ"
},
"eyes": {
"label": "Eye color",
"description": "ꜝ"
},
"webpage": {
"label": "Webpage"
},
"other_socials": {
"aliases": [
"aliases": [
"Vertical length"
"otherSocials"
],
],
"label": "Height",
"label": "Other socials",
"description": "Height standing upright with heels and toes touching a flat ground. Recommended unit: centimeters",
"type": "string"
"example": "166 cm",
"type": "number"
},
},
"weight": {
"mod_rank": {
"aliases": [
"aliases": [
"Mass"
"modRank"
],
],
"label": "Weight",
"label": "Moderation rank",
"description": "It's actually mass, by the way. Recommended unit: kilograms",
"description": "Moderation rank on the website.",
"example": "76 kg"
"type": "string",
"suggestedvalues": [
"Member",
"OP"
]
},
"roles": {
"label": "Roles",
"example": "including but not limited to: artist, scripter, contributor, moderator",
"type": "string",
"description": "The roles they play in contributing to the website, if any."
},
"active": {
"label": "Active at",
"description": "Places/dates the person is/was active at. Put anywhere on OWoT at the start of the list, followed by the OWoT Discord, followed by anywhere else.",
"example": "Front page",
"type": "string"
},
},
"eyes": {
"discord_roles": {
"aliases": [
"aliases": [
"Eye colour"
"discordRoles"
],
"label": "Discord roles",
"description": "Roles on the Discord server, excluding color roles.",
"suggestedvalues": [
"Admin",
"Booster",
"Scripter",
"Contributor",
"Artist",
"dunce",
"Nancy Boy"
],
],
"label": "Eye color",
"type": "string"
"description": "A rough description of the eye color."
},
},
"webpage": {
"canvas_color": {
"aliases": [
"aliases": [
"Web page",
"canvasColor"
"Website",
"Personal website"
],
],
"label": "Webpage",
"label": "Canvas color",
"description": "The user's personal website.",
"description": "The colors used by the person on the canvas.",
"example": "https://lime-textgrid.neocities.org",
"example": "#54e58b, #8eb29c, #8b3",
"type": "url"
"type": "string"
},
"worlds": {
"label": "Notable worlds",
"example": "{{Owoturl|lime.owot|/lime.owot}}, {{Owoturl|lime.owot/city|/lime.owot/city}}...",
"type": "string"
},
},
"gdAcc": {
"chat_color": {
"aliases": [
"aliases": [
"GD account",
"chatColor"
"GD username"
],
],
"label": "Geometry Dash account",
"label": "Chat color",
"description": "The username of the user's Geometry Dash account.",
"description": "The colors used by the user in the chat feature of OWoT.",
"example": "AndreiXYZ"
"example": "#00d900, #d927d9, #d9d900, #d90000",
"type": "string"
},
"active_time": {
"label": "Times active",
"description": "The times in a usual day that the person is active in.",
"example": "[UTC+2] Weekends: 5am ~ 9pm; Weekdays: 5am ~ 1pm, 6:30pm ~ 9pm",
"type": "string"
},
"active_date": {
"label": "Dates active",
"description": "No need to specify places where the user has been active since joining.",
"example": "Global chat until 26th May 2025"
},
},
"otherSocials": {
"joined": {
"label": "Others",
"label": "Joined",
"description": "Socials other than the ones captured by other parameters.",
"type": "string"
"type": "string"
}
}
},
},
"description": "Infobox for OWoT users (Uvias accounts).",
"format": "block",
"paramOrder": [
"paramOrder": [
"name",
"name",
"background_color",
"color",
"image",
"image",
"imagecaption",
"image_size",
"realName",
"image_upright",
"aliases",
"image_alt",
"relatives",
"image_caption",
"affiliation",
"joined",
"friends",
"alias",
"enemies",
"gender",
"age",
"age",
"sex",
"canvas_color",
"gender",
"chat_color",
"sexualOrientation",
"known_for",
"worlds",
"active",
"active_date",
"active_time",
"mod_rank",
"discord_roles",
"roles",
"affiliations",
"webpage",
"other_socials",
"race",
"race",
"religion",
"residence",
"nationality",
"nationality",
"residence",
"origin",
"marital",
"marital",
"birthDate",
"significant_other",
"birthPlace",
"birth_date",
"deathDate",
"birth_place",
"deathPlace",
"death_date",
"death_place",
"real_name",
"occupation",
"height",
"height",
"weight",
"weight",
"eyes",
"eyes"
"webpage",
],
"gdAcc",
"format": "block",
"otherSocials"
"description": "Documents a user of OWoT.\nꜝ Do not fill in if the person is not comfortable with this on their wiki page. (this is a given, but is especially important for parameters with this tag)\nꜝꜝ Unless the user explicitly consents, do not fill this in."
]
}
}
</templatedata>
</templatedata></noinclude>
</noinclude>