Template:Infobox person: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
Dat Hack3r (talk | contribs)
No edit summary
Katiserie (talk | contribs)
m socials
 
(40 intermediate revisions by 5 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>
 
    </group>
| label2      = Joined
    <group>
| data2      = {{{joined|}}}
        <header>General information</header>
 
        <data source="age"><label>Age</label></data>
| label5    = Origin
        <data source="sex"><label>Sex</label></data>
| data5    = {{{origin|}}}
        <data source="gender"><label>Gender</label></data>
 
        <data source="orientation"><label>Fetishes</label></data>
| label10    = Aliases
        <data source="race"><label>Race</label></data>
| data10      = {{#if:{{{alias|}}}|{{{alias|}}}|{{{aliases|}}}}}
        <data source="nationality"><label>Nationality</label></data>
 
        <data source="residence"><label>City or country of residence</label></data>
| label20    = Age
        <data source="marital"><label>Marital status</label></data>
| data20      = {{{age|}}}
    <data source="birthDate"><label>Date of birth</label></data>
 
        <data source="birthPlace"><label>Place of birth</label></data>
| label30    = Gender
        <data source="deathDate"><label>Date of death</label></data>
| data30      = {{{gender|}}}
        <data source="deathPlace"><label>Place of death</label></data>
 
    </group>
| label40    = Text colors
    <group>
| data40      = {{#if:{{{canvas_color|}}}|{{{canvas_color|}}}|{{{canvasColor|}}}}}
        <header>Physical description</header>
 
        <data source="height"><label>Height</label></data>
| label50    = Chat colors
        <data source="weight"><label>Weight</label></data>
| data50      = {{#if:{{{chat_color|}}}|{{{chat_color|}}}|{{{chatColor|}}}}}
        <data source="eyes"><label>Eye color</label></data>
 
</group>
| label60    = Notable actions/creations
<group>
| data60      = {{#if:{{{known_for|}}}|{{{known_for|}}}|{{{knownFor|}}}}}
<header>Socials</header>
 
<data source="webpage"><label>Web Page</label></data>
| label70    = Notable worlds
</group>
| data70      = {{{worlds|}}}
</infobox>
 
| label80    = Active at
| data80      = {{{active|}}}
 
| label81    = Dates active
| 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>
{
"params": {
"background_color": {
"aliases": [
"backgroundColor"
],
"label": "Background color",
"description": "The background color of the infobox.",
"type": "string"
},
"color": {
"aliases": [
"text_color",
"textColor"
],
"label": "Text color",
"description": "The text color of the infobox's headers. The body text is automatically determined from this.",
"type": "string"
},
"name": {
"label": "Name",
"type": "string"
},
"image": {
"label": "Image",
"description": "The file name of the image attributed to the person. File: is not required.",
"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"
},
"image_caption": {
"aliases": [
"imageCaption"
],
"label": "Image caption",
"type": "string"
},
"real_name": {
"aliases": [
"realName"
],
"label": "Real name",
"description": "ꜝꜝ Remember, this isn't the Lemuria Wiki, so privacy actually matters here."
},
"alias": {
"aliases": [
"aliases"
],
"label": "Alias(es)",
"description": "Alias(es) the person goes by.",
"type": "string"
},
"known_for": {
"aliases": [
"knownFor"
],
"label": "Notable actions/creations",
"example": "OWoT User Indicator 2, {{Owoturl|impossibleway|/impossibleway}}",
"type": "string",
"description": "Put OWoT-related creations at the start of the list."
},
"affiliations": {
"label": "Affiliations",
"description": "Affiliated users, like friends, and enemies. Significant others are covered below.",
"example": "* [[lime.owot]] (friend)",
"type": "string"
},
"age": {
"label": "Age",
"description": "ꜝ",
"type": "number"
},
"gender": {
"label": "Gender",
"description": "ꜝ",
"type": "string"
},
"race": {
"label": "Race",
"example": "Black",
"type": "string"
},
"religion": {
"label": "Religion",
"example": "Sikh",
"type": "string"
},
"origin": {
"label": "Origin",
"description": "Website that they were most active on when finding OWOT.",
"type": "string"
},
"nationality": {
"label": "Nationality",
"example": "Swedish",
"type": "string"
},
"residence": {
"label": "Residence",
"description": "ꜝꜝ Do not publish home addresses; mention only the name of a city at most.",
"example": "Bristol, England",
"type": "string"
},
"marital": {
"label": "Marital status",
"type": "string",
"suggestedvalues": [
"Unmarried",
"Engaged",
"Married"
],
"description": "ꜝꜝ"
},
"significant_other": {
"aliases": [
"significantOther",
"significantOthers",
"significant_others"
],
"label": "Significant other(s)",
"description": "ꜝꜝ"
},
"occupation": {
"label": "Occupation",
"description": "ꜝꜝ"
},
"birth_date": {
"aliases": [
"birthDate"
],
"label": "Birth date",
"description": "ꜝꜝ"
},
"birth_place": {
"aliases": [
"birthPlace"
],
"label": "Birth place",
"description": "ꜝꜝ"
},
"death_date": {
"aliases": [
"deathDate"
],
"label": "Death date",
"description": "Will OWoT even last long enough for this field to be used?"
},
"death_place": {
"aliases": [
"deathPlace"
],
"label": "Death place",
"type": "string"
},
"height": {
"label": "Height",
"description": "ꜝ"
},
"weight": {
"label": "Weight",
"description": "ꜝ"
},
"eyes": {
"label": "Eye color",
"description": "ꜝ"
},
"webpage": {
"label": "Webpage"
},
"other_socials": {
"aliases": [
"otherSocials"
],
"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",
"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"
},
"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"
},
"worlds": {
"label": "Notable worlds",
"example": "{{Owoturl|lime.owot|/lime.owot}}, {{Owoturl|lime.owot/city|/lime.owot/city}}...",
"type": "string"
},
"chat_color": {
"aliases": [
"chatColor"
],
"label": "Chat color",
"description": "The colors used by the user in the chat feature of OWoT.",
"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"
},
"joined": {
"label": "Joined",
"type": "string"
}
},
"paramOrder": [
"name",
"background_color",
"color",
"image",
"image_size",
"image_upright",
"image_alt",
"image_caption",
"joined",
"alias",
"gender",
"age",
"canvas_color",
"chat_color",
"known_for",
"worlds",
"active",
"active_date",
"active_time",
"mod_rank",
"discord_roles",
"roles",
"affiliations",
"webpage",
"other_socials",
"race",
"religion",
"residence",
"nationality",
"origin",
"marital",
"significant_other",
"birth_date",
"birth_place",
"death_date",
"death_place",
"real_name",
"occupation",
"height",
"weight",
"eyes"
],
"format": "block",
"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></noinclude>

Latest revision as of 12:59, 11 November 2025

Infobox person

Documents a user of OWoT. ꜝ 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) ꜝꜝ Unless the user explicitly consents, do not fill this in.

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.

Filesuggested
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
Joinedjoined

no description

Stringoptional
Alias(es)alias aliases

Alias(es) the person goes by.

Stringoptional
Gendergender

Stringoptional
Ageage

Numberoptional
Canvas colorcanvas_color canvasColor

The colors used by the person on the canvas.

Example
#54e58b, #8eb29c, #8b3
Stringoptional
Chat colorchat_color chatColor

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/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
Stringoptional
Dates activeactive_date

No need to specify places where the user has been active since joining.

Example
Global chat until 26th May 2025
Unknownoptional
Times activeactive_time

The times in a usual day that the person is active in.

Example
[UTC+2] Weekends: 5am ~ 9pm; Weekdays: 5am ~ 1pm, 6:30pm ~ 9pm
Stringoptional
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

The roles they play in contributing to the website, if any.

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
Racerace

no description

Example
Black
Stringoptional
Religionreligion

no description

Example
Sikh
Stringoptional
Residenceresidence

ꜝꜝ Do not publish home addresses; mention only the name of a city at most.

Example
Bristol, England
Stringoptional
Nationalitynationality

no description

Example
Swedish
Stringoptional
Originorigin

Website that they were most active on when finding OWOT.

Stringoptional
Marital statusmarital

ꜝꜝ

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

ꜝꜝ

Unknownoptional
Birth datebirth_date birthDate

ꜝꜝ

Unknownoptional
Birth placebirth_place birthPlace

ꜝꜝ

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

ꜝꜝ Remember, this isn't the Lemuria Wiki, so privacy actually matters here.

Unknownoptional
Occupationoccupation

ꜝꜝ

Unknownoptional
Heightheight

Unknownoptional
Weightweight

Unknownoptional
Eye coloreyes

Unknownoptional