Template:Infobox Character: Difference between revisions
No edit summary |
mNo edit summary |
||
| (73 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{| style=" | <includeonly>{| class="aquila-infobox" style="border: 1px solid {{{LineColour|#e2e8f0}}};" | ||
|- | |- | ||
<!-- MAIN TITLE HEADER --> | <!-- MAIN TITLE HEADER --> | ||
! colspan="2" style="background-color: {{{Colour|#6E473B}}}; color: {{{TextColour|#ffffff}}} | ! 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 --> | ||
| colspan="2" class="aquila-infobox-image" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" | [[File:{{{Image|Image.png}}}|280px|center]] | |||
| colspan="2" | |||
|- | |- | ||
<!-- DATA ROWS BREAKDOWN --> | <!-- DATA ROWS BREAKDOWN --> | ||
! style=" | {{#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}}} | |||
| | {{!}}-}} | ||
! style=" | {{#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}}}]] | ||
|- | {{!}}-}} | ||
! style=" | {{#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}}}]] | |||
| | {{!}}-}} | ||
! style=" | {{#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 | |||
| {{{Gender | {{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#e2e8f0}}};" {{!}} {{{Ethnicity}}} | ||
{{!}}-}} | |||
! style=" | {{#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 | |||
| {{#if: {{{BirthYear|}}} | {{!}} 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=" | ! 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> }} | |||
| {{{ | |||
|- | |- | ||
! style=" | {{#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| | {{!}} 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 --> | ||
! style=" | ! 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> | |||
| style=" | |}<!-- | ||
|} </includeonly><noinclude> | --><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> | |||
== 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. | 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 == | == Usage == | ||
| Line 94: | Line 99: | ||
<pre> | <pre> | ||
{{Infobox Character | {{Infobox Character | ||
| Colour | | Colour = #6E473B | ||
| TextColour | | TextColour = #ffffff | ||
| BorderColour = #4D3129 | | BorderColour = #4D3129 | ||
| LabelColour | | LabelColour = #F5EFEA | ||
| Name | | LabelTextColour = #2d3748 | ||
| Image | | 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 | | UndeadMonth = | ||
| UndeadDeathMonth = | |||
| UndeadDeathYear = | |||
| Nationality = | |||
| Nation = | |||
| Occupation = | |||
| Religion = | |||
| Languages = | |||
| CharacterType = Primary Character | |||
| Player = | |||
| Status = Alive | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 121: | Line 136: | ||
"description": "Project Aquila's official automated Character Infobox.", | "description": "Project Aquila's official automated Character Infobox.", | ||
"params": { | "params": { | ||
"Colour": { "label": "Banner Background Colour", "description": "Hex code for the top header background ( | "Colour": { "label": "Banner Background Colour", "description": "Hex code for the top header background (defaults to #6E473B).", "type": "string", "suggested": true, "default": "#6E473B" }, | ||
"TextColour": { "label": "Banner Text Colour", "description": "Colour code for the title text ( | "TextColour": { "label": "Banner Text Colour", "description": "Colour code for the title text (defaults to #ffffff).", "type": "string", "suggested": true, "default": "#ffffff" }, | ||
"BorderColour": { "label": "Banner Underline Colour", "description": "Hex code for the thick accent bar | "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" }, | ||
"LabelColour": { "label": "Label Background Colour", "description": "Hex code for the background tint on | "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" }, | ||
"Name": { "label": "Character Name", "type": "string", "suggested": true }, | "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" }, | ||
"Image": { "label": "Image File Name", "type": "wiki-file-name", "default": "Image.png" }, | "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" }, | ||
"Titles": { "label": "Titles / Ranks", "type": "string" }, | "Name": { "label": "Character Name", "description": "Display name at the top. Defaults to the page title.", "type": "string", "suggested": true }, | ||
"Race": { "label": "Race", "type": " | "Image": { "label": "Image File Name", "description": "Filename of the character portrait (e.g. Character.png).", "type": "wiki-file-name", "default": "Image.png", "suggested": true }, | ||
"Ethnicity": { "label": "Ethnicity / Heritage", "type": "string" }, | "Titles": { "label": "Titles / Ranks", "description": "Character's honorifics or titles. Hides if blank.", "type": "string", "suggested": true }, | ||
"Gender": { "label": "Gender", "type": "string" }, | "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 }, | ||
"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 }, | |||
"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": { | "BirthMonth": { | ||
"label": "Birth Month", | "label": "Birth Month", | ||
"description": "Select the | "description": "The birth month used for age calculation. Select from suggested list.", | ||
"type": "string", | |||
"required": 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" | |||
] | |||
}, | |||
"BirthYear": { | |||
"label": "Birth Year", | |||
"description": "The year of birth (negative for Era Vetus, positive for Era Nova).", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"DeathMonth": { | |||
"label": "Death Month", | |||
"description": "The month of death for locking the age calculation. 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" | |||
] | |||
}, | |||
"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 }, | |||
"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 }, | |||
"UndeadMonth": { | |||
"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" | |||
] | |||
}, | |||
"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 }, | |||
"UndeadDeathMonth": { | |||
"label": "Final Death Month", | |||
"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" | |||
] | |||
}, | |||
"Nationality": { "label": "Nationality", "description": "Current country or region of allegiance. Hides if blank.", "type": "string", "suggested": true }, | |||
"Nation": { "label": "Nation Link", "description": "Internal link to the nation page. Automatically linked. Hides if blank.", "type": "wiki-page-name", "suggested": true }, | |||
"Occupation": { "label": "Occupation", "description": "The character's job or primary role. Hides if blank.", "type": "string", "suggested": true }, | |||
"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", | "type": "string", | ||
" | "required": false, | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
" | "Primary Character", | ||
" | "Secondary Character", | ||
" | "Side Character", | ||
" | "Archived Character" | ||
] | ] | ||
}, | }, | ||
" | "Player": { | ||
"label": "Minecraft Username", | |||
" | "description": "The player behind the character.", | ||
"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> | </templatedata> | ||
</noinclude> | </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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Banner Background Colour | Colour | Hex code for the top header background (defaults to #6E473B).
| String | suggested |
| Banner Text Colour | TextColour | Colour code for the title text (defaults to #ffffff).
| String | suggested |
| Banner Underline Colour | BorderColour | Hex code for the thick accent bar below the header (defaults to #4D3129).
| String | suggested |
| Label Background Colour | LabelColour | Hex code for the background tint on left-hand labels (defaults to #F5EFEA).
| String | suggested |
| Label Text Colour | LabelTextColour | Hex code for text color inside the left-hand label cells (defaults to #2d3748).
| String | suggested |
| Internal Grid Line Colour | LineColour | Hex code for the thin divider lines between table rows and label columns (defaults to #4D3129).
| String | suggested |
| Character Name | Name | Display name at the top. Defaults to the page title. | String | suggested |
| Image File Name | Image | Filename of the character portrait (e.g. Character.png).
| File | suggested |
| Titles / Ranks | Titles | Character's honorifics or titles. Hides if blank. | String | suggested |
| Race | Race | Original biological race of the character. Automatically linked and adds page to category. Hides if blank. | Page name | suggested |
| Undead Race / Transformation | UndeadRace | (UNDEAD CHARACTERS ONLY) Secondary undead form/race if transformed (e.g. Ghoul, Vampire). Automatically linked and categorized. Hides if blank. | Page name | optional |
| Ethnicity / Heritage | Ethnicity | Cultural or ethnic background. Hides if blank. | String | suggested |
| Gender | Gender | Character's gender identity. Hides if blank. | String | suggested |
| Birth Month | BirthMonth | The birth month used for age calculation. Select from suggested list.
| String | required |
| Birth Year | BirthYear | The year of birth (negative for Era Vetus, positive for Era Nova). | Number | required |
| Death Month | DeathMonth | The month of death for locking the age calculation. Optional.
| String | optional |
| Death Year | DeathYear | The year of death (negative for Era Vetus, positive for Era Nova). Locks character age calculation at this year. Optional. | Number | optional |
| Undead Transformation Year | UndeadAgeYear | (UNDEAD CHARACTERS ONLY) The year the character became undead (used for calculating un-life span). Optional. | Number | optional |
| Undead Transformation Month | UndeadMonth | (UNDEAD CHARACTERS ONLY) The month the character became undead. Optional.
| String | optional |
| Final Death Year | UndeadDeathYear | (UNDEAD CHARACTERS ONLY) The year the undead character suffered final death, pausing their un-life span calculation. Optional. | Number | optional |
| Final Death Month | UndeadDeathMonth | (UNDEAD CHARACTERS ONLY) The month the undead character suffered final death. Optional.
| String | optional |
| Nationality | Nationality | Current country or region of allegiance. Hides if blank. | String | suggested |
| Nation Link | Nation | Internal link to the nation page. Automatically linked. Hides if blank. | Page name | suggested |
| Occupation | Occupation | The character's job or primary role. Hides if blank. | String | suggested |
| Religion | Religion | Character's religious affiliation. Hides if blank. | String | suggested |
| Languages Spoken | Languages | Languages the character is fluent in. Hides if blank. | String | suggested |
| Character Type | CharacterType | Indicates the narrative classification of the character relative to active players and server mechanics.
| String | optional |
| Minecraft Username | Player | The player behind the character. | Page name | required |
| Status | Status | Current status. Trusts parameters cleanly. Defaults to Alive.
| String | required |