Template:Infobox character: Difference between revisions
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"/> | |||
</image> | </image> | ||
<group> | <group> | ||
<data source="realName"><label>Real name</label></data> | |||
<data source="aliases"><label>Aliases</label></data> | |||
<data source="relatives"><label>Relatives</label></data> | |||
<data source="affiliation"><label>Affiliation</label></data> | |||
<data source="friends"><label>Friends</label></data> | |||
<data source="enemies"><label>Enemies</label></data> | |||
</group> | |||
<group> | |||
<header>General information</header> | |||
<data source="age"><label>Age</label></data> | |||
<data source="sex"><label>Sex</label></data> | |||
<data source="gender"><label>Gender</label></data> | |||
<data source="sexualOrientation"><label>Sexual orientation</label></data> | |||
<data source="race"><label>Race</label></data> | |||
<data source="nationality"><label>Country of origin</label></data> | |||
<data source="residence"><label>City or country of residence</label></data> | |||
<data source="marital"><label>Marital status</label></data> | |||
<data source="birthDate"><label>Date of birth</label></data> | |||
<data source="birthPlace"><label>Place of birth</label></data> | |||
<data source="deathDate"><label>Date of death</label></data> | |||
<data source="deathPlace"><label>Place of death</label></data> | |||
</group> | |||
<group> | |||
<header>Physical description</header> | |||
<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> | <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>
-
40
Infobox for OWoT users (Uvias accounts).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Username | name Display name Name | Their Uvias account's display name.
| String | required |
Image | image | A link to an image of their persona, if any | URL | optional |
Image caption | imagecaption Caption | A caption of the image shown at the top of the infobox.
| String | optional |
Real name | realName | Legal name. Please do not fill this in unless they have stated they are comfortable with this on their wiki page.
| String | optional |
Aliases | aliases | Names they go by, other than their username.
| String | optional |
relatives | relatives | (Close) relatives of the user. Please do not fill this in unless they have stated they are comfortable with this on their wiki page.
| String | optional |
Affiliation | affiliation | 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. | String | deprecated |
Friends | friends | People this user has a positive relationship with.
| String | suggested |
Enemies | enemies | People that the user has a negative relationship with.
| String | suggested |
Age | age | 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.
| Number | optional |
Sex | sex | The biological sex of the user.
| String | optional |
Gender | gender Gender identity | If different to Sex, the gender identity of the user.
| String | optional |
Sexual orientation | sexualOrientation | no description
| String | optional |
Race | race | no description
| String | optional |
Country of origin | nationality Nationality | Please do not fill this in if they have stated they are not comfortable with this on their wiki page.
| String | optional |
City or country of residence | residence Residence Abode | Please do not fill this in unless they have stated they are comfortable with this on their wiki page.
| String | optional |
Marital status | marital Married | Please do not fill this in unless they have stated they are comfortable with this on their wiki page.
| String | optional |
Date of birth | birthDate Birth date | Please do not fill this in if they have stated they are not comfortable with this on their wiki page. | Date | optional |
Place of birth | birthPlace | Please do not fill this in unless they have stated they are comfortable with this on their wiki page.
| Unknown | optional |
Date of death | deathDate Death date | It would be wild if this were used and would be telling the truth.
| Date | optional |
Place of death | deathPlace Death place | no description
| String | optional |
Height | height Vertical length | Height standing upright with heels and toes touching a flat ground. Recommended unit: centimeters
| Number | optional |
Weight | weight Mass | It's actually mass, by the way. Recommended unit: kilograms
| Unknown | optional |
Eye color | eyes Eye colour | A rough description of the eye color. | Unknown | optional |
Webpage | webpage Web page Website Personal website | The user's personal website.
| URL | optional |
Geometry Dash account | gdAcc GD account GD username | The username of the user's Geometry Dash account.
| Unknown | optional |
Others | otherSocials | Socials other than the ones captured by other parameters. | String | optional |