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:
{| class="infobox trp-player" style="width:300px; border:1px solid #aaa; background:#f9f9f9; float:right; margin:0 0 1em 1em; font-size:90%;"
<templatestyles src="Infobox Player/styles.css" />
|+ style="font-size:120%; font-weight:bold; background:#d9edf7; text-align:center;" | {{{username|Unknown Player}}}
 
{{#vardefine:uname|{{#if:{{{username|}}}|{{{username}}}|{{#titleparts:{{PAGENAME}}|1|2}}}}}}
{{#vardefine:unameE|{{urlencode:{{#var:uname}}|WIKI}}}}
 
{| class="infobox-player"
|+ class="infobox-title" | {{{username|Unknown Player}}}


|-
|-
| style="text-align:center;" | {{#ifexist:File:Avatar_{{#titleparts:{{PAGENAME}}|1|2}}.jpg
! class="infobox-image" colspan="2" |
| [[File:Avatar_{{#titleparts:{{PAGENAME}}|1|2}}.jpg|200px]]
  {{#ifexist:File:Avatar_{{#var:unameE}}.jpg
| {{#ifexist:File:Avatar_{{#titleparts:{{PAGENAME}}|1|2}}.jpeg
  | [[File:Avatar_{{#var:unameE}}.jpg|200px|center]]
  | [[File:Avatar_{{#titleparts:{{PAGENAME}}|1|2}}.jpeg|200px]]
  | {{#ifexist:File:Avatar_{{#var:unameE}}.jpeg
  | {{#ifexist:File:Avatar_{{#titleparts:{{PAGENAME}}|1|2}}.png
    | [[File:Avatar_{{#var:unameE}}.jpeg|200px|center]]
    | [[File:Avatar_{{#titleparts:{{PAGENAME}}|1|2}}.png|200px]]
    | {{#ifexist:File:Avatar_{{#var:unameE}}.png
    | [[File:No-avatar-placeholder.png|200px|link=]]
      | [[File:Avatar_{{#var:unameE}}.png|200px|center]]
      | [[File:No-avatar-placeholder.png|200px|center|link=]]
      }}
     }}
     }}
   }}
   }}
}}
|-
|-
| style="text-align:center; font-size:85%;" | [{{fullurl:Special:FlexiUpload
| class="infobox-upload" colspan="2" |
| campaign=players&username={{#titleparts:{{PAGENAME}}|1|2}}
[{{fullurl:Special:FlexiUpload | campaign=players&username={{#var:unameE}}}} '''⬆ Upload your avatar here''']
}} '''⬆ Upload your avatar here''']
|-
|-
| style="text-align:center; font-size:85%; color:#555;" | {{{caption|}}}
| class="infobox-caption" colspan="2" | {{{caption|}}}


|-
|-
! colspan="2" style="background:#e9eef7; text-align:left;" | Player information
! class="infobox-section" colspan="2" | Player information
|-
|-
! Username
! class="infobox-label" | Username
| {{{username|}}}
| class="infobox-data" | {{{username|}}}
|-
|-
! Also known as
! class="infobox-label" | Also known as
| {{#if: {{{aka|}}} | {{#arraymap: {{{aka|}}} | , | @ | * [[{{FULLPAGENAME}}|@]] }} | }}
| class="infobox-data" | {{#if: {{{aka|}}} | {{#arraymap: {{{aka|}}} | , | @ | @ }} | }}
|-
|-
! Discord
! class="infobox-label" | Discord
| {{{discord|}}}
| class="infobox-data" | {{{discord|}}}
|-
|-
! Joined TRP
! class="infobox-label" | Joined TRP
| {{{joined|}}}
| class="infobox-data" | {{{joined|}}}
|-
|-
! Timezone
! class="infobox-label" | Timezone
| {{{timezone|}}}
| class="infobox-data" | {{{timezone|}}}
|-
|-
! Languages
! class="infobox-label" | Languages
| {{{languages|}}}
| class="infobox-data" | {{{languages|}}}


|-
|-
! colspan="2" style="background:#e9eef7; text-align:left;" | Out-of-character
! class="infobox-section" colspan="2" | Out-of-character
|-
|-
! Age
! class="infobox-label" | Age
| {{{age|}}}
| class="infobox-data" | {{{age|}}}
|-
|-
! Pronouns
! class="infobox-label" | Pronouns
| {{{pronouns|}}}
| class="infobox-data" | {{{pronouns|}}}
|-
|-
! Country
! class="infobox-label" | Country
| {{{country|}}}
| class="infobox-data" | {{{country|}}}
|-
|-
! Current status
! class="infobox-label" | Current status
| {{{status|Active}}}
| class="infobox-data" | {{{status|Active}}}


|-
|-
! colspan="2" style="background:#e9eef7; text-align:left;" | TRP Roles
! class="infobox-section" colspan="2" | TRP Roles
|-
|-
| colspan="2" style="padding:4px;" | {{{roles|}}}
| class="infobox-block" colspan="2" | {{{roles|}}}


|-
|-
! colspan="2" style="background:#e9eef7; text-align:left;" | Roleplay activity
! class="infobox-section" colspan="2" | Roleplay activity
|-
|-
! Played characters
! class="infobox-label" | Played characters
| {{{characters|}}}
| class="infobox-data" | {{{characters|}}}
|-
|-
! Relations (OOC)
! class="infobox-label" | Relations (OOC)
| {{{relations|}}}
| class="infobox-data" | {{{relations|}}}


|-
|-
! colspan="2" style="background:#e9eef7; text-align:left;" | Disciplinary record
! class="infobox-section" colspan="2" | Disciplinary record
|-
|-
| colspan="2" style="padding:4px;" | {{{discipline|None}}}
| class="infobox-block" colspan="2" | {{{discipline|None}}}


|-
|-
! colspan="2" style="background:#e9eef7; text-align:left;" | Notes
! class="infobox-section" colspan="2" | Notes
|-
|-
| colspan="2" style="padding:4px;" | {{{notes|}}}
| class="infobox-block" colspan="2" | {{{notes|}}}
|}
|}
<noinclude>
<noinclude>
Line 110: Line 115:
}}
}}
</pre>
</pre>
; Username
Enter the primary username for the player. This will link to the current player profile page.
; Also known as
Enter any alternative usernames (aliases), separated by commas (e.g., JohnDoe2, JDoe). These will link to the current player profile page.


; Avatar
; Avatar
The infobox will automatically display the file '''Avatar-USERNAME.png'''.
Files are expected as <code>Avatar_&lt;username&gt;.(jpg|jpeg|png)</code>. The username
To set your avatar, click '''⬆ Upload your avatar here''' under the placeholder and upload a square PNG/JPG.
defaults to the subpage name (e.g., <code>Players/Kowaulsky</code> → <code>Kowaulsky</code>), or to <code>|username=</code> if provided.
</noinclude>
</noinclude>

Revision as of 15:38, 2 September 2025

Page Template:Infobox Player/styles.css has no content.

{{#vardefine:uname|}} {{#vardefine:unameE|%7B%7B%23var:uname%7D%7D}}

Unknown Player
File:No-avatar-placeholder.png

⬆ Upload your avatar here

Player information
Username
Also known as
Discord
Joined TRP
Timezone
Languages
Out-of-character
Age
Pronouns
Country
Current status Active
TRP Roles
Roleplay activity
Played characters
Relations (OOC)
Disciplinary record
None
Notes

Usage

On a player page, add:

{{Infobox Player
 |username   = John Doe
 |aka        = JohnDoe2, JDoe
 |caption    = Long-time TRP player
 |discord    = JohnDoe#1234
 |joined     = September 2025
 |timezone   = EST (UTC-5)
 |languages  = English, Spanish
 |age        = 24
 |pronouns   = he/him
 |country    = USA
 |status     = Active
 |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

Files are expected as Avatar_<username>.(jpg|jpeg|png). The username defaults to the subpage name (e.g., Players/KowaulskyKowaulsky), or to |username= if provided.

Contents