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 Character: Difference between revisions

Template page
[unchecked revision][unchecked revision]
mNo edit summary
mNo edit summary
Line 3: Line 3:
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<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:{{{image}}}|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; 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=characters&charactername={{#titleparts:{{PAGENAME}}|1|2}}}} '''↑ Upload character image 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>
Line 31: Line 31:
<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);">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>
<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>
<tr><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);">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);">
<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>}}}
{{{affiliations|<span style="color:var(--color-subtle, #999); font-style:italic;">None</span>}}}
Line 54: Line 56:


<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="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 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:Characters]]</includeonly><noinclude>
<includeonly>[[Category:Characters]]</includeonly><noinclude>
Line 79: Line 83:
  |eyes        = Brown
  |eyes        = Brown
  |birthplace  = Kyoto, Japan
  |birthplace  = Kyoto, Japan
  |occupation  = Software Engineer
  |occupation  =  
* Software Engineer
* Freelance Web Developer
  |affiliations =  
  |affiliations =  
* TechCorp (employee)
* TechCorp (employee)
Line 92: Line 98:
  |player      = Kowaulsky
  |player      = Kowaulsky
  |firstappearance = 2025-08-01
  |firstappearance = 2025-08-01
  |notes      = Moved to Takashima in August 2025 for work.
  |notes      =  
* Moved to Takashima in August 2025 for work
* Speaks fluent Japanese and English
* Has a fear of heights
}}
}}
</pre>
</pre>
Line 111: Line 120:


==== List Format ====
==== List Format ====
For fields that support lists (aka, affiliations, family, relations), use MediaWiki list syntax:
For fields that support lists (aka, occupation, affiliations, family, relations, notes), use MediaWiki list syntax:
<pre>
<pre>
  |field =  
  |field =  

Revision as of 10:25, 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
 |notes       = 
* Moved to Takashima in August 2025 for work
* Speaks fluent Japanese and English
* Has a fear of heights
}}

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, notes), 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.