Template:Infobox Player: Difference between revisions
More actions
| [checked revision] | [checked revision] |
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
< | <infobox> | ||
<title source="username"> | |||
<default><span style="display:block;text-align:center;padding:10px">{{PAGENAME}}</span></default> | |||
<format><span style="display:block;text-align:center;padding:10px">{{{username}}}</span></format> | |||
</title> | |||
<image source="avatar"> | |||
<caption source="caption"/> | |||
</image> | |||
<data source="status"> | |||
<label><span style="display:block;text-align:center;padding:10px">Status</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{StatusBadges|{{{status}}}}}</span></format> | |||
</data> | |||
<data source="username"> | |||
<label><span style="display:block;text-align:center;padding:10px">Username</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{{username}}}</span></format> | |||
</data> | |||
<data source="aka"> | |||
<label><span style="display:block;text-align:center;padding:10px">Also known as</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{{aka}}}</span></format> | |||
</data> | |||
<data source="discord"> | |||
<label><span style="display:block;text-align:center;padding:10px">Discord</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{{discord}}}</span></format> | |||
</data> | |||
<data source="joined"> | |||
<label><span style="display:block;text-align:center;padding:10px">Joined TRP</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{{joined}}}</span></format> | |||
</data> | |||
<group collapse="open"> | |||
<header><span style="display:block;text-align:center;padding:10px">Out-of-character</span></header> | |||
<data source="age"> | |||
<label><span style="display:block;text-align:center;padding:10px">Age</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{{age}}}</span></format> | |||
</data> | |||
<data source="pronouns"> | |||
<label><span style="display:block;text-align:center;padding:10px">Pronouns</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{{pronouns}}}</span></format> | |||
</data> | |||
<data source="country"> | |||
<label><span style="display:block;text-align:center;padding:10px">Country</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{{country}}}</span></format> | |||
</data> | |||
<data source="timezone"> | |||
<label><span style="display:block;text-align:center;padding:10px">Timezone</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{{timezone}}}</span></format> | |||
</data> | |||
<data source="languages"> | |||
<label><span style="display:block;text-align:center;padding:10px">Languages</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{{languages}}}</span></format> | |||
</data> | |||
</group> | |||
<group collapse="open"> | |||
<header><span style="display:block;text-align:center;padding:10px">TRP Activity</span></header> | |||
<data source="roles"> | |||
<label><span style="display:block;text-align:center;padding:10px">TRP Roles</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{{roles}}}</span></format> | |||
</data> | |||
<data source="characters"> | |||
<label><span style="display:block;text-align:center;padding:10px">Played characters</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{{characters}}}</span></format> | |||
</data> | |||
<data source="relations"> | |||
<label><span style="display:block;text-align:center;padding:10px">Relations (OOC)</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{{relations}}}</span></format> | |||
</data> | |||
</group> | |||
<group collapse="open"> | |||
<header><span style="display:block;text-align:center;padding:10px">Administrative</span></header> | |||
<data source="discipline"> | |||
<label><span style="display:block;text-align:center;padding:10px">Disciplinary record</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{{discipline}}}</span></format> | |||
</data> | |||
<data source="notes"> | |||
<label><span style="display:block;text-align:center;padding:10px">Notes</span></label> | |||
<format><span style="display:block;text-align:right;padding:10px">{{{notes}}}</span></format> | |||
</data> | |||
</group> | |||
</infobox> | |||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
| Line 90: | Line 84: | ||
{{Infobox Player | {{Infobox Player | ||
|username = John Doe | |username = John Doe | ||
|avatar = Avatar_JohnDoe.jpg | |||
|caption = Long-time TRP player | |||
|status = Active | |||
|aka = JohnDoe2, JDoe | |aka = JohnDoe2, JDoe | ||
|discord = JohnDoe#1234 | |discord = JohnDoe#1234 | ||
|joined = September 2025 | |joined = September 2025 | ||
|age = 24 | |age = 24 | ||
|pronouns = he/him | |pronouns = he/him | ||
|country = USA | |country = USA | ||
| | |timezone = EST (UTC-5) | ||
|languages = English, Spanish | |||
|roles = | |roles = | ||
* Player (2022–present) | * Player (2022–present) | ||
| Line 115: | Line 110: | ||
; Avatar | ; Avatar | ||
Upload player avatars as image files and reference them in the <code>|avatar=</code> parameter. | |||
<templatedata> | |||
{ | |||
"params": { | |||
"username": { | |||
"suggested": false, | |||
"label": "Username", | |||
"description": "If the field is empty, the page name will be automatically added.", | |||
"type": "line" | |||
}, | |||
"avatar": { | |||
"suggested": true, | |||
"label": "Avatar image", | |||
"type": "wiki-file-name" | |||
}, | |||
"caption": { | |||
"suggested": true, | |||
"label": "Avatar caption", | |||
"type": "line" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"type": "line", | |||
"default": "Active", | |||
"description": "Player's current status on the server.", | |||
"suggestedvalues": [ | |||
"Active", | |||
"Retired" | |||
], | |||
"required": true, | |||
"autovalue": "Active" | |||
}, | |||
"aka": { | |||
"suggested": true, | |||
"label": "Also known as", | |||
"description": "Alternative usernames or nicknames.", | |||
"type": "content" | |||
}, | |||
"discord": { | |||
"label": "Discord", | |||
"required": false, | |||
"type": "line", | |||
"description": "Player's Discord username" | |||
}, | |||
"joined": { | |||
"suggested": true, | |||
"label": "Joined TRP", | |||
"description": "When the player joined the server.", | |||
"type": "line" | |||
}, | |||
"age": { | |||
"suggested": true, | |||
"label": "Age", | |||
"description": "Player's real-life age (out-of-character).", | |||
"type": "line" | |||
}, | |||
"pronouns": { | |||
"suggested": true, | |||
"label": "Pronouns", | |||
"description": "Player's preferred pronouns.", | |||
"type": "line" | |||
}, | |||
"country": { | |||
"suggested": true, | |||
"label": "Country", | |||
"description": "Player's country of residence.", | |||
"type": "line" | |||
}, | |||
"timezone": { | |||
"suggested": true, | |||
"label": "Timezone", | |||
"description": "Player's timezone.", | |||
"type": "line" | |||
}, | |||
"languages": { | |||
"suggested": true, | |||
"label": "Languages", | |||
"description": "Languages spoken by the player.", | |||
"type": "line" | |||
}, | |||
"roles": { | |||
"suggested": true, | |||
"label": "TRP Roles", | |||
"description": "Player's roles on the server (staff, moderation, etc.).", | |||
"type": "content" | |||
}, | |||
"characters": { | |||
"suggested": true, | |||
"label": "Played characters", | |||
"description": "Characters played by this player.", | |||
"type": "content" | |||
}, | |||
"relations": { | |||
"suggested": true, | |||
"label": "Relations (OOC)", | |||
"description": "Out-of-character relationships with other players.", | |||
"type": "content" | |||
}, | |||
"discipline": { | |||
"suggested": true, | |||
"label": "Disciplinary record", | |||
"description": "Any disciplinary actions or warnings.", | |||
"type": "content" | |||
}, | |||
"notes": { | |||
"suggested": true, | |||
"label": "Notes", | |||
"description": "Additional notes about the player.", | |||
"type": "content" | |||
} | |||
}, | |||
"sets": [], | |||
"paramOrder": [ | |||
"username", | |||
"avatar", | |||
"caption", | |||
"status", | |||
"aka", | |||
"discord", | |||
"joined", | |||
"age", | |||
"pronouns", | |||
"country", | |||
"timezone", | |||
"languages", | |||
"roles", | |||
"characters", | |||
"relations", | |||
"discipline", | |||
"notes" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
<includeonly> | |||
[[Category:Player]] | |||
</includeonly> | |||
Revision as of 11:01, 4 September 2025
<infobox> <title source="username"> <default>Infobox Player</default> <format>{{{username}}}</format> </title> <image source="avatar">
</image> <label>Status</label> <format>❌ SYNTAX ERROR </format> <label>Username</label> <format>{{{username}}}</format> <label>Also known as</label> <format>{{{aka}}}</format> <label>Discord</label> <format>{{{discord}}}</format> <label>Joined TRP</label> <format>{{{joined}}}</format> <group collapse="open"> <header>Out-of-character</header> <label>Age</label> <format>{{{age}}}</format> <label>Pronouns</label> <format>{{{pronouns}}}</format> <label>Country</label> <format>{{{country}}}</format> <label>Timezone</label> <format>{{{timezone}}}</format> <label>Languages</label> <format>{{{languages}}}</format> </group> <group collapse="open"> <header>TRP Activity</header> <label>TRP Roles</label> <format>{{{roles}}}</format> <label>Played characters</label> <format>{{{characters}}}</format> <label>Relations (OOC)</label> <format>{{{relations}}}</format> </group> <group collapse="open"> <header>Administrative</header> <label>Disciplinary record</label> <format>{{{discipline}}}</format> <label>Notes</label> <format>{{{notes}}}</format> </group> </infobox>
Usage
On a player page, add:
{{Infobox Player
|username = John Doe
|avatar = Avatar_JohnDoe.jpg
|caption = Long-time TRP player
|status = Active
|aka = JohnDoe2, JDoe
|discord = JohnDoe#1234
|joined = September 2025
|age = 24
|pronouns = he/him
|country = USA
|timezone = EST (UTC-5)
|languages = English, Spanish
|roles =
* Player (2022–present)
* Moderation (previously, quit in 2023)
|characters = [[Jane Tanaka]], [[Kenji Sato]]
|relations =
* Friend of [[Jane Doe]]
* Worked with [[Richard Roe]] in Business faction
|discipline =
* Warning — March 2023 (spamming)
* 3-day ban — July 2024 (combat logging)
|notes = Returned in 2025 with good standing.
}}
- Avatar
Upload player avatars as image files and reference them in the |avatar= parameter.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Username | username | If the field is empty, the page name will be automatically added. | Line | optional |
| Avatar image | avatar | no description | File | suggested |
| Avatar caption | caption | no description | Line | suggested |
| Status | status | Player's current status on the server.
| Line | required |
| Also known as | aka | Alternative usernames or nicknames. | Content | suggested |
| Discord | discord | Player's Discord username | Line | optional |
| Joined TRP | joined | When the player joined the server. | Line | suggested |
| Age | age | Player's real-life age (out-of-character). | Line | suggested |
| Pronouns | pronouns | Player's preferred pronouns. | Line | suggested |
| Country | country | Player's country of residence. | Line | suggested |
| Timezone | timezone | Player's timezone. | Line | suggested |
| Languages | languages | Languages spoken by the player. | Line | suggested |
| TRP Roles | roles | Player's roles on the server (staff, moderation, etc.). | Content | suggested |
| Played characters | characters | Characters played by this player. | Content | suggested |
| Relations (OOC) | relations | Out-of-character relationships with other players. | Content | suggested |
| Disciplinary record | discipline | Any disciplinary actions or warnings. | Content | suggested |
| Notes | notes | Additional notes about the player. | Content | suggested |