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
[unchecked revision][checked revision]
mNo edit summary
Tag: Manual revert
mNo edit summary
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox trp-player" style="width:300px; border:1px solid #aaa; background:#f9f9f9; float:right; margin:0 0 1em 1em; font-size:90%;"
<includeonly><div style="width:350px; float:right; margin:0 0 1em 1em; font-size:90%; border:1px solid var(--border-color-base, #a2a9b1); background:var(--background-color-base, #fff); color:var(--color-base, #000);">
|+ style="font-size:120%; font-weight:bold; background:#d9edf7; text-align:center;" | {{{username|Unknown Player}}}
<div style="font-size:120%; font-weight:bold; text-align:center; padding:8px; background-color:var(--background-color-neutral-subtle, #f8f9fa); border-bottom:1px solid var(--border-color-base, #a2a9b1); color:var(--color-base, #000);">{{{username|{{PAGENAME}}}}}</div>
{{#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_{{#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>
{{#if:{{{caption|}}}|<div style="text-align:center; font-size:85%; color:var(--color-subtle, #666); padding:5px; background:var(--background-color-base, #fff);">{{{caption}}}</div>|}}


|-
<div style="text-align:center; font-weight:bold; font-size:110%; padding:8px; background-color:var(--background-color-neutral-subtle, #f8f9fa); border-top:1px solid var(--border-color-base, #a2a9b1); border-bottom:1px solid var(--border-color-base, #a2a9b1); color:var(--color-emphasized, #000);">Player information</div>
| style="text-align:center;" | [[File:Avatar-{{BASEPAGENAME}}.png|200px]]
<table style="width:100%; padding:5px; background:var(--background-color-base, #fff);">
|-
{{#if:{{{username|}}}|<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Username</td><td style="padding:4px; color:var(--color-base, #000);">{{{username}}}</td></tr>|}}
| style="text-align:center; font-size:85%;" | [{{fullurl:Special:UploadWizard
<tr style="vertical-align:top;"><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Also known as</td><td style="padding:4px; color:var(--color-base, #000);">
| campaign=PlayerAvatar
{{{aka|<span style="color:var(--color-subtle, #999); font-style:italic;">Not specified</span>}}}
}} '''⬆ Upload your avatar here''']
</td></tr>
|-
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Discord</td><td style="padding:4px; color:var(--color-base, #000);">{{{discord|<span style="color:var(--color-subtle, #999); font-style:italic;">Not provided</span>}}}</td></tr>
| style="text-align:center; font-size:85%; color:#555;" | {{{caption|}}}
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Joined TRP</td><td style="padding:4px; color:var(--color-base, #000);">{{#if:{{{joined|}}}|{{#time: F j, Y | {{{joined}}} }}|<span style="color:var(--color-subtle, #999); font-style:italic;">Unknown</span>}}</td></tr>
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Timezone</td><td style="padding:4px; color:var(--color-base, #000);">{{{timezone|<span style="color:var(--color-subtle, #999); font-style:italic;">Not specified</span>}}}</td></tr>
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Languages</td><td style="padding:4px; color:var(--color-base, #000);">{{{languages|<span style="color:var(--color-subtle, #999); font-style:italic;">Not specified</span>}}}</td></tr>
</table>


|-
<div style="text-align:center; font-weight:bold; font-size:110%; padding:8px; background-color:var(--background-color-neutral-subtle, #f8f9fa); border-top:1px solid var(--border-color-base, #a2a9b1); border-bottom:1px solid var(--border-color-base, #a2a9b1); color:var(--color-emphasized, #000);">Out-of-character</div>
! colspan="2" style="background:#e9eef7; text-align:left;" | Player information
<table style="width:100%; padding:5px; background:var(--background-color-base, #fff);">
|-
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Age</td><td style="padding:4px; color:var(--color-base, #000);">{{#if:{{{birthdate|}}}|{{#expr: {{#time: Y }} - {{#time: Y | {{{birthdate}}} }} - {{#ifexpr: {{#time: n }} > {{#time: n | {{{birthdate}}} }} or ({{#time: n }} = {{#time: n | {{{birthdate}}} }} and {{#time: j }} >= {{#time: j | {{{birthdate}}} }}) | 0 | 1 }} }} (born {{#time: F j, Y | {{{birthdate}}} }})|<span style="color:var(--color-subtle, #999); font-style:italic;">Not specified</span>}}</td></tr>
! Username
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Pronouns</td><td style="padding:4px; color:var(--color-base, #000);">{{{pronouns|<span style="color:var(--color-subtle, #999); font-style:italic;">Not specified</span>}}}</td></tr>
| {{{username|}}}
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Country</td><td style="padding:4px; color:var(--color-base, #000);">{{{country|<span style="color:var(--color-subtle, #999); font-style:italic;">Not specified</span>}}}</td></tr>
|-
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Current status</td><td style="padding:4px;">{{StatusBadges|{{{status|Active}}}}}</td></tr>
! Also known as
</table>
| {{#if: {{{aka|}}} | {{#arraymap: {{{aka|}}} | , | @ | * [[{{FULLPAGENAME}}|@]] }} | }}
|-
! Discord
| {{{discord|}}}
|-
! Joined TRP
| {{{joined|}}}
|-
! Timezone
| {{{timezone|}}}
|-
! Languages
| {{{languages|}}}


|-
<div style="text-align:center; font-weight:bold; font-size:110%; padding:8px; background-color:var(--background-color-neutral-subtle, #f8f9fa); border-top:1px solid var(--border-color-base, #a2a9b1); border-bottom:1px solid var(--border-color-base, #a2a9b1); color:var(--color-emphasized, #000);">TRP Roles</div>
! colspan="2" style="background:#e9eef7; text-align:left;" | Out-of-character
<div style="padding:8px; background:var(--background-color-base, #fff); color:var(--color-base, #000);">
|-
{{{roles|<span style="color:var(--color-subtle, #999); font-style:italic;">Player</span>}}}
! Age
</div>
| {{{age|}}}
|-
! Pronouns
| {{{pronouns|}}}
|-
! Country
| {{{country|}}}
|-
! Current status
| {{{status|Active}}}


|-
<div style="text-align:center; font-weight:bold; font-size:110%; padding:8px; background-color:var(--background-color-neutral-subtle, #f8f9fa); border-top:1px solid var(--border-color-base, #a2a9b1); border-bottom:1px solid var(--border-color-base, #a2a9b1); color:var(--color-emphasized, #000);">Roleplay activity</div>
! colspan="2" style="background:#e9eef7; text-align:left;" | TRP Roles
<table style="width:100%; padding:5px; background:var(--background-color-base, #fff);">
|-
<tr style="vertical-align:top;"><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Played characters</td><td style="padding:4px; color:var(--color-base, #000);">
| colspan="2" style="padding:4px;" | {{{roles|}}}
{{{characters|<span style="color:var(--color-subtle, #999); font-style:italic;">No characters listed</span>}}}
</td></tr>
<tr style="vertical-align:top;"><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Relations (OOC)</td><td style="padding:4px; color:var(--color-base, #000);">
{{{relations|<span style="color:var(--color-subtle, #999); font-style:italic;">No relations listed</span>}}}
</td></tr>
</table>


|-
<div style="text-align:center; font-weight:bold; font-size:110%; padding:8px; background-color:var(--background-color-neutral-subtle, #f8f9fa); border-top:1px solid var(--border-color-base, #a2a9b1); border-bottom:1px solid var(--border-color-base, #a2a9b1); color:var(--color-emphasized, #000);">Disciplinary record</div>
! colspan="2" style="background:#e9eef7; text-align:left;" | Roleplay activity
<div style="padding:8px; background:var(--background-color-base, #fff); color:var(--color-base, #000);">
|-
{{{discipline|None}}}
! Played characters
</div>
| {{{characters|}}}
|-
! Relations (OOC)
| {{{relations|}}}


|-
</div></includeonly>
! colspan="2" style="background:#e9eef7; text-align:left;" | Disciplinary record
<includeonly>[[Category:Players]]</includeonly><noinclude>
|-
| colspan="2" style="padding:4px;" | {{{discipline|None}}}
 
|-
! colspan="2" style="background:#e9eef7; text-align:left;" | Notes
|-
| colspan="2" style="padding:4px;" | {{{notes|}}}
|}
<noinclude>
== Usage ==
== Usage ==
On a '''player page''', add:
On a '''player page''', add:
Line 78: Line 56:
{{Infobox Player
{{Infobox Player
  |username  = John Doe
  |username  = John Doe
  |aka        = JohnDoe2, JDoe
  |avatar    = Avatar_JohnDoe.jpg
  |caption    = Long-time TRP player
  |caption    = Long-time TRP player
|status    = Active
|aka        =
* JohnDoe2
* JDoe
  |discord    = JohnDoe#1234
  |discord    = JohnDoe#1234
  |joined    = September 2025
  |joined    = 2025-09-15
|birthdate  = 2001-05-20
|pronouns  = he/him
|country    = USA
  |timezone  = EST (UTC-5)
  |timezone  = EST (UTC-5)
  |languages  = English, Spanish
  |languages  = English, Spanish
|age        = 24
|pronouns  = he/him
|country    = USA
|status    = Active
  |roles      =  
  |roles      =  
* Player (2022–present)
* Player (2022–present)
* Moderation (previously, quit in 2023)
* Moderation (previously, quit in 2023)
  |characters = [[Jane Tanaka]], [[Kenji Sato]]
  |characters =  
* [[Jane Tanaka]]
* [[Kenji Sato]]
  |relations  =  
  |relations  =  
* Friend of [[Jane Doe]]
* Friend of Falcøn40k
* Worked with [[Richard Roe]] in Business faction
* Worked with Richard Roe in Business faction
  |discipline =  
  |discipline =  
* Warning March 2023 (spamming)
* Warning March 2023 (spamming)
* 3-day ban July 2024 (combat logging)
* 3-day ban July 2024 (combat logging)
|notes      = Returned in 2025 with good standing.
}}
}}
</pre>
</pre>


; Username
=== Important Notes ===
Enter the primary username for the player. This will link to the current player profile page.
 
==== Date Formats ====
* '''joined''': Use ISO format (YYYY-MM-DD) for consistent display. Example: <code>2025-08-24</code>
* '''birthdate''': Use ISO format (YYYY-MM-DD) for age calculation. Example: <code>2005-03-15</code>
 
==== List Format ====
For fields that support lists (aka, roles, characters, relations, discipline), use MediaWiki list syntax:
<pre>
|field =
* First item
* Second item
* Third item
</pre>


; Also known as
==== Player Links in Relations ====
Enter any alternative usernames (aliases), separated by commas (e.g., JohnDoe2, JDoe). These will link to the current player profile page.
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.


; Avatar
This template uses CSS variables that automatically adapt to the Citizen skin's light/dark theme.
The infobox will automatically display the file '''Avatar-USERNAME.png'''. 
To set your avatar, click '''⬆ Upload your avatar here''' under the placeholder and upload a square PNG/JPG.
</noinclude>
</noinclude>

Latest revision as of 10:30, 5 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)
}}

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.