Deprecated: Use of MediaWiki\Skin\Skin::appendSpecialPagesLinkIfAbsent was deprecated in MediaWiki 1.44. [Called from MediaWiki\Skin\Skin::buildSidebar in /home/u764469453/domains/takashimarp.com/public_html/wiki/includes/skins/Skin.php at line 1639] in /home/u764469453/domains/takashimarp.com/public_html/wiki/includes/debug/MWDebug.php on line 386
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox Player: Difference between revisions

Template page
[checked revision][checked revision]
mNo edit summary
mNo edit summary
Line 1: Line 1:
<templatestyles src="Infobox Player/styles.css" />
<infobox>
 
<title source="username">
{| class="infobox-player"
<default><span style="display:block;text-align:center;padding:10px">{{PAGENAME}}</span></default>
|+ class="infobox-title" | {{{username|Unknown Player}}}
<format><span style="display:block;text-align:center;padding:10px">{{{username}}}</span></format>
 
</title>
|-
<image source="avatar">
! class="infobox-image" colspan="2" |
<caption source="caption"/>
  <!-- Avatar: respecte strictement ta logique #titleparts -->
</image>
  [[File:Avatar_{{#titleparts:{{PAGENAME}}|1|2}}.jpg|200px|center]]
<data source="status">
  {{#ifexist:File:Avatar_{{#titleparts:{{PAGENAME}}|1|2}}.jpeg
<label><span style="display:block;text-align:center;padding:10px">Status</span></label>
    | [[File:Avatar_{{#titleparts:{{PAGENAME}}|1|2}}.jpeg|200px|center]]
<format><span style="display:block;text-align:right;padding:10px">{{StatusBadges|{{{status}}}}}</span></format>
    | {{#ifexist:File:Avatar_{{#titleparts:{{PAGENAME}}|1|2}}.png
</data>
        | [[File:Avatar_{{#titleparts:{{PAGENAME}}|1|2}}.png|200px|center]]
<data source="username">
        | [[File:No-avatar-placeholder.png|200px|center|link=]]
<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">
| class="infobox-upload" colspan="2" |
<label><span style="display:block;text-align:center;padding:10px">Also known as</span></label>
[{{fullurl:Special:FlexiUpload
<format><span style="display:block;text-align:right;padding:10px">{{{aka}}}</span></format>
| campaign=players&username={{#titleparts:{{PAGENAME}}|1|2}}
</data>
}} '''⬆ Upload your avatar here''']
<data source="discord">
|-
<label><span style="display:block;text-align:center;padding:10px">Discord</span></label>
| class="infobox-caption" colspan="2" | {{{caption|}}}
<format><span style="display:block;text-align:right;padding:10px">{{{discord}}}</span></format>
 
</data>
|-
<data source="joined">
! class="infobox-section" colspan="2" | Player information
<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>
! class="infobox-label" | Username
</data>
| class="infobox-data" | {{{username|}}}
<group collapse="open">
|-
<header><span style="display:block;text-align:center;padding:10px">Out-of-character</span></header>
! class="infobox-label" | Also known as
<data source="age">
| class="infobox-data" | {{#if: {{{aka|}}} | {{#arraymap: {{{aka|}}} | , | @ | @ }} | }}
<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>
! class="infobox-label" | Discord
</data>
| class="infobox-data" | {{{discord|}}}
<data source="pronouns">
|-
<label><span style="display:block;text-align:center;padding:10px">Pronouns</span></label>
! class="infobox-label" | Joined TRP
<format><span style="display:block;text-align:right;padding:10px">{{{pronouns}}}</span></format>
| class="infobox-data" | {{{joined|}}}
</data>
|-
<data source="country">
! class="infobox-label" | Timezone
<label><span style="display:block;text-align:center;padding:10px">Country</span></label>
| class="infobox-data" | {{{timezone|}}}
<format><span style="display:block;text-align:right;padding:10px">{{{country}}}</span></format>
|-
</data>
! class="infobox-label" | Languages
<data source="timezone">
| class="infobox-data" | {{{languages|}}}
<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>
! class="infobox-section" colspan="2" | Out-of-character
<data source="languages">
|-
<label><span style="display:block;text-align:center;padding:10px">Languages</span></label>
! class="infobox-label" | Age
<format><span style="display:block;text-align:right;padding:10px">{{{languages}}}</span></format>
| class="infobox-data" | {{{age|}}}
</data>
|-
</group>
! class="infobox-label" | Pronouns
<group collapse="open">
| class="infobox-data" | {{{pronouns|}}}
<header><span style="display:block;text-align:center;padding:10px">TRP Activity</span></header>
|-
<data source="roles">
! class="infobox-label" | Country
<label><span style="display:block;text-align:center;padding:10px">TRP Roles</span></label>
| class="infobox-data" | {{{country|}}}
<format><span style="display:block;text-align:right;padding:10px">{{{roles}}}</span></format>
|-
</data>
! class="infobox-label" | Current status
<data source="characters">
| class="infobox-data" | {{{status|Active}}}
<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>
! class="infobox-section" colspan="2" | TRP Roles
<data source="relations">
|-
<label><span style="display:block;text-align:center;padding:10px">Relations (OOC)</span></label>
| class="infobox-block" colspan="2" | {{{roles|}}}
<format><span style="display:block;text-align:right;padding:10px">{{{relations}}}</span></format>
 
</data>
|-
</group>
! class="infobox-section" colspan="2" | Roleplay activity
<group collapse="open">
|-
<header><span style="display:block;text-align:center;padding:10px">Administrative</span></header>
! class="infobox-label" | Played characters
<data source="discipline">
| class="infobox-data" | {{{characters|}}}
<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>
! class="infobox-label" | Relations (OOC)
</data>
| class="infobox-data" | {{{relations|}}}
<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>
! class="infobox-section" colspan="2" | Disciplinary record
</data>
|-
</group>
| class="infobox-block" colspan="2" | {{{discipline|None}}}
</infobox>
 
|-
! class="infobox-section" colspan="2" | Notes
|-
| class="infobox-block" colspan="2" | {{{notes|}}}
|}
<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
|caption    = Long-time TRP player
  |discord    = JohnDoe#1234
  |discord    = JohnDoe#1234
  |joined    = September 2025
  |joined    = September 2025
|timezone  = EST (UTC-5)
|languages  = English, Spanish
  |age        = 24
  |age        = 24
  |pronouns  = he/him
  |pronouns  = he/him
  |country    = USA
  |country    = USA
  |status    = Active
  |timezone  = EST (UTC-5)
|languages  = English, Spanish
  |roles      =  
  |roles      =  
* Player (2022–present)
* Player (2022–present)
Line 115: Line 110:


; Avatar
; Avatar
Files are expected as <code>Avatar_&lt;username&gt;.(jpg|jpeg|png)</code>. The username
Upload player avatars as image files and reference them in the <code>|avatar=</code> parameter.
defaults to the subpage name (e.g., <code>Players/Kowaulsky</code> → <code>Kowaulsky</code>), or to <code>|username=</code> if provided.
 
<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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Usernameusername

If the field is empty, the page name will be automatically added.

Lineoptional
Avatar imageavatar

no description

Filesuggested
Avatar captioncaption

no description

Linesuggested
Statusstatus

Player's current status on the server.

Suggested values
Active Retired
Default
Active
Auto value
Active
Linerequired
Also known asaka

Alternative usernames or nicknames.

Contentsuggested
Discorddiscord

Player's Discord username

Lineoptional
Joined TRPjoined

When the player joined the server.

Linesuggested
Ageage

Player's real-life age (out-of-character).

Linesuggested
Pronounspronouns

Player's preferred pronouns.

Linesuggested
Countrycountry

Player's country of residence.

Linesuggested
Timezonetimezone

Player's timezone.

Linesuggested
Languageslanguages

Languages spoken by the player.

Linesuggested
TRP Rolesroles

Player's roles on the server (staff, moderation, etc.).

Contentsuggested
Played characterscharacters

Characters played by this player.

Contentsuggested
Relations (OOC)relations

Out-of-character relationships with other players.

Contentsuggested
Disciplinary recorddiscipline

Any disciplinary actions or warnings.

Contentsuggested
Notesnotes

Additional notes about the player.

Contentsuggested


Contents