Template:PlayerProfile: Difference between revisions

From aquila
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>__NOTITLE__
<includeonly>{| class="aquila-infobox" style="border: 1px solid {{{LineColour|#e2e8f0}}};"
<div class="aquila-player-card">
|-
<!-- MAIN TITLE HEADER -->
! colspan="2" class="aquila-infobox-title" style="background-color: {{{Colour|#6E473B}}}; color: {{{TextColour|#ffffff}}}; border-bottom: 3px solid {{{BorderColour|#4D3129}}};" | {{{Name|{{PAGENAME}}}}}
|-
<!-- IMAGE ROW -->
| colspan="2" class="aquila-infobox-image" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" | [[File:{{{Image|Image.png}}}|280px|center]]
|-
<!-- DATA ROWS BREAKDOWN -->
{{#if: {{{Titles|}}} |
! 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> }}
|-
! 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> }}
|-
{{#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
{{!}} 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 -->
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#F5EFEA}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#e2e8f0}}};" | 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>
|}<!--
--><span style="display:none;">{{#switch: {{#ifeq:{{PAGENAME}}|Character Example|EXCLUDE|{{#ifeq:{{PAGENAME}}|Character Template|EXCLUDE|OK}}}}
  | 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>


<!-- Top Header / Player Name -->
== Infobox Character ==
<h2 style="border-bottom: 2px solid #e0a96d; color: #0b132b; margin-top: 0; padding-bottom: 0.4em; font-family: 'Georgia', serif;">{{{Name|{{PAGENAME}}}}}</h2>
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.
 
<!-- Split Flex Container -->
<div style="display: flex; flex-wrap: wrap; gap: 1.5em; align-items: stretch; margin-top: 1.2em;">
 
<!-- Left Column: Player Info Stats Table -->
<div class="aquila-player-box" style="flex: 1; min-width: 280px; font-size: 0.95em; line-height: 1.5; color: #374151;">
 
<table style="width: 100%; border-collapse: collapse;">
<tr>
  <td style="padding: 0.35em 0.5em; font-weight: bold; width: 45%; border-bottom: 1px solid #e2e8f0;">IGN</td>
  <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;">{{#if: {{{IGN|}}} | <span class="plainlinks aquila-namemc-link">[https://namemc.com/search?q={{{IGN}}} {{{IGN}}}]</span> | <span style="color: #c53030; font-weight: bold;">[Missing IGN]</span> }}</td>
</tr>
<tr>
  <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">UID</td>
  <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;"><span style="font-family: monospace; font-size: 0.9em;">{{{UID|TBA}}}</span></td>
</tr>
<tr>
  <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Primary Character</td>
  <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;">{{#if: {{{PrimaryCharacter|}}} | '''[[{{{PrimaryCharacter}}}]]''' | none currently }}</td>
</tr>
<tr>
  <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">{{#if: {{{PrimaryNation2|}}} | Primary Nations | Primary Nation }}</td>
  <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;">{{#if: {{{PrimaryNation|}}} | '''[[{{{PrimaryNation}}}]]'''{{#if: {{{PrimaryNation2|}}} | &nbsp;&amp;&nbsp;'''[[{{{PrimaryNation2}}}]]''' | }} | none currently }}</td>
</tr>
{{#if: {{{SecondaryCharacter|}}} |
<tr>
  <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Secondary Character</td>
  <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;">'''[[{{{SecondaryCharacter}}}]]'''</td>
</tr>
<tr>
  <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">{{#if: {{{SecondaryNation2|}}} | Secondary Nations | Secondary Nation }}</td>
  <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;">{{#if: {{{SecondaryNation|}}} | '''[[{{{SecondaryNation}}}]]'''{{#if: {{{SecondaryNation2|}}} | &nbsp;&amp;&nbsp;'''[[{{{SecondaryNation2}}}]]''' | }} | none currently }}</td>
</tr>
|}}
<tr>
  <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Previous Nations</td>
  <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;">{{{PreviousNations|none currently}}}</td>
</tr>
<tr>
  <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Previous Characters</td>
  <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;">{{{PreviousCharacters|none currently}}}</td>
</tr>
<tr>
  <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Date Joined</td>
  <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;"><span style="font-family: monospace; font-size: 0.9em;">{{#if: {{{DateJoined|}}} | {{#time: d/m/Y | {{{DateJoined}}} }} {{#iferror: ({{#expr: floor( ({{#time: U}} - {{#time: U | {{{DateJoined}}} }}) / 86400 )}} days ago) | }} | TBA }}</span></td>
</tr>
{{#if: {{{DateLeft|}}} |
<tr>
  <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Date Left</td>
  <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;"><span style="font-family: monospace; font-size: 0.9em;">{{#time: d/m/Y | {{{DateLeft}}} }} {{#iferror: (active for {{#expr: floor( ({{#time: U | {{{DateLeft}}} }} - {{#time: U | {{{DateJoined}}} }}) / 86400 )}} days) | }}</span></td>
</tr>
|}}
{{#if: {{{ReasonForDelisting|}}} |
<tr>
  <td style="padding: 0.35em 0.5em; font-weight: bold;">Reason for Delisting</td>
  <td style="padding: 0.35em 0.5em;">{{{ReasonForDelisting}}}</td>
</tr>
|}}
</table>
 
</div>
 
<!-- Right Column: Biography / Intro -->
<div class="aquila-player-box" style="flex: 1.5; min-width: 280px; display: flex; flex-direction: column; justify-content: center; color: #4b5563; line-height: 1.6;">
{{{Bio|This player has not written a bio yet.}}}
</div>
 
</div>
 
</div>
 
<!-- Automatic Category Assignment based on active status -->
{{#ifeq:{{lc:{{{Active|yes}}}}}|yes|[[Category:Players]]|[[Category:Former Players]]}}</includeonly><noinclude>
 
== Player Profile Template ==
This template displays structured player information split into a technical stats table on the left and a bio on the right.


== Usage ==
== Usage ==
Copy and paste this clean code snippet straight onto player profiles:
Copy and paste this clean code snippet straight onto character profiles:
<pre>
<pre>
{{Player Profile
{{Infobox Character
| Name              =  
| Colour              = #6E473B
| IGN               =  
| TextColour          = #ffffff
| UID                =  
| BorderColour        = #4D3129
| Active            = yes
| LabelColour        = #F5EFEA
| DateJoined        = 2026-07-28
| LabelTextColour    = #2d3748
| PrimaryCharacter  =  
| LineColour          = #4D3129
| PrimaryNation      =  
| Name               =
| PrimaryNation2    =  
| Image               = Image.png
| SecondaryCharacter =  
| Titles              =
| SecondaryNation   =  
| Race               =  
| SecondaryNation2  =  
| UndeadRace          =
| PreviousNations    = none currently
| Ethnicity          =
| PreviousCharacters = none currently
| Gender              =  
| DateLeft           =  
| BirthMonth          =  
| ReasonForDelisting =  
| BirthYear          =  
| Bio                =  
| DeathMonth          =  
| DeathYear          =  
| UndeadAgeYear      =  
| UndeadMonth        =  
| UndeadDeathMonth   =  
| UndeadDeathYear    =  
| Nationality        =
| Nation              =
| Occupation          =  
| Religion            =  
| Languages           =  
| CharacterType      = Primary Character
| Player              =  
| Status              = Alive
}}
}}
</pre>
</pre>
Line 107: Line 134:
<templatedata>
<templatedata>
{
{
"description": "Project Aquila's official Player Profile template.",
"description": "Project Aquila's official automated Character Infobox.",
"params": {
"params": {
"Bio": {
"Colour": { "label": "Banner Background Colour", "description": "Hex code for the top header background (defaults to #6E473B).", "type": "string", "suggested": true, "default": "#6E473B" },
"label": "Biography / Intro",
"TextColour": { "label": "Banner Text Colour", "description": "Colour code for the title text (defaults to #ffffff).", "type": "string", "suggested": true, "default": "#ffffff" },
"description": "The personal introduction text for the right-hand box.",
"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" },
"required": false,
"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" },
"suggested": true
"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" },
},
"Name": { "label": "Character Name", "description": "Display name at the top. Defaults to the page title.", "type": "string", "suggested": true },
"Active": {
"Image": { "label": "Image File Name", "description": "Filename of the character portrait (e.g. Character.png).", "type": "wiki-file-name", "default": "Image.png", "suggested": true },
"label": "Active Status",
"Titles": { "label": "Titles / Ranks", "description": "Character's honorifics or titles. Hides if blank.", "type": "string", "suggested": true },
"description": "Type 'yes' for current players (Players category) or 'no' for former players (Former Players category).",
"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 },
"type": "string",
"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 },
"default": "yes",
"Ethnicity": { "label": "Ethnicity / Heritage", "description": "Cultural or ethnic background. Hides if blank.", "type": "string", "suggested": true },
"Gender": { "label": "Gender", "description": "Character's gender identity. Hides if blank.", "type": "string", "suggested": true },
"BirthMonth": {
"label": "Birth Month",  
"description": "The birth month used for age calculation. Select from suggested list.",
"type": "string",  
"required": true,
"required": true,
"suggestedvalues": [
"suggestedvalues": [
"yes",
"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"
"no"
]
]
},
},
"Name": {
"BirthYear": {  
"label": "Player Name",
"label": "Birth Year",  
"description": "Display name at the top. Defaults to the page title.",
"description": "The year of birth (negative for Era Vetus, positive for Era Nova).",  
"type": "string",
"type": "number",  
"required": true
},
"IGN": {
"label": "In-Game Name (IGN)",
"description": "The player's Minecraft username. Automatically links to NameMC search query.",
"type": "string",
"required": true
"required": true
},
},
"UID": {
"DeathMonth": {  
"label": "User ID (UID)",
"label": "Death Month",  
"description": "The player's unique ID number.",
"description": "The month of death for locking the age calculation. Optional.",  
"type": "number",
"type": "string",  
"required": true
},
"DateJoined": {
"label": "Date Joined",
"description": "The date the player joined. Input in YYYY-MM-DD format (e.g., 2026-10-01), will automatically display as DD/MM/YYYY.",
"type": "string",
"required": true
},
"DateLeft": {
"label": "Date Left",
"description": "The date the player left, if applicable. Must be in YYYY-MM-DD format.",
"type": "string",
"required": false,
"suggested": false
},
"ReasonForDelisting": {
"label": "Reason for Delisting",
"description": "Optional explanation for why the player left or was delisted (only shows if filled).",
"type": "string",
"required": false,
"required": false,
"suggested": 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"
"PrimaryCharacter": {
]
"label": "Primary Character",
"description": "Name of the player's primary character page (auto-linked and bolded).",
"type": "wiki-page-name",
"required": true,
"suggested": true
},
"PrimaryNation": {
"label": "Primary Nation / Nations",
"description": "Primary nation for the main character. Label automatically changes to 'Primary Nations' if PrimaryNation2 is filled.",
"type": "wiki-page-name",
"required": true,
"suggested": true
},
},
"PrimaryNation2": {
"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": "Primary Nation 2 (Optional Dual Citizenship)",
"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": "Optional second primary nation. Appends with an ampersand if filled.",
"UndeadMonth": {
"type": "wiki-page-name",
"label": "Undead Transformation Month",  
"description": "(UNDEAD CHARACTERS ONLY) The month the character became undead. Optional.",  
"type": "string",  
"required": false,
"required": false,
"suggested": true
"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"
]
},
},
"SecondaryCharacter": {
"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": "Secondary Character (Optional)",
"UndeadDeathMonth": {  
"description": "Name of secondary character page. Stays hidden if left blank.",
"label": "Final Death Month",  
"type": "wiki-page-name",
"description": "(UNDEAD CHARACTERS ONLY) The month the undead character suffered final death. Optional.",  
"type": "string",  
"required": false,
"required": false,
"suggested": true
"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"
]
},
},
"SecondaryNation": {
"Nationality": { "label": "Nationality", "description": "Current country or region of allegiance. Hides if blank.", "type": "string", "suggested": true },
"label": "Secondary Nation",
"Nation": { "label": "Nation Link", "description": "Internal link to the nation page. Automatically linked. Hides if blank.", "type": "wiki-page-name", "suggested": true },
"description": "Nation for the secondary character (only displays if SecondaryCharacter is filled).",
"Occupation": { "label": "Occupation", "description": "The character's job or primary role. Hides if blank.", "type": "string", "suggested": true },
"type": "wiki-page-name",
"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,
"required": false,
"suggested": true
"suggestedvalues": [
"Primary Character",
"Secondary Character",
"Side Character",
"Archived Character"
]
},
},
"SecondaryNation2": {
"Player": {  
"label": "Secondary Nation 2 (Optional Dual Citizenship)",
"label": "Minecraft Username",  
"description": "Optional second nation for the secondary character. Appends with an ampersand if filled.",
"description": "The player behind the character.",  
"type": "wiki-page-name",
"type": "wiki-page-name",  
"required": false,
"required": true  
"suggested": true
},
},
"PreviousNations": {
"Status": {
"label": "Previous Nations",
"label": "Status",
"description": "Past nations the player was part of.",
"description": "Current status. Trusts parameters cleanly. Defaults to Alive.",
"type": "string",
"type": "string",
"required": false,
"default": "Alive",
"suggested": true
"required": true,
},
"suggestedvalues": [
"PreviousCharacters": {
"Alive", "Deceased", "Dead", "Missing", "Unknown", "Imprisoned", "Captured", "Retired", "Undead", "Archived"
"label": "Previous Characters",
]
"description": "Past characters played by this user.",
"type": "string",
"required": false,
"suggested": true
}
}
}
}

Revision as of 19:45, 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