Template:Infobox Character: Difference between revisions

From aquila
Jump to navigation Jump to search
No edit summary
Tags: Manual revert Reverted
mNo edit summary
 
(81 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| style="float: right; width: 300px; margin: 0 0 1em 1em; border: 1px solid #1a1a1a; background-color: #f8f9fa; font-size: 88%; line-height: 1.5em; border-collapse: collapse; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"
<includeonly>{| class="aquila-infobox" style="border: 1px solid {{{LineColour|#e2e8f0}}};"
|-
|-
<!-- MAIN TITLE HEADER (Customizable main banner background color & title text color) -->
<!-- MAIN TITLE HEADER -->
! colspan="2" style="background-color: {{{Color|{{{color|#6E473B}}}}}}; color: {{{TextColor|{{{textcolor|#ffffff}}}}}}; text-align: center; font-size: 125%; font-weight: bold; padding: 0.6em; border-bottom: 3px solid {{{BorderColor|#4D3129}}};" | {{{Name|{{{title|{{PAGENAME}}}}}}}}}
! colspan="2" class="aquila-infobox-title" style="background-color: {{{Colour|#6E473B}}}; color: {{{TextColour|#ffffff}}}; border-bottom: 3px solid {{{BorderColour|#4D3129}}};" | {{{Name|{{PAGENAME}}}}}
|-
|-
 
<!-- IMAGE ROW -->
<!-- IMAGE ROW (Controls background area around your flag/logo file) -->
| colspan="2" class="aquila-infobox-image" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" | [[File:{{{Image|Image.png}}}|280px|center]]
 
| colspan="2" style="text-align: center; padding: 0.5em; background-color: #ffffff; border-bottom: 1px solid #a2a9b1;" | [[File:{{{Image|{{{image|Image.png}}}}}}}|280px|center]]
|-
 
<!-- DATA ROWS BREAKDOWN: -->
<!-- "background-color: #F5EFEA" controls the faint mahogany/leather tint on the left labels, change this to whatever colour you'd like -->
<!-- "border-bottom: 1px solid #e2e8f0" controls the thin divider lines between cells -->
<!-- If you want to change the text directly through source code ( u dont have to, you can just double click on normal edit mode ), only change text after the | -->
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; width: 40%; border-bottom: 1px solid #e2e8f0;" | Titles
 
| {{{Titles|{{{titles|TBA}}}}}}
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Race
 
| {{{Race|TBA}}}
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Ethnicity
 
| {{{Ethnicity|{{{ethnicity|TBA}}}}}}
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Gender
 
| {{{Gender|{{{gender|TBA}}}}}}
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Age
 
