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 3: Line 3:
{{#if:{{{avatar|}}}|
{{#if:{{{avatar|}}}|
<div style="text-align:center; padding:10px; background:var(--background-color-base, #fff);">[[File:{{{avatar}}}|200px]]</div>
<div style="text-align:center; padding:10px; background:var(--background-color-base, #fff);">[[File:{{{avatar}}}|200px]]</div>
|<div style="text-align:center; padding:10px; background:var(--background-color-base, #fff);">[[File:Avatar-{{#titleparts:{{PAGENAME}}|1|2}}.png|200px]]</div>
|<div style="text-align:center; padding:10px; background:var(--background-color-base, #fff);">[[File:Avatar_{{#titleparts:{{PAGENAME}}|1|2}}.png|200px]]</div>
}}
}}
<div style="text-align:center; font-size:85%; padding:5px; background:var(--background-color-base, #fff); color:var(--color-base, #000);">[{{fullurl:Special:FlexiUpload|campaign=players&username={{#titleparts:{{PAGENAME}}|1|2}}}} '''↑ Upload your avatar here''']</div>
<div style="text-align:center; font-size:85%; padding:5px; background:var(--background-color-base, #fff); color:var(--color-base, #000);">[{{fullurl:Special:FlexiUpload|campaign=players&username={{#titleparts:{{PAGENAME}}|1|2}}}} '''↑ Upload your avatar here''']</div>

Revision as of 17:46, 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     = 2025-09-15
 |birthdate  = 2001-05-20
 |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 Falcøn40k
* 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.
}}

Important Notes

Date Formats

  • joined: Use ISO format (YYYY-MM-DD) for consistent display. Example: 2025-08-24
  • birthdate: Use ISO format (YYYY-MM-DD) for age calculation. Example: 2005-03-15

List Format

For fields that support lists (aka, roles, characters, relations, discipline), use MediaWiki list syntax:

 |field = 
* First item
* Second item
* Third item

The relations field automatically creates links to player pages. Just write the player's username and the template will check if their page exists and link to it accordingly.

This template uses CSS variables that automatically adapt to the Citizen skin's light/dark theme.