Template:Infobox Player: Difference between revisions
More actions
| [checked revision] | [checked revision] |
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | |||
<includeonly><div style="width:350px; float:right; margin:0 0 1em 1em; font-size:90%; border:1px solid #a2a9b1; background:#fff;"> | |||
<div style="font-size:120%; font-weight:bold; text-align:center; padding:8px; background-color:#f8f9fa; border-bottom:1px solid #a2a9b1;">{{{username|{{PAGENAME}}}}}</div> | |||
{{#if:{{{avatar|}}}| | {{#if:{{{avatar|}}}| | ||
<div style="text-align:center; padding:10px;">[[File:{{{avatar}}}|200px]]</div> | |||
|<div style="text-align:center; padding:10px;">[[File:Avatar-{{#titleparts:{{PAGENAME}}|1|2}}.png|200px]]</div> | |||
| | |||
}} | }} | ||
<div style="text-align:center; font-size:85%; padding:5px;">[{{fullurl:Special:FlexiUpload|campaign=players&username={{#titleparts:{{PAGENAME}}|1|2}}}} '''↑ Upload your avatar here''']</div> | |||
{{#if:{{{caption|}}}|<div style="text-align:center; font-size:85%; color:#555; padding:5px;">{{{caption}}}</div>|}} | |||
{{#if:{{{caption|}}}| | |||
<div style="text-align:center; font-weight:bold; font-size:110%; padding:8px; background-color:#f8f9fa; border-top:1px solid #a2a9b1; border-bottom:1px solid #a2a9b1;">Player information</div> | |||
<table style="width:100%; padding:5px;"> | |||
{{#if:{{{username|}}}|<tr><td style="width:30%; font-weight:bold; padding:4px;">Username</td><td style="padding:4px;">{{{username}}}</td></tr>|}} | |||
{{#if:{{{aka|}}}|<tr><td style="width:30%; font-weight:bold; padding:4px;">Also known as</td><td style="padding:4px;">{{{aka}}}</td></tr>|}} | |||
{{#if:{{{discord|}}}|<tr><td style="width:30%; font-weight:bold; padding:4px;">Discord</td><td style="padding:4px;">{{{discord}}}</td></tr>|}} | |||
{{#if:{{{username|}}}| | {{#if:{{{joined|}}}|<tr><td style="width:30%; font-weight:bold; padding:4px;">Joined TRP</td><td style="padding:4px;">{{{joined}}}</td></tr>|}} | ||
{{#if:{{{timezone|}}}|<tr><td style="width:30%; font-weight:bold; padding:4px;">Timezone</td><td style="padding:4px;">{{{timezone}}}</td></tr>|}} | |||
{{#if:{{{languages|}}}|<tr><td style="width:30%; font-weight:bold; padding:4px;">Languages</td><td style="padding:4px;">{{{languages}}}</td></tr>|}} | |||
</table> | |||
}} | |||
{{#if:{{{aka|}}}| | <div style="text-align:center; font-weight:bold; font-size:110%; padding:8px; background-color:#f8f9fa; border-top:1px solid #a2a9b1; border-bottom:1px solid #a2a9b1;">Out-of-character</div> | ||
<table style="width:100%; padding:5px;"> | |||
{{#if:{{{age|}}}|<tr><td style="width:30%; font-weight:bold; padding:4px;">Age</td><td style="padding:4px;">{{{age}}}</td></tr>|}} | |||
{{#if:{{{pronouns|}}}|<tr><td style="width:30%; font-weight:bold; padding:4px;">Pronouns</td><td style="padding:4px;">{{{pronouns}}}</td></tr>|}} | |||
}} | {{#if:{{{country|}}}|<tr><td style="width:30%; font-weight:bold; padding:4px;">Country</td><td style="padding:4px;">{{{country}}}</td></tr>|}} | ||
{{#if:{{{discord|}}}| | <tr><td style="width:30%; font-weight:bold; padding:4px;">Current status</td><td style="padding:4px;">{{StatusBadges|{{{status|Active}}}}}</td></tr> | ||
</table> | |||
<div style="text-align:center; font-weight:bold; font-size:110%; padding:8px; background-color:#f8f9fa; border-top:1px solid #a2a9b1; border-bottom:1px solid #a2a9b1;">TRP Roles</div> | |||
}} | <div style="padding:8px;">{{#if:{{{roles|}}}|{{{roles}}}|None}}</div> | ||
{{#if:{{{joined|}}}| | |||
<div style="text-align:center; font-weight:bold; font-size:110%; padding:8px; background-color:#f8f9fa; border-top:1px solid #a2a9b1; border-bottom:1px solid #a2a9b1;">Roleplay activity</div> | |||
<table style="width:100%; padding:5px;"> | |||
{{#if:{{{characters|}}}|<tr><td style="width:30%; font-weight:bold; padding:4px;">Played characters</td><td style="padding:4px;">{{{characters}}}</td></tr>|}} | |||
}} | {{#if:{{{relations|}}}|<tr><td style="width:30%; font-weight:bold; padding:4px;">Relations (OOC)</td><td style="padding:4px;">{{{relations}}}</td></tr>|}} | ||
{{#if:{{{timezone|}}}| | </table> | ||
<div style="text-align:center; font-weight:bold; font-size:110%; padding:8px; background-color:#f8f9fa; border-top:1px solid #a2a9b1; border-bottom:1px solid #a2a9b1;">Disciplinary record</div> | |||
<div style="padding:8px;">{{{discipline|None}}}</div> | |||
}} | |||
{{#if:{{{languages|}}}| | |||
{{#if:{{{age|}}}| | |||
}} | |||
{{#if:{{{pronouns|}}}| | |||
}} | |||
{{#if:{{{country|}}}| | |||
}} | |||
{{#if:{{{roles|}}}| | |||
| | |||
{{#if:{{{characters|}}}| | |||
}} | |||
{{#if:{{{relations|}}}| | |||
{{#if:{{{notes|}}}| | {{#if:{{{notes|}}}| | ||
<div style="text-align:center; font-weight:bold; font-size:110%; padding:8px; background-color:#f8f9fa; border-top:1px solid #a2a9b1; border-bottom:1px solid #a2a9b1;">Notes</div> | |||
<div style="padding:8px;">{{{notes}}}</div> | |||
|}} | |||
}} | </div>[[Category:Players]]</includeonly><noinclude> | ||
[[Category:Players]] | |||
</includeonly> | |||
<noinclude> | |||
== Usage == | == Usage == | ||
On a '''player page''', add: | On a '''player page''', add: | ||
Revision as of 13:40, 4 September 2025
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 |