| {{#if: {{{BirthYear|}}} | {{#expr: {{CurrentLoreYear}} - {{{BirthYear}}} }} <span style="color: #718096; font-size: 90%; margin-left: 0.3em;">(b. {{#if: {{{BirthMonth|}}} | {{{BirthMonth}}}, | }}{{#ifexpr: {{{BirthYear}}} < 1 | {{#expr: abs({{{BirthYear}}}) }} EV | EN {{{BirthYear}}} }})</span> | {{{age|TBA}}} }}
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Nationality
 
| {{{Nationality|TBA}}}
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Nation
 
| {{{Nation|TBA}}}
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Occupation
 
| {{{Occupation|TBA}}}
|-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Religion
<!-- DATA ROWS BREAKDOWN -->
 
{{#if: {{{Titles|}}} |
| {{{Religion|{{{religion|TBA}}}}}}
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} Titles
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} {{{Titles}}}
{{!}}-}}
{{#if: {{{Race|}}} |
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} Race
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} [[{{{Race}}}]]
{{!}}-}}
{{#if: {{{UndeadRace|}}} |
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} Undead Race
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} [[{{{UndeadRace}}}]]
{{!}}-}}
{{#if: {{{Ethnicity|}}} |
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} Ethnicity
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} {{{Ethnicity}}}
{{!}}-}}
{{#if: {{{Gender|}}} |
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} Gender
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} {{{Gender}}}
{{!}}-}}
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" | Age{{#if: {{{DeathYear|}}} | <span style="font-size: 75%; font-weight: normal; color: #718096; display: block;">(At Death)</span> }}{{#if: {{{UndeadAgeYear|}}} | <span style="font-size: 75%; font-weight: normal; color: #805ad5; display: block;">(+ Un-life Span{{#if: {{{UndeadDeathYear|}}} | <span style="display: block;">(At Final Death)</span> | }})</span> }}
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" | {{#if: {{{BirthYear|}}} | {{#expr: ({{#if: {{{DeathYear|}}} | {{{DeathYear}}} | {{CurrentLoreYear}} }} - {{{BirthYear}}}) - ({{#if: {{{DeathYear|}}} | {{#switch: {{{DeathMonth|}}} | Early January = 1 | January--February = 2 | February--March = 3 | March--April = 4 | April--May = 5 | May--June = 6 | June = 7 | June--July = 8 | July--August = 9 | August--September = 10 | September--October = 11 | October--November = 12 | November--December = 13 | Late December = 14 | 1 }} | {{CurrentLoreMonthNumber}} }} < {{#switch: {{{BirthMonth|}}} | Early January = 1 | January--February = 2 | February--March = 3 | March--April = 4 | April--May = 5 | May--June = 6 | June = 7 | June--July = 8 | July--August = 9 | August--September = 10 | September--October = 11 | October--November = 12 | November--December = 13 | Late December = 14 | 1 }})}} {{#if: {{{UndeadAgeYear|}}} | <br /><span style="color: #805ad5; font-size: 90%;">({{#expr: ({{#if: {{{UndeadDeathYear|}}} | {{{UndeadDeathYear}}} | {{CurrentLoreYear}} }}) - {{{UndeadAgeYear}}} }} yrs undeath)</span> | }} | <span style="color: #c53030; font-weight: bold;">[Missing BirthYear]</span> }}
|-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Languages
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" | Date of Birth
 
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" | {{#if: {{{BirthYear|}}} | {{#ifexpr: {{{BirthYear}}} < 1 | Era Vetus | Era Nova }}{{#if: {{{BirthMonth|}}} |, {{{BirthMonth}}} | }}, Year {{#ifexpr: {{{BirthYear}}} < 1 | {{#expr: abs({{{BirthYear}}}) }} | {{{BirthYear}}} }} | <span style="color: #c53030; font-weight: bold;">[Missing BirthYear/BirthMonth]</span> }}
| {{{Languages|TBA}}}
|-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Player
{{#if: {{{DeathYear|}}} |
 
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} Date of Death
| style="font-family: monospace;" | {{{Player|{{{player|TBA}}}}}}
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} {{#ifexpr: {{{DeathYear}}} < 1 | Era Vetus | Era Nova }}{{#if: {{{DeathMonth|}}} |, {{{DeathMonth}}} | }}, Year {{#ifexpr: {{{DeathYear}}} < 1 | {{#expr: abs({{{DeathYear}}}) }} | {{{DeathYear}}} }}
{{!}}-}}
{{#if: {{{UndeadAgeYear|}}} |
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} Date of Reanimation
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} {{#ifexpr: {{{UndeadAgeYear}}} < 1 | Era Vetus | Era Nova }}{{#if: {{{UndeadMonth|}}} |, {{{UndeadMonth}}} | }}, Year {{#ifexpr: {{{UndeadAgeYear}}} < 1 | {{#expr: abs({{{UndeadAgeYear}}}) }} | {{{UndeadAgeYear}}} }}
{{!}}-}}
{{#if: {{{UndeadDeathYear|}}} |
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} Date of Final Death
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} {{#ifexpr: {{{UndeadDeathYear}}} < 1 | Era Vetus | Era Nova }}{{#if: {{{UndeadDeathMonth|}}} |, {{{UndeadDeathMonth}}} | }}, Year {{#ifexpr: {{{UndeadDeathYear}}} < 1 | {{#expr: abs({{{UndeadDeathYear}}}) }} | {{{UndeadDeathYear}}} }}
{{!}}-}}
{{#if: {{{Nationality|}}} |
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} Nationality
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} {{{Nationality}}}
{{!}}-}}
{{#if: {{{Nation|}}} |
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} Nation
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} [[{{{Nation}}}]]
{{!}}-}}
{{#if: {{{Occupation|}}} |
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} Occupation
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} {{{Occupation}}}
{{!}}-}}
{{#if: {{{Religion|}}} |
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} Religion
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} {{{Religion}}}
{{!}}-}}
{{#if: {{{Languages|}}} |
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} Languages
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} {{{Languages}}}
{{!}}-}}
{{#if: {{{CharacterType|}}} |
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} Character Type
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} {{{CharacterType}}}
{{!}}-}}
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}}; border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" | Player
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" | <span style="font-family: monospace;">{{#if: {{{Player|}}} | [[{{{Player}}}]] | <span style="color: #c53030; font-weight: bold;">[Missing Player]</span> }}</span>
|-
|-
 
