Template:Infobox Nation: Difference between revisions
No edit summary |
No edit summary |
||
| Line 63: | Line 63: | ||
| {{{Enemies|TBA}}} | | {{{Enemies|TBA}}} | ||
|- | |- | ||
<!-- | <!-- IN-GAME AGE ROW --> | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Age | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Age (Lore) | ||
| {{#if: {{{ | | {{#if: {{{FoundedYearLore|}}} | {{#expr: {{CurrentLoreYear}} - {{{FoundedYearLore}}} }} Years | TBA }} | ||
|- | |- | ||
<!-- | <!-- IN-GAME FOUNDED ROW --> | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Founded (Lore) | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Founded (Lore) | ||
| {{#if: {{{ | | {{#if: {{{FoundedYearLore|}}} | {{#ifexpr: {{{FoundedYearLore}}} < 1 | Era Vetus Year {{#expr: abs({{{FoundedYearLore}}}) }} | Era Nova Year {{{FoundedYearLore}}} }} | TBA }} | ||
|- | |- | ||
<!-- AUTOMATED REAL-WORLD FOUNDED & AGE ROW --> | |||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Founded (IRL) | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Founded (IRL) | ||
| {{{FoundedIRL|TBA | | {{#if: {{{FoundedIRL|}}} | {{{FoundedIRL}}} - ({{#expr: floor( ({{#time: U}} - {{#time: U | {{{FoundedIRL}}} }}) / 86400 )}} days old) | TBA }} | ||
|- | |- | ||
| Line 110: | Line 86: | ||
== Infobox Nation == | == Infobox Nation == | ||
This template displays structured profile data for nations, kingdoms, and factions. It dynamically tracks the age | This template displays structured profile data for nations, kingdoms, and factions. It dynamically tracks the age of the nation both in roleplay years and real-world server days. | ||
== Usage == | == Usage == | ||
| Line 116: | Line 92: | ||
<pre> | <pre> | ||
{{Infobox Nation | {{Infobox Nation | ||
| Colour | | Colour = #1A365D | ||
| TextColour | | TextColour = #ffffff | ||
| BorderColour | | BorderColour = #0F172A | ||
| LabelColour | | LabelColour = #EDF2F7 | ||
| Name | | Name = | ||
| Image | | Image = Image.png | ||
| Capital | | Capital = | ||
| Culture | | Culture = | ||
| Location | | Location = | ||
| Government | | Government = | ||
| Leader | | Leader = | ||
| Religion | | Religion = | ||
| Legislature | | Legislature = | ||
| Official Languages = | | Official Languages = | ||
| Demonym | | Demonym = | ||
| Major Settlements = | | Major Settlements = | ||
| Population | | Population = | ||
| Allies | | Allies = | ||
| Enemies | | Enemies = | ||
| | | FoundedYearLore = | ||
| FoundedIRL | | FoundedIRL = | ||
| Status | | Status = Active | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 155: | Line 131: | ||
"Culture": { "label": "Primary Culture", "type": "string" }, | "Culture": { "label": "Primary Culture", "type": "string" }, | ||
"Location": { "label": "Territory Location", "description": "Geographical region or coordinates on the server map.", "type": "string", "suggested": true }, | "Location": { "label": "Territory Location", "description": "Geographical region or coordinates on the server map.", "type": "string", "suggested": true }, | ||
"Government": { "label": "Government Type", "description": "e.g., Feudal Monarchy, Technocracy, Republic", "type": "string", "suggested": true }, | "Government": { "label": "Government Type", "description": "e.g., Feudal Monarchy, Technocracy, Republic, Democracy, Anarchy", "type": "string", "suggested": true }, | ||
"Leader": { "label": "Head of State / Ruler", "type": "string", "suggested": true }, | "Leader": { "label": "Head of State / Ruler", "type": "string", "suggested": true }, | ||
"Religion": { "label": "State Religion", "type": "string" }, | "Religion": { "label": "State Religion", "type": "string" }, | ||
| Line 165: | Line 141: | ||
"Allies": { "label": "Allied Nations", "type": "string" }, | "Allies": { "label": "Allied Nations", "type": "string" }, | ||
"Enemies": { "label": "Rival / Enemy Factions", "type": "string" }, | "Enemies": { "label": "Rival / Enemy Factions", "type": "string" }, | ||
" | "FoundedYearLore": { "label": "Founded Year (Lore)", "description": "The in-game calendar year this nation was established. Use negative numbers for Era Vetus (e.g. -19) and positive numbers for Era Nova (e.g. 2).", "type": "number", "suggested": true }, | ||
"FoundedIRL": { "label": "Founded (Real Date)", "description": "CRITICAL: You MUST write this strictly in DD/MM/YY format (e.g., 28/07/26). This calculates the real-world days active automatically.", "type": "string", "suggested": true }, | |||
"FoundedIRL": { "label": "Founded (Real Date)", "description": " | |||
"Status": { "label": "Status", "description": "Type 'Active', 'Inactive', or 'Collapsed'.", "type": "string", "default": "Active", "suggested": true } | "Status": { "label": "Status", "description": "Type 'Active', 'Inactive', or 'Collapsed'.", "type": "string", "default": "Active", "suggested": true } | ||
} | } | ||
Revision as of 15:54, 19 August 2026
Infobox Nation
This template displays structured profile data for nations, kingdoms, and factions. It dynamically tracks the age of the nation both in roleplay years and real-world server days.
Usage
Copy and paste this clean code snippet straight onto nation wiki pages:
{{Infobox Nation
| Colour = #1A365D
| TextColour = #ffffff
| BorderColour = #0F172A
| LabelColour = #EDF2F7
| Name =
| Image = Image.png
| Capital =
| Culture =
| Location =
| Government =
| Leader =
| Religion =
| Legislature =
| Official Languages =
| Demonym =
| Major Settlements =
| Population =
| Allies =
| Enemies =
| FoundedYearLore =
| FoundedIRL =
| Status = Active
}}
TemplateData
Project Aquila's official automated Nation and Faction Infobox.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Banner Background Colour | Colour | Hex code for the top header background (e.g. #1A365D). Defaults to theme blue. | String | suggested |
| Banner Text Colour | TextColour | Colour code for the nation's name 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. #EDF2F7). | String | suggested |
| Nation Name | Name | The official name of the nation or kingdom. | String | suggested |
| Flag / Crest Image | Image | Filename of the national flag or emblem file.
| File | optional |
| Capital City | Capital | no description | String | suggested |
| Primary Culture | Culture | no description | String | optional |
| Territory Location | Location | Geographical region or coordinates on the server map. | String | suggested |
| Government Type | Government | e.g., Feudal Monarchy, Technocracy, Republic, Democracy, Anarchy | String | suggested |
| Head of State / Ruler | Leader | no description | String | suggested |
| State Religion | Religion | no description | String | optional |
| Governing Body | Legislature | e.g., Parliament, High Council, Senate | String | optional |
| Official Languages | Official Languages | no description | String | optional |
| Demonym | Demonym | What citizens of this nation are called (e.g., Koperdamer). | String | optional |
| Major Cities / Towns | Major Settlements | no description | String | optional |
| Population Size | Population | no description | String | optional |
| Allied Nations | Allies | no description | String | optional |
| Rival / Enemy Factions | Enemies | no description | String | optional |
| Founded Year (Lore) | FoundedYearLore | The in-game calendar year this nation was established. Use negative numbers for Era Vetus (e.g. -19) and positive numbers for Era Nova (e.g. 2). | Number | suggested |
| Founded (Real Date) | FoundedIRL | CRITICAL: You MUST write this strictly in DD/MM/YY format (e.g., 28/07/26). This calculates the real-world days active automatically. | String | suggested |
| Status | Status | Type 'Active', 'Inactive', or 'Collapsed'.
| String | suggested |