Difference between revisions of "Template:Infobox player"
From WORST WIKI EVER
Jump to navigationJump to searchNotsokodya (talk | contribs) (Added documentation) |
Notsokodya (talk | contribs) ("currently active" -> "status", replaced parameters thingy with templatedata) |
||
Line 29: | Line 29: | ||
<tr> |
<tr> |
||
<th colspan="2" class="infobox-separator">Personal details</th> |
<th colspan="2" class="infobox-separator">Personal details</th> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
</tr> |
</tr> |
||
<tr> |
<tr> |
||
Line 58: | Line 62: | ||
| |
| |
||
}} |
}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
</table> |
</table> |
||
</onlyinclude> |
</onlyinclude> |
||
Line 67: | Line 67: | ||
<nowiki>{{Infobox player}}</nowiki> is template for creating infoboxes of players. |
<nowiki>{{Infobox player}}</nowiki> is template for creating infoboxes of players. |
||
+ | <templatedata> |
||
− | == Parameters == |
||
+ | { |
||
− | * '''title''': Username (optional, in case if it wasn't provided will be replaced with page name) |
||
+ | "description": "template for creating infoboxes of players", |
||
− | * '''image''': Name of PFP image file |
||
+ | "params": { |
||
− | * '''imagealt''': In case if tabber was used for images, use this instead '''image''' |
||
+ | "title": { |
||
− | * '''usergroup''': Player's usergroup (owner, admin, sage, regular, player) |
||
+ | "label": "Username", |
||
− | * '''joindate''': The date of first appearance on server |
||
+ | "description": "Player's username", |
||
− | * '''aliases''': Player aliases (yea) |
||
+ | "example": "El Chapo", |
||
− | * '''associations''': Associations the player is member of |
||
+ | "type": "string", |
||
− | * '''birthday''': Birthday date. Always use '''Month D''' format |
||
+ | "required": true |
||
− | * '''active''': Is player currently active? |
||
+ | }, |
||
+ | "image": { |
||
+ | "label": "Avatar", |
||
+ | "description": "Usually used for player's avatar", |
||
+ | "type": "string" |
||
+ | }, |
||
+ | "imagealt": { |
||
+ | "label": "Multiple Images", |
||
+ | "description": "In the case if you use tabber for multiple images", |
||
+ | "type": "string" |
||
+ | }, |
||
+ | "usergroup": { |
||
+ | "label": "Usergroup", |
||
+ | "description": "Player's rank on server", |
||
+ | "type": "string", |
||
+ | "suggested": true |
||
+ | }, |
||
+ | "status": { |
||
+ | "label": "Status", |
||
+ | "description": "Current player status", |
||
+ | "type": "string", |
||
+ | "required": true |
||
+ | }, |
||
+ | "joindate": { |
||
+ | "label": "First join date", |
||
+ | "description": "basically when the player first joined on server", |
||
+ | "type": "date", |
||
+ | "required": true |
||
+ | }, |
||
+ | "aliases": { |
||
+ | "label": "Aliases", |
||
+ | "description": "Other usernames that player known by", |
||
+ | "type": "string" |
||
+ | }, |
||
+ | "associations": { |
||
+ | "label": "Associations", |
||
+ | "description": "List of associations player belong to", |
||
+ | "type": "string" |
||
+ | }, |
||
+ | "birthday": { |
||
+ | "label": "Birthday", |
||
+ | "type": "date", |
||
+ | "suggested": true |
||
+ | } |
||
+ | } |
||
+ | } |
||
+ | </templatedata> |
Latest revision as of 18:16, 21 April 2025
Infobox player | |
---|---|
Personal details | |
Status | Unknown |
Joined | Unknown |
Usage
{{Infobox player}} is template for creating infoboxes of players.
template for creating infoboxes of players
Parameter | Description | Type | Status | |
---|---|---|---|---|
Username | title | Player's username
| String | required |
Avatar | image | Usually used for player's avatar | String | optional |
Multiple Images | imagealt | In the case if you use tabber for multiple images | String | optional |
Usergroup | usergroup | Player's rank on server | String | suggested |
Status | status | Current player status | String | required |
First join date | joindate | basically when the player first joined on server | Date | required |
Aliases | aliases | Other usernames that player known by | String | optional |
Associations | associations | List of associations player belong to | String | optional |
Birthday | birthday | no description | Date | suggested |