<!-- BOTTOM STATUS ROW -->
<!-- BOTTOM STATUS ROW (Controls the final row border. Players can type Status = Dead on their own character page if things go south) -->
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}};" | Status
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; border-bottom: 1px solid #1a1a1a;" | Status
| class="aquila-infobox-data" | <span class="aquila-status-badge" style="background: {{#switch: {{lc:{{{Status|{{{status|alive}}}}}}}}|alive=#f0fdf4|deceased|dead=#fef2f2|missing|unknown=#fff7ed|imprisoned|captured=#fefce8|retired=#eff6ff|undead=#faf5ff|#f0fdf4}}; color: {{#switch: {{lc:{{{Status|{{{status|alive}}}}}}}}|alive=#15803d|deceased|dead=#b91c1c|missing|unknown=#c2410c|imprisoned|captured=#a16207|retired=#1d4ed8|undead=#6b21a8|#15803d}}; border: 1px solid {{#switch: {{lc:{{{Status|{{{status|alive}}}}}}}}|alive=#bbf7d0|deceased|dead=#fecaca|missing|unknown=#ffedd5|imprisoned|captured=#fef08a|retired=#bfdbfe|undead=#e9d5ff|#bbf7d0}};">{{{Status|{{{status|Alive}}}}}}</span>
 
