Template:Infobox person: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
m (consistency)
(Added TemplateData and parameters "Friends" and "Enemies".)
Line 2: Line 2:
<title source="name"/>
<title source="name"/>
<image source="image">
<image source="image">
    <caption source="imagecaption"/>
<caption source="imagecaption"/>
</image>
</image>
<group>
<group>
        <data source="realName"><label>Real name</label></data>
<data source="realName"><label>Real name</label></data>
    <data source="aliases"><label>Aliases</label></data>
<data source="aliases"><label>Aliases</label></data>
    <data source="relatives"><label>Relatives</label></data>
<data source="relatives"><label>Relatives</label></data>
    <data source="affiliation"><label>Affiliation</label></data>
<data source="affiliation"><label>Affiliation</label></data>
    </group>
<data source="friends"><label>Friends</label></data>
    <group>
<data source="enemies"><label>Enemies</label></data>
        <header>General information</header>
</group>
        <data source="age"><label>Age</label></data>
<group>
        <data source="sex"><label>Sex</label></data>
<header>General information</header>
        <data source="gender"><label>Gender</label></data>
<data source="age"><label>Age</label></data>
        <data source="sexualOrientation"><label>Sexual orientation</label></data>
<data source="sex"><label>Sex</label></data>
        <data source="race"><label>Race</label></data>
<data source="gender"><label>Gender</label></data>
        <data source="nationality"><label>Country of origin</label></data>
<data source="sexualOrientation"><label>Sexual orientation</label></data>
        <data source="residence"><label>City or country of residence</label></data>
<data source="race"><label>Race</label></data>
        <data source="marital"><label>Marital status</label></data>
<data source="nationality"><label>Country of origin</label></data>
    <data source="birthDate"><label>Date of birth</label></data>
<data source="residence"><label>City or country of residence</label></data>
        <data source="birthPlace"><label>Place of birth</label></data>
<data source="marital"><label>Marital status</label></data>
        <data source="deathDate"><label>Date of death</label></data>
<data source="birthDate"><label>Date of birth</label></data>
        <data source="deathPlace"><label>Place of death</label></data>
<data source="birthPlace"><label>Place of birth</label></data>
    </group>
<data source="deathDate"><label>Date of death</label></data>
    <group>
<data source="deathPlace"><label>Place of death</label></data>
        <header>Physical description</header>
</group>
        <data source="height"><label>Height</label></data>
<group>
        <data source="weight"><label>Weight</label></data>
<header>Physical description</header>
        <data source="eyes"><label>Eye color</label></data>
