Template:Infobox player/doc: Difference between revisions
Hypermoron (talk | contribs) No edit summary |
No edit summary |
||
| Line 32: | Line 32: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "An infobox to serve as a quick reference on the right side of item pages.", | "description": "An infobox to serve as a quick reference on the right side of item pages. '''This module is now deprecated in favor of [[Template:Profile]].", | ||
"params": { | "params": { | ||
"name": { | "name": { | ||
| Line 46: | Line 46: | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"default": "ParallelLogo.png", | "default": "ParallelLogo.png", | ||
"suggested": true | |||
}, | }, | ||
"image_caption": { | |||
"label": "Image caption", | "label": "Image caption", | ||
"description": "A caption for the image. Usually not necessary.", | "description": "A caption for the image. Usually not necessary.", | ||
"type": "line" | "type": "line" | ||
}, | |||
"nickname": { | |||
"label": "Known as", | "label": "Known as", | ||
"description": "The player's preferred name(s).", | "description": "The player's preferred name(s).", | ||
"type": "line", | "type": "line", | ||
"suggested": true | |||
}, | |||
"former_names": { | |||
"label": "Former usernames", | "label": "Former usernames", | ||
"description": "Other usernames the player has used in the past.", | "description": "Other usernames the player has used in the past.", | ||
"type": "line", | "type": "line", | ||
"suggested": true | |||
}, | |||
"gender": { | |||
"label": "Gender", | "label": "Gender", | ||
"description": "The player's gender.", | "description": "The player's gender.", | ||
"type": "line", | "type": "line", | ||
"suggested": true | |||
}, | |||
"nationality": { | |||
"label": "Nationality", | "label": "Nationality", | ||
"description": "The player's real-world nationality.", | "description": "The player's real-world nationality.", | ||
"type": "line", | "type": "line", | ||
"suggested": true | |||
}, | |||
"relatives": { | |||
"label": "Relatives", | "label": "Relatives", | ||
"description": "Any relatives of the player who are on the server.", | "description": "Any relatives of the player who are on the server.", | ||
"type": "line" | "type": "line" | ||
}, | |||
"ranks": { | "ranks": { | ||
"label": "Server ranks", | "label": "Server ranks", | ||
| Line 87: | Line 87: | ||
"example": "Mod, Researcher", | "example": "Mod, Researcher", | ||
"type": "line", | "type": "line", | ||
"suggested": true | |||
}, | }, | ||
"titles": { | "titles": { | ||
| Line 94: | Line 94: | ||
"example": "Pirate King", | "example": "Pirate King", | ||
"type": "line", | "type": "line", | ||
"suggested": true | |||
}, | }, | ||
"bases": { | "bases": { | ||
| Line 101: | Line 101: | ||
"example": "Thiccy Piston", | "example": "Thiccy Piston", | ||
"type": "line", | "type": "line", | ||
"suggested": true | |||
}, | }, | ||
"affiliation": { | "affiliation": { | ||
| Line 108: | Line 108: | ||
"example": "Scrovnia", | "example": "Scrovnia", | ||
"type": "line", | "type": "line", | ||
"suggested": true | |||
}, | }, | ||
"occupation": { | "occupation": { | ||
| Line 115: | Line 115: | ||
"example": "Darkmount Mall owner", | "example": "Darkmount Mall owner", | ||
"type": "line", | "type": "line", | ||
"suggested": true | |||
}, | }, | ||
"active_from": { | "active_from": { | ||
| Line 121: | Line 121: | ||
"description": "The year the player became active on Parallel.", | "description": "The year the player became active on Parallel.", | ||
"type": "number", | "type": "number", | ||
"suggested": true | |||
}, | }, | ||
"active_to": { | "active_to": { | ||
| Line 127: | Line 127: | ||
"description": "The year the player became inactive on Parallel.", | "description": "The year the player became inactive on Parallel.", | ||
"type": "number", | "type": "number", | ||
"suggested": true | |||
} | } | ||
}, | }, | ||
| Line 133: | Line 133: | ||
"name", | "name", | ||
"image", | "image", | ||
"image_caption", | |||
"nickname", | |||
"former_names", | |||
"gender", | |||
"nationality", | |||
"relatives", | |||
"ranks", | |||
"titles", | |||
"bases", | |||
"affiliation", | |||
"occupation", | |||
"active_from", | |||
"active_to" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 06:54, 26 October 2023
{
"title": "Infobox player",
"rows": [],
"invimages": [],
"images": [
"[[File:{{{image}}}]]"
]
}
An infobox to serve as a quick reference on the right side of item pages. '''This module is now deprecated in favor of [[Template:Profile]].
| 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 |