Template:Infobox player/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | |||
{{ | |above = {{{name}}} | ||
{{ | |image = [[File:{{{image}}}]] | ||
{{ | |caption = {{{image_caption}}} | ||
{{ | | data1 = Personal information | ||
{{ | | label2 = Known as | ||
{{ | | data2 = {{{nickname}}} | ||
{{ | | label3 = Former usernames | ||
| data3 = {{{former_names}}} | |||
| label4 = Gender | |||
| data4 = {{{gender}}} | |||
| label5 = Nationality | |||
| data5 = {{{nationality}}} | |||
| label6 = Relatives | |||
| data6 = {{{relatives}}} | |||
| data7 = On Parallel | |||
| label8 = Server ranks | |||
| data8 = {{{ranks}}} | |||
| label9 = Title | |||
| data9 = {{{titles}}} | |||
| label10 = Bases | |||
| data10 = {{{bases}}} | |||
| label11 = Affiliation | |||
| data11 = {{{affiliation}}} | |||
| label12 = Occupation | |||
| data12 = {{{occupation}}} | |||
| label13 = Years active | |||
| data13 = {{{active_from}}}–{{{active_to}}} | |||
}} | }} | ||
'''This module is now deprecated in favor of [[Template:Profile]].''' | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "An infobox | "description": "An infobox to serve as a quick reference on the right side of item pages.", | ||
"params": { | "params": { | ||
"name": { | "name": { | ||
" | "label": "Player name", | ||
"description": "Will automatically enter based on page name", | |||
"example": "CreeperKing309", | |||
"type": "line" | |||
"description": " | |||
" | |||
" | |||
}, | }, | ||
"image": { | "image": { | ||
"label": "Image", | "label": "Image", | ||
"description": "Refers to the image file of the player skin stored on the wiki.", | |||
"example": "CreeperKing309.png", | |||
"type": "wiki-file-name", | |||
"default": "ParallelLogo.png", | |||
"description": " | "suggested": true | ||
"example": " | |||
"type": " | |||
" | |||
" | |||
}, | }, | ||
" | "image_caption": { | ||
" | "label": "Image caption", | ||
" | "description": "A caption for the image. Usually not necessary.", | ||
"type": " | "type": "line" | ||
}, | }, | ||
" | "nickname": { | ||
" | "label": "Known as", | ||
" | "description": "The player's preferred name(s).", | ||
" | "type": "line", | ||
"suggested": true | |||
" | |||
}, | }, | ||
" | "former_names": { | ||
"description": " | "label": "Former usernames", | ||
" | "description": "Other usernames the player has used in the past.", | ||
"type": "line", | |||
"suggested": true | |||
}, | }, | ||
" | "gender": { | ||
"label": "Gender", | |||
"description": "The player's gender.", | |||
"type": "line", | |||
"suggested": true | |||
"label": " | |||
"description": " | |||
" | |||
" | |||
}, | }, | ||
"nationality": { | "nationality": { | ||
"label": "Nationality", | "label": "Nationality", | ||
"description": "The player's real-world nationality.", | |||
"type": "line", | |||
"suggested": true | |||
"description": "The | |||
"type": " | |||
" | |||
}, | }, | ||
"relatives": { | "relatives": { | ||
"label": "Relatives", | "label": "Relatives", | ||
" | "description": "Any relatives of the player who are on the server.", | ||
"type": "line" | |||
}, | }, | ||
" | "ranks": { | ||
"description": " | "label": "Server ranks", | ||
" | "description": "Any server ranks the player holds.", | ||
"example": "Mod, Researcher", | |||
"type": "line", | |||
"suggested": true | |||
}, | }, | ||
" | "titles": { | ||
"description": " | "label": "Titles", | ||
" | "description": "Any unofficial titles the player holds.", | ||
"example": "Pirate King", | |||
"type": "line", | |||
"suggested": true | |||
}, | }, | ||
" | "bases": { | ||
"description": " | "label": "Bases", | ||
" | "description": "Bases the player occupies.", | ||
"example": "Thiccy Piston", | |||
"type": "line", | |||
"suggested": true | |||
}, | }, | ||
" | "affiliation": { | ||
"description": " | "label": "Affiliation", | ||
" | "description": "Any groups the player belongs to.", | ||
" | "example": "Scrovnia", | ||
"type": "line", | |||
"suggested": true | |||
}, | }, | ||
" | "occupation": { | ||
"label": "Occupation", | |||
"description": "Any positions the player holds.", | |||
"example": "Darkmount Mall owner", | |||
"type": "line", | |||
"suggested": true | |||
"label": " | |||
"description": " | |||
" | |||
"type": " | |||
" | |||
}, | }, | ||
" | "active_from": { | ||
"label": " | "label": "Active from", | ||
"description": " | "description": "The year the player became active on Parallel.", | ||
"type": "number", | |||
"suggested": true | |||
}, | }, | ||
" | "active_to": { | ||
"label": " | "label": "Active to", | ||
"description": " | "description": "The year the player became inactive on Parallel.", | ||
"type": "number", | |||
"suggested": true | |||
" | |||
" | |||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
"image", | "image", | ||
" | "image_caption", | ||
" | "nickname", | ||
" | "former_names", | ||
" | "gender", | ||
"nationality", | "nationality", | ||
" | "relatives", | ||
" | "ranks", | ||
" | "titles", | ||
"bases", | |||
"affiliation", | |||
"occupation", | "occupation", | ||
" | "active_from", | ||
" | "active_to" | ||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
Latest revision as of 06:56, 26 October 2023
Infobox player
[[File:[[File:{{{image}}}]]|150px|class=|alt=[[File:{{{image}}}]]: Infobox image for Infobox player the infobox in Minecraft]]
{ "title": "Infobox player", "rows": [], "invimages": [], "images": [ "[[File:{{{image}}}]]" ] }
This module is now deprecated in favor of Template:Profile.
An infobox to serve as a quick reference on the right side of item pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Player name | name | Will automatically enter based on page name
| Line | optional |
Image | image | Refers to the image file of the player skin stored on the wiki.
| File | suggested |
Image caption | image_caption | A caption for the image. Usually not necessary. | Line | optional |
Known as | nickname | The player's preferred name(s). | Line | suggested |
Former usernames | former_names | Other usernames the player has used in the past. | Line | suggested |
Gender | gender | The player's gender. | Line | suggested |
Nationality | nationality | The player's real-world nationality. | Line | suggested |
Relatives | relatives | Any relatives of the player who are on the server. | Line | optional |
Server ranks | ranks | Any server ranks the player holds.
| Line | suggested |
Titles | titles | Any unofficial titles the player holds.
| Line | suggested |
Bases | bases | Bases the player occupies.
| Line | suggested |
Affiliation | affiliation | Any groups the player belongs to.
| Line | suggested |
Occupation | occupation | Any positions the player holds.
| Line | suggested |
Active from | active_from | The year the player became active on Parallel. | Number | suggested |
Active to | active_to | The year the player became inactive on Parallel. | Number | suggested |