Template:Infobox Character: Difference between revisions

From aquila
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#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}}} }} | TBA }}
| {{#if: {{{BirthYear|}}}  
  | {{#expr: ({{CurrentLoreYear}} - {{{BirthYear}}}) - ({{CurrentLoreMonthNumber}} < {{#switch: {{{BirthMonth|}}}
    | January = 1
    | January--February = 2
    | February--March = 3
    | March--April = 4
    | April--May = 5
    | May--June = 6
    | June--July = 7
    | July--August = 8
    | August--September = 9
    | September--October = 10
    | October = 11
    | October--November = 12
    | November--December = 13
    | Late December = 14
    | 1
  }}) }}
 
  | {{{age|TBA}}}
  }}
|-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#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

Revision as of 15:12, 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Banner Background ColourColour

Hex code for the top header background (e.g. #6E473B).

Stringsuggested
Banner Text ColourTextColour

Colour code for the title text (e.g. #ffffff or white).

Stringsuggested
Banner Underline ColourBorderColour

Hex code for the thick accent bar directly below the main header.

Stringoptional
Label Background ColourLabelColour

Hex code for the background tint on the left labels (e.g. #F5EFEA).

Stringsuggested
Character NameName

no description

Stringsuggested
Image File NameImage

no description

Default
Image.png
Fileoptional
Titles / RanksTitles

no description

Stringoptional
RaceRace

no description

Stringsuggested
Ethnicity / HeritageEthnicity

no description

Stringoptional
GenderGender

no description

Stringoptional
Birth MonthBirthMonth

Select the in-universe calendar month matching your character's birthday.

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

Negative integers for Era Vetus (e.g. -19), positive for Era Nova (e.g. 2)

Numbersuggested
NationalityNationality

no description

Stringoptional
Nation LinkNation

no description

Stringoptional
OccupationOccupation

no description

Stringoptional
ReligionReligion

no description

Stringoptional
Languages SpokenLanguages

no description

Stringoptional
Minecraft UsernamePlayer

no description

Stringsuggested
StatusStatus

no description

Default
Alive
Stringsuggested