Template:Infobox Nation: Difference between revisions
No edit summary |
No edit summary |
||
| Line 63: | Line 63: | ||
| {{{Enemies|TBA}}} | | {{{Enemies|TBA}}} | ||
|- | |- | ||
<!-- AUTOMATED | <!-- AUTOMATED AGE OF NATION ROW --> | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Age | |||
| {{#if: {{{FoundedLore|}}} | |||
| {{#expr: ({{CurrentLoreYear}} - {{#titleparts: {{{FoundedLore}}} | 1 | 2 }}) - ({{CurrentLoreMonthNumber}} < {{#switch: {{#titleparts: {{{FoundedLore}}} | 1 | 1 }} | |||
| 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 | |||
}}) }} Years | |||
| TBA | |||
}} | |||
|- | |||
<!-- MERGED DATE OF FOUNDING 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: {{{FoundedLore|}}} | ||
| | | {{#ifexpr: {{#titleparts: {{{FoundedLore}}} | 1 | 2 }} < 1 | ||
| Era Vetus, {{#titleparts: {{{FoundedLore}}} | 1 | 1 }}, Year {{#expr: abs({{#titleparts: {{{FoundedLore}}} | 1 | 2 }}) }} | |||
| {{# | | Era Nova, {{#titleparts: {{{FoundedLore}}} | 1 | 1 }}, Year {{#titleparts: {{{FoundedLore}}} | 1 | 2 }} | ||
}} | |||
| TBA | |||
}} | }} | ||
|- | |- | ||
! 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}}} | ||
|- | |- | ||
| Line 87: | Line 110: | ||
== Infobox Nation == | == Infobox Nation == | ||
This template displays structured profile data for nations, kingdoms, and factions. It | This template displays structured profile data for nations, kingdoms, and factions. It dynamically tracks the age and chronology of the faction across server days. | ||
== Usage == | == Usage == | ||
| Line 93: | Line 116: | ||
<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 = | ||
| | | FoundedLore = | ||
| | | FoundedIRL = | ||
| Status | | Status = Active | ||
}} | }} | ||
</pre> | </pre> | ||
== TemplateData == | == TemplateData == | ||
| Line 146: | Line 165: | ||
"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" }, | ||
" | "FoundedLore": { | ||
" | "label": "Founded (Lore)", | ||
"description": "Enter the month and raw year index separated strictly by a comma. (e.g., March--April, -19 for Era Vetus or January, 2 for Era Nova).", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"FoundedIRL": { "label": "Founded (Real Date)", "description": "The real-world date the faction was created on the server (e.g. 15 August 2026).", "type": "string" }, | |||
"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:50, 19 August 2026
Infobox Nation
This template displays structured profile data for nations, kingdoms, and factions. It dynamically tracks the age and chronology of the faction across 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 =
| FoundedLore =
| 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 | 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 (Lore) | FoundedLore | Enter the month and raw year index separated strictly by a comma. (e.g., March--April, -19 for Era Vetus or January, 2 for Era Nova). | String | suggested |
| Founded (Real Date) | FoundedIRL | The real-world date the faction was created on the server (e.g. 15 August 2026). | String | optional |
| Status | Status | Type 'Active', 'Inactive', or 'Collapsed'.
| String | suggested |