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:
<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);">
<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);">
<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>
<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);">{{{name|{{PAGENAME}}}}}</div>
{{#if:{{{avatar|}}}|
{{#if:{{{image|}}}|
<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:{{{image}}}|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:Character-{{#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=characters&charactername={{#titleparts:{{PAGENAME}}|1|2}}}} '''↑ Upload character image 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>|}}
{{#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>
<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);">Basic information</div>
<table style="width:100%; padding:5px; background:var(--background-color-base, #fff);">
<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>|}}
{{#if:{{{fullname|}}}|<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Full name</td><td style="padding:4px; color:var(--color-base, #000);">{{{fullname}}}</td></tr>|}}
<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);">
<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);">
{{{aka|<span style="color:var(--color-subtle, #999); font-style:italic;">Not specified</span>}}}
{{{aka|<span style="color:var(--color-subtle, #999); font-style:italic;">None</span>}}}
</td></tr>
</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>
<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}}} }})|{{{age|<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);">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);">Gender</td><td style="padding:4px; color:var(--color-base, #000);">{{{gender|<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);">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);">Nationality</td><td style="padding:4px; color:var(--color-base, #000);">{{{nationality|<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);">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>
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Current status</td><td style="padding:4px;">{{StatusBadges|{{{status|CharacterPresent}}}}}</td></tr>
</table>
</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>
<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);">Physical description</div>
<table style="width:100%; padding:5px; background:var(--background-color-base, #fff);">
<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>
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Height</td><td style="padding:4px; color:var(--color-base, #000);">{{{height|<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);">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>
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Weight</td><td style="padding:4px; color:var(--color-base, #000);">{{{weight|<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);">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);">Hair color</td><td style="padding:4px; color:var(--color-base, #000);">{{{hair|<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>
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Eye color</td><td style="padding:4px; color:var(--color-base, #000);">{{{eyes|<span style="color:var(--color-subtle, #999); font-style:italic;">Not specified</span>}}}</td></tr>
</table>
</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);">TRP Roles</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);">Background</div>
<div style="padding:8px; background:var(--background-color-base, #fff); color:var(--color-base, #000);">
<table style="width:100%; padding:5px; background:var(--background-color-base, #fff);">
{{{roles|<span style="color:var(--color-subtle, #999); font-style:italic;">Player</span>}}}
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Birthplace</td><td style="padding:4px; color:var(--color-base, #000);">{{{birthplace|<span style="color:var(--color-subtle, #999); font-style:italic;">Unknown</span>}}}</td></tr>
</div>
<tr style="vertical-align:top;"><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Occupation</td><td style="padding:4px; color:var(--color-base, #000);">
{{{occupation|<span style="color:var(--color-subtle, #999); font-style:italic;">Not specified</span>}}}
</td></tr>
<tr style="vertical-align:top;"><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Affiliations</td><td style="padding:4px; color:var(--color-base, #000);">
{{{affiliations|<span style="color:var(--color-subtle, #999); font-style:italic;">None</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);">Roleplay activity</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);">Relationships</div>
<table style="width:100%; padding:5px; background:var(--background-color-base, #fff);">
<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);">
<tr style="vertical-align:top;"><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Family</td><td style="padding:4px; color:var(--color-base, #000);">
{{{characters|<span style="color:var(--color-subtle, #999); font-style:italic;">No characters listed</span>}}}
{{{family|<span style="color:var(--color-subtle, #999); font-style:italic;">Unknown</span>}}}
</td></tr>
</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);">
<tr style="vertical-align:top;"><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Relations</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>}}}
{{{relations|<span style="color:var(--color-subtle, #999); font-style:italic;">None listed</span>}}}
</td></tr>
</td></tr>
</table>
</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>
<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);">OOC information</div>
<div style="padding:8px; background:var(--background-color-base, #fff); color:var(--color-base, #000);">
<table style="width:100%; padding:5px; background:var(--background-color-base, #fff);">
{{{discipline|None}}}
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">Player</td><td style="padding:4px; color:var(--color-base, #000);">{{#if:{{{player|}}}|{{AutoLink|type=players|target={{{player}}}}}|<span style="color:var(--color-subtle, #999); font-style:italic;">Not specified</span>}}</td></tr>
</div>
<tr><td style="width:30%; font-weight:bold; padding:4px; color:var(--color-subtle, #666);">First appearance</td><td style="padding:4px; color:var(--color-base, #000);">{{#if:{{{firstappearance|}}}|{{#time: F j, Y | {{{firstappearance}}} }}|<span style="color:var(--color-subtle, #999); font-style:italic;">Unknown</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);">Notes</div>
<div style="padding:8px; background:var(--background-color-base, #fff); color:var(--color-base, #000);">{{{notes|<span style="color:var(--color-subtle, #999); font-style:italic;">No additional notes</span>}}}</div>
</div></includeonly>
</div></includeonly>
<includeonly>[[Category:Players]]</includeonly><noinclude>
<includeonly>[[Category:Characters]]</includeonly><noinclude>
== Usage ==
== Usage ==
On a '''player page''', add:
On a '''character page''', add:


<pre>
<pre>
{{Infobox Player
{{Infobox Character
  |username  = John Doe
  |name        = John Tanaka
  |avatar    = Avatar_JohnDoe.jpg
  |image      = Character_JohnTanaka.jpg
  |caption   = Long-time TRP player
  |caption     = Current appearance (2025)
  |status     = Active
  |status     = CharacterPresent
  |aka       =  
|fullname    = John Kenji Tanaka
* JohnDoe2
  |aka         =  
* JDoe
* JT
  |discord    = JohnDoe#1234
* Johnny
  |joined    = 2025-09-15
  |birthdate  = 1995-03-15
  |birthdate  = 2001-05-20
  |age        =  
  |pronouns  = he/him
  |gender      = Male
  |country    = USA
  |nationality = Japanese-American
  |timezone  = EST (UTC-5)
  |height      = 5'10" (178 cm)
  |languages = English, Spanish
  |weight      = 165 lbs (75 kg)
  |roles      =  
  |hair        = Black
* Player (2022–present)
  |eyes        = Brown
* Moderation (previously, quit in 2023)
  |birthplace  = Kyoto, Japan
  |characters =  
  |occupation  =  
* [[Jane Tanaka]]
* Software Engineer
* [[Kenji Sato]]
* Freelance Web Developer
  |relations  =  
  |affiliations =  
* Friend of Falcøn40k
* TechCorp (employee)
* Worked with Richard Roe in Business faction
* Photography Club (member)
  |discipline =  
  |family      =  
* Warning – March 2023 (spamming)
* Kenji Tanaka (father)
* 3-day ban – July 2024 (combat logging)
* Mary Tanaka (mother)
  |notes      =  
* Lisa Tanaka (sister)
* Returned in 2025 with good standing
  |relations  =  
* Active in Discord community
* Best friend of [[Characters/Jane Smith]]
* Prefers roleplay over building
* Dating [[Characters/Sarah Wilson]]
|player      = Kowaulsky
|firstappearance = 2025-08-01
}}
}}
</pre>
</pre>


=== Important Notes ===
=== Important Notes ===
==== Character Status ====
Use one of the following values for the '''status''' parameter:
* '''CharacterPresent''' - Currently active and available
* '''CharacterAway''' - Temporarily absent or traveling
* '''CharacterDeceased''' - Character has died
* '''CharacterImprisoned''' - Currently incarcerated
* '''CharacterMissing''' - Disappeared or whereabouts unknown


==== Date Formats ====
==== 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>1995-03-15</code>
* '''birthdate''': Use ISO format (YYYY-MM-DD) for age calculation. Example: <code>2005-03-15</code>
* '''firstappearance''': Use ISO format (YYYY-MM-DD) for consistent display. Example: <code>2025-08-01</code>


==== List Format ====
==== List Format ====
For fields that support lists (aka, roles, characters, relations, discipline, notes), use MediaWiki list syntax:
For fields that support lists (aka, occupation, affiliations, family, relations), use MediaWiki list syntax:
<pre>
<pre>
  |field =  
  |field =  
Line 105: Line 120:
</pre>
</pre>


==== Player Links in Relations ====
==== Character Links in Relations ====
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.
The relations field can include links to other characters. Use the AutoLink template or regular MediaWiki links:
* <code><nowiki>[[Characters/Jane Smith]]</nowiki></code>
* <code><nowiki>{{AutoLink|type=characters|target=Jane Smith}}</nowiki></code>
 
==== Player Links ====
The player field automatically creates links to player pages using the AutoLink template.


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

Revision as of 10:28, 5 September 2025


Usage

On a character page, add:

{{Infobox Character
 |name        = John Tanaka
 |image       = Character_JohnTanaka.jpg
 |caption     = Current appearance (2025)
 |status      = CharacterPresent
 |fullname    = John Kenji Tanaka
 |aka         = 
* JT
* Johnny
 |birthdate   = 1995-03-15
 |age         = 
 |gender      = Male
 |nationality = Japanese-American
 |height      = 5'10" (178 cm)
 |weight      = 165 lbs (75 kg)
 |hair        = Black
 |eyes        = Brown
 |birthplace  = Kyoto, Japan
 |occupation  = 
* Software Engineer
* Freelance Web Developer
 |affiliations = 
* TechCorp (employee)
* Photography Club (member)
 |family      = 
* Kenji Tanaka (father)
* Mary Tanaka (mother)
* Lisa Tanaka (sister)
 |relations   = 
* Best friend of [[Characters/Jane Smith]]
* Dating [[Characters/Sarah Wilson]]
 |player      = Kowaulsky
 |firstappearance = 2025-08-01
}}

Important Notes

Character Status

Use one of the following values for the status parameter:

  • CharacterPresent - Currently active and available
  • CharacterAway - Temporarily absent or traveling
  • CharacterDeceased - Character has died
  • CharacterImprisoned - Currently incarcerated
  • CharacterMissing - Disappeared or whereabouts unknown

Date Formats

  • birthdate: Use ISO format (YYYY-MM-DD) for age calculation. Example: 1995-03-15
  • firstappearance: Use ISO format (YYYY-MM-DD) for consistent display. Example: 2025-08-01

List Format

For fields that support lists (aka, occupation, affiliations, family, relations), use MediaWiki list syntax:

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

The relations field can include links to other characters. Use the AutoLink template or regular MediaWiki links:

  • [[Characters/Jane Smith]]
  • {{AutoLink|type=characters|target=Jane Smith}}

The player field automatically creates links to player pages using the AutoLink template.

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