Template:Infobox Character: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <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 (Controls main banner color (e.g #6E473B) & title text (e.g #ffffff)) --> | |||
! 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}}}}} | |||
|- | |- | ||
! | |||
| {{{ | <!-- IMAGE ROW (Controls background area around your flag/logo file) --> | ||
| 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: --> | ||
<!-- "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: #F5EFEA; width: 40%; border-bottom: 1px solid #e2e8f0;" | Titles | |||
| {{{Titles|TBA}}} | |||
|- | |- | ||
! | ! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Race | ||
| {{{ | |||
| {{{Race|TBA}}} | |||
|- | |- | ||
! | ! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Ethnicity | ||
| {{{ | |||
| {{{Ethnicity|TBA}}} | |||
|- | |- | ||
! | ! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Gender | ||
| {{{ | |||
| {{{Gender|TBA}}} | |||
|- | |- | ||
! Nation | ! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Age | ||
| {{{Nation| | |||
| {{#if: {{{BirthYear|}}} | {{#expr: {{CurrentLoreYear}} - {{{BirthYear}}} }} | {{{age|TBA}}} }} | |||
|- | |||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #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 }} | |||
|- | |||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Nationality | |||
| {{{Nationality|TBA}}} | |||
|- | |||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Nation | |||
| {{{Nation|TBA}}} | |||
|- | |||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Occupation | |||
| {{{Occupation|TBA}}} | |||
|- | |||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Religion | |||
| {{{Religion|TBA}}} | |||
|- | |||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Languages | |||
| {{{Languages|TBA}}} | |||
|- | |- | ||
! | ! style="text-align: left; padding: 0.4em 0.6em; background-color: #F5EFEA; border-bottom: 1px solid #e2e8f0;" | Player | ||
| {{{ | |||
| style="font-family: monospace;" | {{{Player|TBA}}} | |||
|- | |- | ||
<noinclude> | <!-- BOTTOM STATUS ROW (Controls the final row border. Players can type Status = Dead on their own character page if things go south) --> | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: #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}}} | |||
|}</includeonly><noinclude> | |||
== Infobox Character == | == Infobox Character == | ||
This template displays information about a 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 == | == Usage == | ||
Copy and paste: | Copy and paste this clean code snippet straight onto character profiles: | ||
<pre> | <pre> | ||
{{Infobox Character | {{Infobox Character | ||
| | | Name = | ||
| | | Image = Image.png | ||
| | | Titles = | ||
| | | Race = | ||
| | | Ethnicity = | ||
| | | Gender = | ||
| | | BirthMonth = | ||
| | | BirthYear = | ||
| | | Nationality = | ||
| | | Nation = | ||
| | | Occupation = | ||
| Religion = | |||
| Languages = | |||
| Player = | |||
| Status = Alive | |||
}} | }} | ||
</pre> | </pre> | ||
== | == Input Instructions for Dates == | ||
* '''BirthMonth''': Type the precise double-dash formatted months from the event categories (e.g., <code>January--February</code>, <code>March--April</code>). | |||
</ | |||
* '''BirthYear''': Use a simple whole integer. Use '''negative numbers''' for years before server launch (e.g., <code>-19</code> prints out as ''Era Vetus, Year 19''). Use '''positive numbers''' for years since the server launched (e.g., <code>2</code> prints out as ''Era Nova, Year 2''). | |||
</noinclude> | </noinclude> | ||
Revision as of 14:24, 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
| Name =
| Image = Image.png
| Titles =
| Race =
| Ethnicity =
| Gender =
| BirthMonth =
| BirthYear =
| Nationality =
| Nation =
| Occupation =
| Religion =
| Languages =
| Player =
| Status = Alive
}}
Input Instructions for Dates
- BirthMonth: Type the precise double-dash formatted months from the event categories (e.g.,
January--February,March--April).
- BirthYear: Use a simple whole integer. Use negative numbers for years before server launch (e.g.,
-19prints out as Era Vetus, Year 19). Use positive numbers for years since the server launched (e.g.,2prints out as Era Nova, Year 2).