Template:Infobox Character: Difference between revisions
No edit summary |
No edit summary |
||
| 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>{| 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);" | ||
|- | |- | ||
<!-- MAIN TITLE HEADER | <!-- MAIN TITLE HEADER --> | ||
! colspan="2" style="background-color: #6E473B; color: #ffffff; text-align: center; font-size: 125%; font-weight: bold; padding: 0.6em; border-bottom: 3px solid #4D3129;" | {{{Name|{{PAGENAME}}}}} | ! colspan="2" style="background-color: {{{Colour|#6E473B}}}; color: {{{TextColour|#ffffff}}}; text-align: center; font-size: 125%; font-weight: bold; padding: 0.6em; border-bottom: 3px solid {{{BorderColour|#4D3129}}};" | {{{Name|{{PAGENAME}}}}} | ||
|- | |- | ||
<!-- IMAGE ROW | <!-- IMAGE ROW --> | ||
| colspan="2" style="text-align: center; padding: 0.5em; background-color: #ffffff; border-bottom: 1px solid #a2a9b1;" | [[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.png}}}|280px|center]] | ||
|- | |- | ||
<!-- DATA ROWS BREAKDOWN | <!-- DATA ROWS BREAKDOWN --> | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F5EFEA}}}; width: 40%; border-bottom: 1px solid #e2e8f0;" | Titles | |||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; width: 40%; border-bottom: 1px solid #e2e8f0;" | Titles | |||
| {{{Titles|TBA}}} | | {{{Titles|TBA}}} | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Race | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Race | ||
| {{{Race|TBA}}} | | {{{Race|TBA}}} | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Ethnicity | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Ethnicity | ||
| {{{Ethnicity|TBA}}} | | {{{Ethnicity|TBA}}} | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Gender | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Gender | ||
| {{{Gender|TBA}}} | | {{{Gender|TBA}}} | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Age | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Age | ||
| {{#if: {{{BirthYear|}}} | {{#expr: {{CurrentLoreYear}} - {{{BirthYear}}} }} | | {{#if: {{{BirthYear|}}} | {{#expr: {{CurrentLoreYear}} - {{{BirthYear}}} }} | TBA }} | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Date of Birth | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Date of Birth | ||
| {{#if: {{{BirthYear|}}} | {{#ifexpr: {{{BirthYear}}} < 1 | Era Vetus | Era Nova }}, {{#if: {{{BirthMonth|}}} | {{{BirthMonth}}}, | }} Year {{#ifexpr: {{{BirthYear}}} < 1 | {{#expr: abs({{{BirthYear}}}) }} | {{{BirthYear}}} }} | TBA }} | | {{#if: {{{BirthYear|}}} | {{#ifexpr: {{{BirthYear}}} < 1 | Era Vetus | Era Nova }}, {{#if: {{{BirthMonth|}}} | {{{BirthMonth}}}, | }} Year {{#ifexpr: {{{BirthYear}}} < 1 | {{#expr: abs({{{BirthYear}}}) }} | {{{BirthYear}}} }} | TBA }} | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Nationality | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Nationality | ||
| {{{Nationality|TBA}}} | | {{{Nationality|TBA}}} | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Nation | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Nation | ||
| {{{Nation|TBA}}} | | {{{Nation|TBA}}} | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Occupation | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Occupation | ||
| {{{Occupation|TBA}}} | | {{{Occupation|TBA}}} | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Religion | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Religion | ||
| {{{Religion|TBA}}} | | {{{Religion|TBA}}} | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Languages | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Languages | ||
| {{{Languages|TBA}}} | | {{{Languages|TBA}}} | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Player | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F5EFEA}}}; border-bottom: 1px solid #e2e8f0;" | Player | ||
| style="font-family: monospace;" | {{{Player|TBA}}} | | style="font-family: monospace;" | {{{Player|TBA}}} | ||
|- | |- | ||
<!-- BOTTOM STATUS ROW | <!-- BOTTOM STATUS ROW --> | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #1a1a1a;" | Status | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F5EFEA}}}; border-bottom: 1px solid #1a1a1a;" | Status | ||
| style="padding: 0.4em 0.6em; font-weight: bold; color: #2f855a; border-bottom: 1px solid #1a1a1a;" | {{{Status|Alive}}} | | style="padding: 0.4em 0.6em; font-weight: bold; color: #2f855a; border-bottom: 1px solid #1a1a1a;" | {{{Status|Alive}}} | ||
| Line 78: | Line 74: | ||
<pre> | <pre> | ||
{{Infobox Character | {{Infobox Character | ||
| Colour = #6E473B | |||
| TextColour = #ffffff | |||
| BorderColour = #4D3129 | |||
| LabelColour = #F5EFEA | |||
| Name = | | Name = | ||
| Image = Image.png | | Image = Image.png | ||
| Line 101: | Line 101: | ||
"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 (e.g. #6E473B).", "type": "string", "suggested": true }, | |||
"TextColour": { "label": "Banner Text Colour", "description": "Colour code for the title text (e.g. #ffffff or white).", "type": "string", "suggested": true }, | |||
"BorderColour": { "label": "Banner Underline Colour", "description": "Hex code for the thick accent bar directly below the main header.", "type": "string" }, | |||
"LabelColour": { "label": "Label Background Colour", "description": "Hex code for the background tint on the left labels (e.g. #F5EFEA).", "type": "string", "suggested": true }, | |||
"Name": { "label": "Character Name", "type": "string", "suggested": true }, | "Name": { "label": "Character Name", "type": "string", "suggested": true }, | ||
"Image": { "label": "Image File Name", "type": "wiki-file-name", "default": "Image.png" }, | "Image": { "label": "Image File Name", "type": "wiki-file-name", "default": "Image.png" }, | ||
| Line 109: | Line 113: | ||
"BirthMonth": { | "BirthMonth": { | ||
"label": "Birth Month", | "label": "Birth Month", | ||
"description": "Select the in-universe calendar month matching your character's birthday. | "description": "Select the in-universe calendar month matching your character's birthday.", | ||
"type": "string", | "type": "string", | ||
"suggested": true, | "suggested": true, | ||
| Line 130: | Line 134: | ||
}, | }, | ||
"BirthYear": { "label": "Birth Year", "description": "Negative integers for Era Vetus (e.g. -19), positive for Era Nova (e.g. 2)", "type": "number", "suggested": true }, | "BirthYear": { "label": "Birth Year", "description": "Negative integers for Era Vetus (e.g. -19), positive for Era Nova (e.g. 2)", "type": "number", "suggested": true }, | ||
"Nationality": { "label": "Nationality", "type": "string" }, | "Nationality": { "label": "Nationality", "type": "string" }, | ||
"Nation": { "label": "Nation Link", "type": "string" }, | "Nation": { "label": "Nation Link", "type": "string" }, | ||
Revision as of 14:47, 19 August 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.
Usage
Copy and paste this clean code snippet straight onto character profiles:
{{Infobox Character
| Colour = #6E473B
| TextColour = #ffffff
| BorderColour = #4D3129
| LabelColour = #F5EFEA
| Name =
| Image = Image.png
| Titles =
| Race =
| Ethnicity =
| Gender =
| BirthMonth =
| BirthYear =
| Nationality =
| Nation =
| Occupation =
| Religion =
| Languages =
| 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 (e.g. #6E473B). | String | suggested |
| Banner Text Colour | TextColour | Colour code for the title text (e.g. #ffffff or white). | String | suggested |
| Banner Underline Colour | BorderColour | Hex code for the thick accent bar directly below the main header. | String | optional |
| Label Background Colour | LabelColour | Hex code for the background tint on the left labels (e.g. #F5EFEA). | String | suggested |
| Character Name | Name | no description | String | suggested |
| Image File Name | Image | no description
| File | optional |
| Titles / Ranks | Titles | no description | String | optional |
| Race | Race | no description | String | suggested |
| Ethnicity / Heritage | Ethnicity | no description | String | optional |
| Gender | Gender | no description | String | optional |
| Birth Month | BirthMonth | Select the in-universe calendar month matching your character's birthday.
| String | suggested |
| Birth Year | BirthYear | Negative integers for Era Vetus (e.g. -19), positive for Era Nova (e.g. 2) | Number | suggested |
| Nationality | Nationality | no description | String | optional |
| Nation Link | Nation | no description | String | optional |
| Occupation | Occupation | no description | String | optional |
| Religion | Religion | no description | String | optional |
| Languages Spoken | Languages | no description | String | optional |
| Minecraft Username | Player | no description | String | suggested |
| Status | Status | no description
| String | suggested |