|}<!--
| style="padding: 0.4em 0.6em; font-weight: bold; color: {{#ifeq: {{lowercase: {{{Status|{{{status|Alive}}}}}} }} | dead | #e53e3e | #2f855a }}; border-bottom: 1px solid #1a1a1a;" | {{{Status|{{{status|Alive}}}}}}
--><span style="display:none;">{{#switch: {{#ifeq:{{PAGENAME}}|Character Example|EXCLUDE|{{#ifeq:{{PAGENAME}}|Character Template|EXCLUDE|OK}}}}
|}</includeonly><noinclude>
  | EXCLUDE =
  | #default = {{#switch: {{lc:{{{CharacterType|Primary Character}}}}}
      | side character = [[Category:Side Characters]]
      | archived character = [[Category:Archived Characters]]
      | #default = [[Category:Characters]]
    }}
}}</span>{{#if: {{{Race|}}} |{{#switch: {{#ifeq:{{PAGENAME}}|Character Example|EXCLUDE|{{#ifeq:{{PAGENAME}}|Character Template|EXCLUDE|OK}}}}
  | EXCLUDE =
  | #default = [[Category:{{{Race}}} Characters]]
}}}}{{#if: {{{UndeadRace|}}} |{{#switch: {{#ifeq:{{PAGENAME}}|Character Example|EXCLUDE|{{#ifeq:{{PAGENAME}}|Character Template|EXCLUDE|OK}}}}
  | EXCLUDE =
  | #default = [[Category:{{{UndeadRace}}} Characters]]
}}}}{{#ifeq:{{PAGENAME}}|Character Template|[[Category:Character Templates]]}}</includeonly><noinclude>


== Infobox Character ==
== Infobox Character ==
 
This template displays automated information about a character page. It dynamically calculates a character's current age based on the server timeline tracking clock, and locks it automatically with an "(At Death)" or "(At Final Death)" indicator if death dates are provided.
This template displays information about a character.
 
The appearance of the infobox can be customised using the <code>color</code> (or <code>Color</code>) and <code>textcolor</code> (or <code>TextColor</code>) parameters.


== Usage ==
== Usage ==
 
Copy and paste this clean code snippet straight onto character profiles:
Copy and paste:
 
<pre>
<pre>
{{Infobox Character
{{Infobox Character
| Color      = #6E473B
| Colour              = #6E473B
| TextColor  = #ffffff
| TextColour          = #ffffff
| BorderColor = #4D3129
| BorderColour        = #4D3129
| LabelColor  = #F5EFEA
| LabelColour        = #F5EFEA
| Name       =  
| LabelTextColour    = #2d3748
| Image       = Image.png
| LineColour          = #4D3129
| Titles     =  
| Name               =  
| Race       =  
| Image               = Image.png
| Ethnicity   =  
| Titles             =  
| Gender     =  
| Race               =
| BirthMonth =  
| UndeadRace          =  
| BirthYear   =  
| Ethnicity           =  
| Nationality =  
| Gender             =  
| Nation     =  
| BirthMonth         =  
| Occupation =  
| BirthYear           =
| Religion   =  
| DeathMonth          =
| Languages   =  
| DeathYear          =
| Player     =  
| UndeadAgeYear      =
| Status     = Alive
| UndeadMonth        =
| UndeadDeathMonth    =
| UndeadDeathYear    =  
| Nationality         =  
| Nation             =  
| Occupation         =  
| Religion           =  
| Languages           =
| CharacterType      = Primary Character
| Player             =  
| Status             = Alive
}}
}}
</pre>
</pre>
== Example ==
{{Infobox Character
| title = Henry Westcroft
| image = Image.png
| color = #6E473B
| textcolor = white
| religion = Vormgeloof
| gender = Male
| ethnicity = Koperdamer
| titles = Chief Artificer, Head Architect
| BirthMonth = March--April
| BirthYear = -19
| Nation = Technate of Koperdam
| status = Alive
| player = _baseplate
}}
== Parameters ==
{| class="wikitable"
! Parameter !! Description !! Example
|-
| Color || Hex code for the top header background colour || #6E473B
|-
| TextColor || Color code for the title name text || white
|-
| BorderColor || Hex code for the thick accent bar below the header || #4D3129
|-
| LabelColor || Hex code for the faint background tint on the left labels || #F5EFEA
|-
| Name / title || Character name displayed at the top || Arlen Voss
|-
| Image / image || Character image filename || Arlen.png
|-
| Titles / titles || Character titles or ranks || Knight Commander
|-
| Race || Character race || Human
|-
| Ethnicity / ethnicity || Character's species/ethnicity || Koperdamer
|-
| Gender / gender || Character's gender || Male
|-
| BirthMonth || In-universe months matching timeline chronicles || March--April
|-
| BirthYear || Birth year. Use negative numbers for EV and positive for EN || -19
|-
| age || Old static age parameter (falls back seamlessly if BirthYear isn't filled) || 34
|-
| Nationality || Character's country of ancestry || Koperdamer
|-
| Nation || Link to the Nation they are a part of || Technate of Koperdam
|-
| Occupation || Character's job or core duty || Chief Artificer
|-
| Religion / religion || Character's religion || Vormgeloof
|-
| Languages || Languages spoken by the character || Common Tongue
|-
| Player / player || Player controlling the character || John
|-
| Status / status || Whether the character is alive, deceased, missing, etc. || Alive
|}


== TemplateData ==
== TemplateData ==
<templatedata>
<templatedata>
{
{
"description": "Project Aquila's official automated Character Infobox.",
"params": {
"params": {
"Color": {
"Colour": { "label": "Banner Background Colour", "description": "Hex code for the top header background (defaults to #6E473B).", "type": "string", "suggested": true, "default": "#6E473B" },
"label": "Banner Background Color",
"TextColour": { "label": "Banner Text Colour", "description": "Colour code for the title text (defaults to #ffffff).", "type": "string", "suggested": true, "default": "#ffffff" },
"description": "Hex code for the top header background background (e.g., #6E473B).",
"BorderColour": { "label": "Banner Underline Colour", "description": "Hex code for the thick accent bar below the header (defaults to #4D3129).", "type": "string", "suggested": true, "default": "#4D3129" },
"type": "string"
"LabelColour": { "label": "Label Background Colour", "description": "Hex code for the background tint on left-hand labels (defaults to #F5EFEA).", "type": "string", "suggested": true, "default": "#F5EFEA" },
},
"LabelTextColour": { "label": "Label Text Colour", "description": "Hex code for text color inside the left-hand label cells (defaults to #2d3748).", "type": "string", "suggested": true, "default": "#2d3748" },
"color": {
"LineColour": { "label": "Internal Grid Line Colour", "description": "Hex code for the thin divider lines between table rows and label columns (defaults to #4D3129).", "type": "string", "suggested": true, "default": "#4D3129" },
"label": "Infobox colour (Legacy)",
"Name": { "label": "Character Name", "description": "Display name at the top. Defaults to the page title.", "type": "string", "suggested": true },
"description": "Legacy parameter for banner colour.",
"Image": { "label": "Image File Name", "description": "Filename of the character portrait (e.g. Character.png).", "type": "wiki-file-name", "default": "Image.png", "suggested": true },
"type": "string"
"Titles": { "label": "Titles / Ranks", "description": "Character's honorifics or titles. Hides if blank.", "type": "string", "suggested": true },
},
"Race": { "label": "Race", "description": "Original biological race of the character. Automatically linked and adds page to category. Hides if blank.", "type": "wiki-page-name", "suggested": true },
"TextColor": {
"UndeadRace": { "label": "Undead Race / Transformation", "description": "(UNDEAD CHARACTERS ONLY) Secondary undead form/race if transformed (e.g. Ghoul, Vampire). Automatically linked and categorized. Hides if blank.", "type": "wiki-page-name", "suggested": false },
"label": "Banner Text Color",
"Ethnicity": { "label": "Ethnicity / Heritage", "description": "Cultural or ethnic background. Hides if blank.", "type": "string", "suggested": true },
"description": "Color code for the title name text (e.g., #ffffff or white).",
"Gender": { "label": "Gender", "description": "Character's gender identity. Hides if blank.", "type": "string", "suggested": true },
"type": "string"
"BirthMonth": {  
},
"label": "Birth Month",  
"textcolor": {
"description": "The birth month used for age calculation. Select from suggested list.",  
"label": "Header text colour (Legacy)",
"type": "string",  
"description": "Legacy parameter for title text color.",
"required": true,
"type": "string"
"suggestedvalues": [
},
"Early January", "January--February", "February--March", "March--April", "April--May", "May--June", "June", "June--July", "July--August", "August--September", "September--October", "October--November", "November--December", "Late December"
"BorderColor": {
]
"label": "Banner Underline Color",
"description": "Hex code for the thick accent bar below the header (e.g., #4D3129).",
"type": "string"
},
"LabelColor": {
"label": "Label Background Color",
"description": "Hex code for the faint background tint on the left side labels (e.g., #F5EFEA).",
"type": "string"
},
"Name": {
"label": "Character Name",
"description": "The full name of the character.",
"type": "string"
},
"title": {
"label": "Title (Legacy)",
"description": "Legacy character name field.",
"type": "string"
},
"Image": {
"label": "Image File",
"description": "Character profile image filename.",
"type": "wiki-file-name"
},
"image": {
"label": "Image (Legacy)",
"description": "Legacy character image filename field.",
"type": "wiki-file-name"
},
"Titles": {
"label": "Titles/Ranks",
"description": "Character titles, ranks, or roles.",
"type": "string"
},
"titles": {
"label": "Titles (Legacy)",
"description": "Legacy titles field.",
"type": "string"
},
"Race": {
"label": "Race",
"description": "The character's primary species/race.",
"type": "string"
},
"Ethnicity": {
"label": "Ethnicity",
"description": "The character's specific ethnicity or heritage background.",
"type": "string"
},
"ethnicity": {
"label": "Ethnicity (Legacy)",
"description": "Legacy ethnicity field.",
"type": "string"
},
"Gender": {
"label": "Gender",
"description": "Character's gender.",
"type": "string"
},
"gender": {
"label": "Gender (Legacy)",
"description": "Legacy gender field.",
"type": "string"
},
"BirthMonth": {
"label": "Birth Month",
"description": "In-universe months matching the timeline chronicles (e.g., March--April).",
"type": "string"
},
"BirthYear": {
"label": "Birth Year",
"description": "Use negative numbers for Era Vetus (e.g., -19) and positive numbers for Era Nova (e.g., 2).",
"type": "number"
},
},
"age": {
"BirthYear": {  
"label": "Age (Legacy/Fallback)",
"label": "Birth Year",  
"description": "Legacy manual entry field for static character age.",
"description": "The year of birth (negative for Era Vetus, positive for Era Nova).",  
"type": "string"
"type": "number",
"required": true
},
},
"Nationality": {
"DeathMonth": {  
"label": "Nationality",
"label": "Death Month",  
"description": "Character's official nationality affiliation.",
"description": "The month of death for locking the age calculation. Optional.",  
"type": "string"
"type": "string",
"required": false,
"suggestedvalues": [
"Early January", "January--February", "February--March", "March--April", "April--May", "May--June", "June", "June--July", "July--August", "August--September", "September--October", "October--November", "November--December", "Late December"
]
},
},
"Nation": {
"DeathYear": { "label": "Death Year", "description": "The year of death (negative for Era Vetus, positive for Era Nova). Locks character age calculation at this year. Optional.", "type": "number", "required": false },
"label": "Nation",
"UndeadAgeYear": { "label": "Undead Transformation Year", "description": "(UNDEAD CHARACTERS ONLY) The year the character became undead (used for calculating un-life span). Optional.", "type": "number", "required": false },
"description": "Link to the Nation they are a part of or None.",
"UndeadMonth": {  
"type": "string"
"label": "Undead Transformation Month",  
"description": "(UNDEAD CHARACTERS ONLY) The month the character became undead. Optional.",  
"type": "string",
"required": false,
"suggestedvalues": [
"Early January", "January--February", "February--March", "March--April", "April--May", "May--June", "June", "June--July", "July--August", "August--September", "September--October", "October--November", "November--December", "Late December"
]
},
},
"Occupation": {
"UndeadDeathYear": { "label": "Final Death Year", "description": "(UNDEAD CHARACTERS ONLY) The year the undead character suffered final death, pausing their un-life span calculation. Optional.", "type": "number", "required": false },
"label": "Occupation",
"UndeadDeathMonth": {  
"description": "Core profession or job details.",
"label": "Final Death Month",  
"type": "string"
"description": "(UNDEAD CHARACTERS ONLY) The month the undead character suffered final death. Optional.",  
"type": "string",
"required": false,
"suggestedvalues": [
"Early January", "January--February", "February--March", "March--April", "April--May", "May--June", "June", "June--July", "July--August", "August--September", "September--October", "October--November", "November--December", "Late December"
]
},
},
"Religion": {
"Nationality": { "label": "Nationality", "description": "Current country or region of allegiance. Hides if blank.", "type": "string", "suggested": true },
"label": "Religion",
"Nation": { "label": "Nation Link", "description": "Internal link to the nation page. Automatically linked. Hides if blank.", "type": "wiki-page-name", "suggested": true },
"description": "Character's practicing religion.",
"Occupation": { "label": "Occupation", "description": "The character's job or primary role. Hides if blank.", "type": "string", "suggested": true },
"type": "string"
"Religion": { "label": "Religion", "description": "Character's religious affiliation. Hides if blank.", "type": "string", "suggested": true },
"Languages": { "label": "Languages Spoken", "description": "Languages the character is fluent in. Hides if blank.", "type": "string", "suggested": true },
"CharacterType": {  
"label": "Character Type",  
"description": "Indicates the narrative classification of the character relative to active players and server mechanics.",  
"type": "string",
"required": false,
"suggestedvalues": [
"Primary Character",
"Secondary Character",
"Side Character",
"Archived Character"
]
},
},
"religion": {
"Player": {  
"label": "Religion (Legacy)",
"label": "Minecraft Username",  
"description": "Legacy religion field.",
"description": "The player behind the character.",  
"type": "string"
"type": "wiki-page-name",
"required": true
},
},
"Status": {
"label": "Status",
"description": "Current status. Trusts parameters cleanly. Defaults to Alive.",
"type": "string",
"default": "Alive",
"required": true,
"suggestedvalues": [
"Alive", "Deceased", "Dead", "Missing", "Unknown", "Imprisoned", "Captured", "Retired", "Undead", "Archived"
]
}
}
}
</templatedata>
</noinclude>

Latest revision as of 18:21, 17 October 2026


Infobox Character

This template displays automated information about a character page. It dynamically calculates a character's current age based on the server timeline tracking clock, and locks it automatically with an "(At Death)" or "(At Final Death)" indicator if death dates are provided.

Usage

Copy and paste this clean code snippet straight onto character profiles:

{{Infobox Character
| Colour              = #6E473B
| TextColour          = #ffffff
| BorderColour        = #4D3129
| LabelColour         = #F5EFEA
| LabelTextColour     = #2d3748
| LineColour          = #4D3129
| Name                = 
| Image               = Image.png
| Titles              = 
| Race                = 
| UndeadRace          = 
| Ethnicity           = 
| Gender              = 
| BirthMonth          = 
| BirthYear           = 
| DeathMonth          = 
| DeathYear           = 
| UndeadAgeYear       = 
| UndeadMonth         = 
| UndeadDeathMonth    = 
| UndeadDeathYear     = 
| Nationality         = 
| Nation              = 
| Occupation          = 
| Religion            = 
| Languages           = 
| CharacterType       = Primary Character
| Player              = 
| Status              = Alive
}}

TemplateData

Project Aquila's official automated Character Infobox.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Banner Background ColourColour

Hex code for the top header background (defaults to #6E473B).

Default
#6E473B
Stringsuggested
Banner Text ColourTextColour

Colour code for the title text (defaults to #ffffff).

Default
#ffffff
Stringsuggested
Banner Underline ColourBorderColour

Hex code for the thick accent bar below the header (defaults to #4D3129).

Default
#4D3129
Stringsuggested
Label Background ColourLabelColour

Hex code for the background tint on left-hand labels (defaults to #F5EFEA).

Default
#F5EFEA
Stringsuggested
Label Text ColourLabelTextColour

Hex code for text color inside the left-hand label cells (defaults to #2d3748).

Default
#2d3748
Stringsuggested
Internal Grid Line ColourLineColour

Hex code for the thin divider lines between table rows and label columns (defaults to #4D3129).

Default
#4D3129
Stringsuggested
Character NameName

Display name at the top. Defaults to the page title.

Stringsuggested
Image File NameImage

Filename of the character portrait (e.g. Character.png).

Default
Image.png
Filesuggested
Titles / RanksTitles

Character's honorifics or titles. Hides if blank.

Stringsuggested
RaceRace

Original biological race of the character. Automatically linked and adds page to category. Hides if blank.

Page namesuggested
Undead Race / TransformationUndeadRace

(UNDEAD CHARACTERS ONLY) Secondary undead form/race if transformed (e.g. Ghoul, Vampire). Automatically linked and categorized. Hides if blank.

Page nameoptional
Ethnicity / HeritageEthnicity

Cultural or ethnic background. Hides if blank.

Stringsuggested
GenderGender

Character's gender identity. Hides if blank.

Stringsuggested
Birth MonthBirthMonth

The birth month used for age calculation. Select from suggested list.

Suggested values
Early January January--February February--March March--April April--May May--June June June--July July--August August--September September--October October--November November--December Late December
Stringrequired
Birth YearBirthYear

The year of birth (negative for Era Vetus, positive for Era Nova).

Numberrequired
Death MonthDeathMonth

The month of death for locking the age calculation. Optional.

Suggested values
Early January January--February February--March March--April April--May May--June June June--July July--August August--September September--October October--November November--December Late December
Stringoptional
Death YearDeathYear

The year of death (negative for Era Vetus, positive for Era Nova). Locks character age calculation at this year. Optional.

Numberoptional
Undead Transformation YearUndeadAgeYear

(UNDEAD CHARACTERS ONLY) The year the character became undead (used for calculating un-life span). Optional.

Numberoptional
Undead Transformation MonthUndeadMonth

(UNDEAD CHARACTERS ONLY) The month the character became undead. Optional.

Suggested values
Early January January--February February--March March--April April--May May--June June June--July July--August August--September September--October October--November November--December Late December
Stringoptional
Final Death YearUndeadDeathYear

(UNDEAD CHARACTERS ONLY) The year the undead character suffered final death, pausing their un-life span calculation. Optional.

Numberoptional
Final Death MonthUndeadDeathMonth

(UNDEAD CHARACTERS ONLY) The month the undead character suffered final death. Optional.

Suggested values
Early January January--February February--March March--April April--May May--June June June--July July--August August--September September--October October--November November--December Late December
Stringoptional
NationalityNationality

Current country or region of allegiance. Hides if blank.

Stringsuggested
Nation LinkNation

Internal link to the nation page. Automatically linked. Hides if blank.

Page namesuggested
OccupationOccupation

The character's job or primary role. Hides if blank.

Stringsuggested
ReligionReligion

Character's religious affiliation. Hides if blank.

Stringsuggested
Languages SpokenLanguages

Languages the character is fluent in. Hides if blank.

Stringsuggested
Character TypeCharacterType

Indicates the narrative classification of the character relative to active players and server mechanics.

Suggested values
Primary Character Secondary Character Side Character Archived Character
Stringoptional
Minecraft UsernamePlayer

The player behind the character.

Page namerequired
StatusStatus

Current status. Trusts parameters cleanly. Defaults to Alive.

Suggested values
Alive Deceased Dead Missing Unknown Imprisoned Captured Retired Undead Archived
Default
Alive
Stringrequired