<data source="height"><label>Height</label></data>
<data source="weight"><label>Weight</label></data>
<data source="eyes"><label>Eye color</label></data>
</group>
</group>
<group>
<group>
<header>Socials</header>
<header>Socials</header>
<data source="webpage"><label>Web Page</label></data>
<data source="webpage"><label>Webpage</label>
<data source="gdAcc"><label>Geometry Dash account</label>
<data source="otherSocials"><label>Others</label>
</group>
</group>
</infobox>
</infobox>
<noinclude>
<templatedata>
{
"params": {
"name": {
"aliases": [
"Display name",
"Name"
],
"label": "Username",
"description": "Their Uvias account's display name.",
"example": "lime.owot",
"type": "string",
"required": true
},
"image": {
"label": "Image",
"description": "A link to an image of their persona, if any",
"type": "url"
},
"imagecaption": {
"aliases": [
"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": {
"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.",
"example": "What \"Da\" Hell",
"type": "string"
},
"aliases": {
"label": "Aliases",
"description": "Names they go by, other than their username.",
"example": "lime.person, LimeSlime888",
"type": "string"
},
"relatives": {
"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.",
"example": "Oh \"Mah\" Gawd, Hell Nah",
"type": "string"
},
"affiliation": {
"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",
"deprecated": "Use Friends and Enemies instead."
},
"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": {
"label": "Enemies",
"description": "People that the user has a negative relationship with.",
"example": "antiuser, slashblockuseruser",
"type": "string",
"suggested": true
},
"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.",
"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>

Revision as of 07:25, 26 July 2024

There is a problem with parsing the infobox

  • 0
  • 1
    <title source="name"/>
  • 2
    <image source="image">
  • 3
    <caption source="imagecaption"/>
  • 4
    </image>
  • 5
    <group>
  • 6
    <data source="realName"><label>Real name</label></data>
  • 7
    <data source="aliases"><label>Aliases</label></data>
  • 8
    <data source="relatives"><label>Relatives</label></data>
  • 9
    <data source="affiliation"><label>Affiliation</label></data>
  • 10
    <data source="friends"><label>Friends</label></data>
  • 11
    <data source="enemies"><label>Enemies</label></data>
  • 12
    </group>
  • 13
    <group>
  • 14
    <header>General information</header>
  • 15
    <data source="age"><label>Age</label></data>
  • 16
    <data source="sex"><label>Sex</label></data>
  • 17
    <data source="gender"><label>Gender</label></data>
  • 18
    <data source="sexualOrientation"><label>Sexual orientation</label></data>
  • 19
    <data source="race"><label>Race</label></data>
  • 20
    <data source="nationality"><label>Country of origin</label></data>
  • 21
    <data source="residence"><label>City or country of residence</label></data>
  • 22
    <data source="marital"><label>Marital status</label></data>
  • 23
    <data source="birthDate"><label>Date of birth</label></data>
  • 24
    <data source="birthPlace"><label>Place of birth</label></data>
  • 25
    <data source="deathDate"><label>Date of death</label></data>
  • 26
    <data source="deathPlace"><label>Place of death</label></data>
  • 27
    </group>
  • 28
    <group>
  • 29
    <header>Physical description</header>
  • 30
    <data source="height"><label>Height</label></data>
  • 31
    <data source="weight"><label>Weight</label></data>
  • 32
    <data source="eyes"><label>Eye color</label></data>
  • 33
    </group>
  • 34
    <group>
  • 35
    <header>Socials</header>
  • 36
    <data source="webpage"><label>Webpage</label>
  • 37
    <data source="gdAcc"><label>Geometry Dash account</label>
  • 38
    <data source="otherSocials"><label>Others</label>
  • 39
    </group>

    Opening and ending tag mismatch

  • 40

    Opening and ending tag mismatch

    Incorrect XML markup. Please validate your XML

Infobox for OWoT users (Uvias accounts).

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Usernamename Display name Name

Their Uvias account's display name.

Example
lime.owot
Stringrequired
Imageimage

A link to an image of their persona, if any

URLoptional
Image captionimagecaption Caption

A caption of the image shown at the top of the infobox.

Example
User's persona, called namehere.
Stringoptional
Real namerealName

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
Stringoptional
Aliasesaliases

Names they go by, other than their username.

Example
lime.person, LimeSlime888
Stringoptional
relativesrelatives

(Close) relatives of the user. Please do not fill this in unless they have stated they are comfortable with this on their wiki page.

Example
Oh "Mah" Gawd, Hell Nah
Stringoptional
Affiliationaffiliation

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.

Stringdeprecated
Friendsfriends

People this user has a positive relationship with.

Example
user2 [close in real life], Name_less
Stringsuggested
Enemiesenemies

People that the user has a negative relationship with.

Example
antiuser, slashblockuseruser
Stringsuggested
Ageage

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
Numberoptional
Sexsex

The biological sex of the user.

Example
Female
Stringoptional
Gendergender Gender identity

If different to Sex, the gender identity of the user.

Example
Demigirl (transgender)
Stringoptional
Sexual orientationsexualOrientation

no description

Example
Heterosexual (or use straight)
Stringoptional
Racerace

no description

Example
Japanese
Stringoptional
Country of originnationality Nationality

Please do not fill this in if they have stated they are not comfortable with this on their wiki page.

Example
Russia
Stringoptional
City or country of residenceresidence Residence Abode

Please do not fill this in unless they have stated they are comfortable with this on their wiki page.

Example
Bristol, England, United Kingdom
Stringoptional
Marital statusmarital Married

Please do not fill this in unless they have stated they are comfortable with this on their wiki page.

Example
Engaged with _someuser
Stringoptional
Date of birthbirthDate Birth date

Please do not fill this in if they have stated they are not comfortable with this on their wiki page.

Dateoptional
Place of birthbirthPlace

Please do not fill this in unless they have stated they are comfortable with this on their wiki page.

Example
Seattle, Washington, USA
Unknownoptional
Date of deathdeathDate Death date

It would be wild if this were used and would be telling the truth.

Example
3rd September, 2075
Dateoptional
Place of deathdeathPlace Death place

no description

Example
Moog City, Maxecraf, Mars
Stringoptional
Heightheight Vertical length

Height standing upright with heels and toes touching a flat ground. Recommended unit: centimeters

Example
166 cm
Numberoptional
Weightweight Mass

It's actually mass, by the way. Recommended unit: kilograms

Example
76 kg
Unknownoptional
Eye coloreyes Eye colour

A rough description of the eye color.

Unknownoptional
Webpagewebpage Web page Website Personal website

The user's personal website.

Example
https://lime-textgrid.neocities.org
URLoptional
Geometry Dash accountgdAcc GD account GD username

The username of the user's Geometry Dash account.

Example
AndreiXYZ
Unknownoptional
OthersotherSocials

Socials other than the ones captured by other parameters.

Stringoptional