Template:Infobox Character: Difference between revisions
Template page
More actions
| [unchecked revision] | [unchecked 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);">{{{ | <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);">{{{fullname|{{PAGENAME}}}}}</div> | ||
{{#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> | ||
| Line 62: | Line 62: | ||
<pre> | <pre> | ||
{{Infobox Character | {{Infobox Character | ||
|image = Character_JohnTanaka.jpg | |image = Character_JohnTanaka.jpg | ||
|caption = Current appearance (2025) | |caption = Current appearance (2025) | ||
Latest revision as of 10:39, 5 September 2025
Usage
On a character page, add:
{{Infobox Character
|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
Character Links in Relations
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}}
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.