Template:Infobox Nation: Difference between revisions

From aquila
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(56 intermediate revisions by the same user not shown)
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>{| class="aquila-infobox" style="border: 1px solid {{{LineColour|#cbd5e1}}};"
|-
|-
<!-- MAIN TITLE HEADER -->
! colspan="2" class="aquila-infobox-title" style="background-color: {{{Colour|#1A365D}}}; color: {{{TextColour|#ffffff}}}; border-bottom: 3px solid {{{BorderColour|#0F172A}}};" | {{{Name|{{PAGENAME}}}}}
! colspan="2" style="background-color: {{{Colour|#1A365D}}}; color: {{{TextColour|#ffffff}}}; text-align: center; font-size: 125%; font-weight: bold; padding: 0.6em; border-bottom: 3px solid {{{BorderColour|#0F172A}}};" | {{{Name|{{PAGENAME}}}}}
|-
|-
 
| colspan="2" class="aquila-infobox-image" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | [[File:{{{Image|Image.png}}}|280px|center]]
<!-- 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]]
|-
 
<!-- DATA ROWS BREAKDOWN -->
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; width: 40%; border-bottom: 1px solid #e2e8f0;" | Capital
 
| {{{Capital|TBA}}}
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Culture
 
| {{{Culture|TBA}}}
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Location
 
| {{{Location|TBA}}}
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Government
 
| {{{Government|TBA}}}
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Leader
 
| {{{Leader|TBA}}}
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Religion
 
| {{{Religion|TBA}}}
|-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Legislature
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Capital
 
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{{Capital|TBA}}}
| {{{Legislature|TBA}}}
{{#if: {{{Culture|}}} | {{!}}-
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Culture
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Culture}}} }}
|-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Official Languages
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Location
 
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{{Location|TBA}}}{{#if: {{{Coordinates|{{{coordinates|}}}}}} | <div style="font-size: 85%; color: #64748b; margin-top: 3px;">Coords: {{{Coordinates|{{{coordinates|}}}}}}</div> }}
| {{{Official Languages|TBA}}}
|-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Demonym
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Government
 
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{{Government|TBA}}}
| {{{Demonym|TBA}}}
|-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Major Settlements
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Leader
 
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{{Leader|TBA}}}
| {{{Major Settlements|TBA}}}
{{#if: {{{Religion|}}} | {{!}}-
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Religion
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Religion}}} }}
{{#if: {{{Legislature|}}} | {{!}}-
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Legislature
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Legislature}}} }}
{{#if: {{{Official Languages|}}} | {{!}}-
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Official Languages
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Official Languages}}} }}
{{#if: {{{Demonym|}}} | {{!}}-
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Demonym
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Demonym}}} }}
{{#if: {{{Major Settlements|}}} | {{!}}-
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Major Settlements
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Major Settlements}}} }}
|-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Population
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Population
 
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{{Population|TBA}}}{{#if: {{{PlayerCount|{{{player_count|{{{Players|{{{players|}}}}}}}}}}}} | <div style="font-size: 85%; color: #64748b; margin-top: 3px;">({{{PlayerCount|{{{player_count|{{{Players|{{{players|}}}}}}}}}}}} members)</div> }}
| {{{Population|TBA}}}
{{#if: {{{Allies|}}} | {{!}}-
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Allies
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Allies}}} }}
{{#if: {{{Enemies|}}} | {{!}}-
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Enemies
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Enemies}}} }}
|-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Allies
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Age{{#if: {{{DissolvedYearLore|}}} | <span style="font-size: 75%; font-weight: normal; color: {{{LabelTextColour|#2d3748}}}; display: block;">(Active Span)</span> }}
 
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{#if: {{{FoundedYearLore|}}} | {{#expr: ({{#if: {{{DissolvedYearLore|}}} | {{{DissolvedYearLore}}} | {{CurrentLoreYear}} }} - {{{FoundedYearLore}}}) }} Years old | TBA }}
| {{{Allies|TBA}}}
|-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Enemies
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Founded
 
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{#if: {{{FoundedYearLore|}}} | {{#ifexpr: {{{FoundedYearLore}}} < 1 | Era Vetus, Year {{#expr: abs({{{FoundedYearLore}}}) }} | Era Nova, Year {{{FoundedYearLore}}} }} | TBA }}{{#if: {{{FoundedIRL|}}} | <div style="font-size: 85%; color: #64748b; margin-top: 3px;">{{{FoundedIRL}}} {{#iferror: ({{#expr: floor( ({{#time: U}} - {{#time: U | 20{{#titleparts:{{{FoundedIRL}}}|1|3}}-{{#titleparts:{{{FoundedIRL}}}|1|2}}-{{#titleparts:{{{FoundedIRL}}}|1|1}} }}) / 86400 )}} days old) | }}</div> }}
| {{{Enemies|TBA}}}
{{#if: {{{DissolvedYearLore|}}} | {{!}}-
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Dissolved
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{#ifexpr: {{{DissolvedYearLore}}} < 1 | Era Vetus, Year {{#expr: abs({{{DissolvedYearLore}}}) }} | Era Nova, Year {{{DissolvedYearLore}}} }} }}
|-
|-
<!-- AUTOMATED AGE OF NATION ROW -->
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}};" | Status
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Age
| class="aquila-infobox-data" | <span class="aquila-status-badge" style="background: {{#switch: {{lc:{{{Status|{{{status|Operational}}}}}}}}|operational|prosperous=#f0fdf4|vassal|subject|puppet=#fefce8|union=#eff6ff|declining=#fff7ed|inactive|collapsed|fallen=#fef2f2|annexed|dissolved=#fef2f2|#f0fdf4}}; color: {{#switch: {{lc:{{{Status|{{{status|Operational}}}}}}}}|operational|prosperous=#15803d|vassal|subject|puppet=#a16207|union=#1d4ed8|declining=#c2410c|inactive|collapsed|fallen=#b91c1c|annexed|dissolved=#7f1d1d|#15803d}}; border: 1px solid {{#switch: {{lc:{{{Status|{{{status|Operational}}}}}}}}|operational|prosperous=#bbf7d0|vassal|subject|puppet=#fef08a|union=#bfdbfe|declining=#ffedd5|inactive|collapsed|fallen=#fecaca|annexed|dissolved=#fecaca|#bbf7d0}};">{{{Status|{{{status|Operational}}}}}}</span>
 
|}
| {{#if: {{{FoundedLore|}}}  
[[Category:Nations]]
  | {{#expr: ({{CurrentLoreYear}} - {{#titleparts: {{{FoundedLore}}} | 1 | 2 }}) - ({{CurrentLoreMonthNumber}} < {{#switch: {{#titleparts: {{{FoundedLore}}} | 1 | 1 }}
</includeonly><noinclude>
    | 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)
 
| {{#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)
 
| {{{FoundedIRL|TBA}}}
|-
 
<!-- BOTTOM STATUS ROW -->
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #1a1a1a;" | Status
 
| style="padding: 0.4em 0.6em; font-weight: bold; color: #2f855a; border-bottom: 1px solid #1a1a1a;" | {{{Status|Active}}}
|} </includeonly><noinclude>


== Infobox Nation ==
== 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.
This template displays structured profile data for nations, kingdoms, and factions. Optional secondary parameters hide automatically if left blank to save screen space.


== Usage ==
== Usage ==
Line 116: Line 66:
<pre>
<pre>
{{Infobox Nation
{{Infobox Nation
| Colour           = #1A365D
| Colour             = #1A365D
| TextColour       = #ffffff
| TextColour         = #ffffff
| BorderColour     = #0F172A
| BorderColour       = #0F172A
| LabelColour     = #EDF2F7
| LabelColour       = #EDF2F7
| Name             =  
| LabelTextColour    = #2d3748
| Image           = Image.png
| LineColour        = #cbd5e1
| Capital         =  
| Name               =  
| Culture         =  
| Image             = Image.png
| Location         =  
| Capital           =  
| Government       =  
| Culture           =  
| Leader           =  
| Location           =
| Religion         =  
| Coordinates        = -1000, 2500
| Legislature     =  
| Government         =  
| Leader             =  
| Religion           =  
| Legislature       =  
| Official Languages =  
| Official Languages =  
| Demonym         =  
| Demonym           =  
| Major Settlements =  
| Major Settlements =  
| Population       =  
| Population         = 125,000
| Allies           =  
| PlayerCount        = 4
| Enemies         =  
| Allies             =  
| FoundedLore      =  
| Enemies           =
| FoundedIRL       =  
| FoundedYearLore    =  
| Status           = Active
| DissolvedYearLore  =  
| FoundedIRL         =  
| Status             = Operational
}}
}}
</pre>
</pre>


== TemplateData ==
<templatedata>
<templatedata>
{
{
"description": "Project Aquila's official automated Nation and Faction Infobox.",
"description": "Project Aquila's official automated Nation and Faction Infobox.",
"params": {
"params": {
"Colour": { "label": "Banner Background Colour", "description": "Hex code for the top header background (e.g. #1A365D). Defaults to theme blue.", "type": "string", "suggested": true },
"Colour": { "label": "Banner Background Colour", "description": "Hex code for top banner background.", "type": "string", "suggested": true },
"TextColour": { "label": "Banner Text Colour", "description": "Colour code for the nation's name text (e.g. #ffffff or white).", "type": "string", "suggested": true },
"TextColour": { "label": "Banner Text Colour", "description": "Hex code for top banner text.", "type": "string", "suggested": true },
"BorderColour": { "label": "Banner Underline Colour", "description": "Hex code for the thick accent bar directly below the main header.", "type": "string" },
"BorderColour": { "label": "Banner Underline Colour", "description": "Hex code for top banner underline colour.", "type": "string", "suggested": true },
"LabelColour": { "label": "Label Background Colour", "description": "Hex code for the background tint on the left labels (e.g. #EDF2F7).", "type": "string", "suggested": true },
"LabelColour": { "label": "Label Background Colour", "description": "Hex code for lower background label cells.", "type": "string", "suggested": true },
"Name": { "label": "Nation Name", "description": "The official name of the nation or kingdom.", "type": "string", "suggested": true },
"LabelTextColour": { "label": "Label Text Colour", "description": "Hex code for text color inside the left-hand label cells (defaults to #2d3748). Also styles subtext labels.", "type": "string", "suggested": true },
"Image": { "label": "Flag / Crest Image", "description": "Filename of the national flag or emblem file.", "type": "wiki-file-name", "default": "Image.png" },
"LineColour": { "label": "Internal Grid Line Colour", "description": "Hex code for the thin divider lines between table rows (defaults to #cbd5e1).", "type": "string", "suggested": true },
"Capital": { "label": "Capital City", "type": "string", "suggested": true },
"Name": { "label": "Nation Name", "description": "The official name of the nation or faction. Defaults to page title if blank.", "type": "string", "suggested": true },
"Culture": { "label": "Primary Culture", "type": "string" },
"Image": { "label": "Flag / Crest Image", "description": "Filename of the national flag or crest (e.g., Flag.png).", "type": "string", "default": "Image.png", "suggested": true },
"Location": { "label": "Territory Location", "description": "Geographical region or coordinates on the server map.", "type": "string", "suggested": true },
"Capital": { "label": "Capital City", "description": "The primary capital city or headquarters of the nation.", "type": "string", "suggested": true },
"Government": { "label": "Government Type", "description": "e.g., Feudal Monarchy, Technocracy, Republic", "type": "string", "suggested": true },
"Culture": { "label": "Primary Culture", "description": "Dominant culture or cultural group. Hides automatically if left blank.", "type": "string", "suggested": true },
"Leader": { "label": "Head of State / Ruler", "type": "string", "suggested": true },
"Location": { "label": "Territory Location", "description": "Geographic location, region, or general area.", "type": "string", "suggested": true },
"Religion": { "label": "State Religion", "type": "string" },
"Coordinates": { "label": "Coordinates", "description": "Raw in-game map coordinates. Do NOT write 'Coords:' — enter the numbers only (e.g., -1000, 2500). Renders automatically as Coords: X, Y, Z.", "type": "string", "suggested": true },
"Legislature": { "label": "Governing Body", "description": "e.g., Parliament, High Council, Senate", "type": "string" },
"Government": { "label": "Government Type", "description": "System of governance (e.g., Technocracy, Monarchy, Republic).", "type": "string", "suggested": true },
"Official Languages": { "label": "Official Languages", "type": "string" },
"Leader": { "label": "Head of State / Ruler", "description": "Current head(s) of state, ruler(s), or primary executive leadership.", "type": "string", "suggested": true },
"Demonym": { "label": "Demonym", "description": "What citizens of this nation are called (e.g., Koperdamer).", "type": "string" },
"Religion": { "label": "State Religion", "description": "Official or primary state religion/faith. Hides automatically if left blank.", "type": "string", "suggested": true },
"Major Settlements": { "label": "Major Cities / Towns", "type": "string" },
"Legislature": { "label": "Governing Body", "description": "Primary legislative assembly, council, or parliament. Hides automatically if left blank.", "type": "string", "suggested": true },
"Population": { "label": "Population Size", "type": "string" },
"Official Languages": { "label": "Official Languages", "description": "Languages recognized by the state. Hides automatically if left blank.", "type": "string", "suggested": true },
"Allies": { "label": "Allied Nations", "type": "string" },
"Demonym": { "label": "Demonym", "description": "Term used to describe inhabitants or members. Hides automatically if left blank.", "type": "string", "suggested": true },
"Enemies": { "label": "Rival / Enemy Factions", "type": "string" },
"Major Settlements": { "label": "Major Cities / Towns", "description": "Key settlements, cities, or outposts. Hides automatically if left blank.", "type": "string", "suggested": true },
"FoundedLore": {  
"Population": { "label": "In-Lore Population Size", "description": "Estimated total in-lore population size.", "type": "string", "suggested": true },
"label": "Founded (Lore)",  
"PlayerCount": { "label": "Number of Players", "description": "Actual real-world player count. Enter the raw number (e.g., 4). Renders automatically as (4 members).", "type": "number", "suggested": true },
"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).",  
"Allies": { "label": "Allied Nations", "description": "Formally allied factions, nations, or blocs. Hides automatically if left blank.", "type": "string", "suggested": true },
"type": "string",  
"Enemies": { "label": "Rival / Enemy Factions", "description": "Hostile nations, rival factions, or adversaries. Hides automatically if left blank.", "type": "string", "suggested": true },
"suggested": true
"FoundedYearLore": { "label": "Founded Year (Lore)", "description": "In-lore year the nation was founded. Automatically updates based on current lore year.", "type": "number", "suggested": true, "required": true },
},
"DissolvedYearLore": { "label": "Dissolved Year (Lore)", "description": "In-lore year the nation collapsed or dissolved. Locks the active lifespan calculation. Optional.", "type": "number", "required": false },
"FoundedIRL": { "label": "Founded (Real Date)", "description": "The real-world date the faction was created on the server (e.g. 15 August 2026).", "type": "string" },
"FoundedIRL": { "label": "Founded (Real Date)", "description": "Real-world creation date. Must be written strictly in DD/MM/YY format (e.g., 28/07/26).", "type": "string", "suggested": true, "required": true },
"Status": { "label": "Status", "description": "Type 'Active', 'Inactive', or 'Collapsed'.", "type": "string", "default": "Active", "suggested": true }
"Status": {
"label": "Current Status",
"description": "Select the political state of the nation. Auto-colors text based on selection.",
"type": "string",
"default": "Operational",
"required": true,
"suggestedvalues": [
"Operational",
"Prosperous",
"Vassal",
"Subject",
"Puppet",
"Union",
"Declining",
"Inactive",
"Collapsed",
"Fallen",
"Annexed",
"Dissolved"
]
}
}
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 21:16, 16 October 2026


Infobox Nation

This template displays structured profile data for nations, kingdoms, and factions. Optional secondary parameters hide automatically if left blank to save screen space.

Usage

Copy and paste this clean code snippet straight onto nation wiki pages:

{{Infobox Nation
| Colour             = #1A365D
| TextColour         = #ffffff
| BorderColour       = #0F172A
| LabelColour        = #EDF2F7
| LabelTextColour    = #2d3748
| LineColour         = #cbd5e1
| Name               = 
| Image              = Image.png
| Capital            = 
| Culture            = 
| Location           = 
| Coordinates        = -1000, 2500
| Government         = 
| Leader             = 
| Religion           = 
| Legislature        = 
| Official Languages = 
| Demonym            = 
| Major Settlements  = 
| Population         = 125,000
| PlayerCount        = 4
| Allies             = 
| Enemies            = 
| FoundedYearLore    = 
| DissolvedYearLore  = 
| FoundedIRL         = 
| Status             = Operational
}}

Project Aquila's official automated Nation and Faction Infobox.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Banner Background ColourColour

Hex code for top banner background.

Stringsuggested
Banner Text ColourTextColour

Hex code for top banner text.

Stringsuggested
Banner Underline ColourBorderColour

Hex code for top banner underline colour.

Stringsuggested
Label Background ColourLabelColour

Hex code for lower background label cells.

Stringsuggested
Label Text ColourLabelTextColour

Hex code for text color inside the left-hand label cells (defaults to #2d3748). Also styles subtext labels.

Stringsuggested
Internal Grid Line ColourLineColour

Hex code for the thin divider lines between table rows (defaults to #cbd5e1).

Stringsuggested
Nation NameName

The official name of the nation or faction. Defaults to page title if blank.

Stringsuggested
Flag / Crest ImageImage

Filename of the national flag or crest (e.g., Flag.png).

Default
Image.png
Stringsuggested
Capital CityCapital

The primary capital city or headquarters of the nation.

Stringsuggested
Primary CultureCulture

Dominant culture or cultural group. Hides automatically if left blank.

Stringsuggested
Territory LocationLocation

Geographic location, region, or general area.

Stringsuggested
CoordinatesCoordinates

Raw in-game map coordinates. Do NOT write 'Coords:' — enter the numbers only (e.g., -1000, 2500). Renders automatically as Coords: X, Y, Z.

Stringsuggested
Government TypeGovernment

System of governance (e.g., Technocracy, Monarchy, Republic).

Stringsuggested
Head of State / RulerLeader

Current head(s) of state, ruler(s), or primary executive leadership.

Stringsuggested
State ReligionReligion

Official or primary state religion/faith. Hides automatically if left blank.

Stringsuggested
Governing BodyLegislature

Primary legislative assembly, council, or parliament. Hides automatically if left blank.

Stringsuggested
Official LanguagesOfficial Languages

Languages recognized by the state. Hides automatically if left blank.

Stringsuggested
DemonymDemonym

Term used to describe inhabitants or members. Hides automatically if left blank.

Stringsuggested
Major Cities / TownsMajor Settlements

Key settlements, cities, or outposts. Hides automatically if left blank.

Stringsuggested
In-Lore Population SizePopulation

Estimated total in-lore population size.

Stringsuggested
Number of PlayersPlayerCount

Actual real-world player count. Enter the raw number (e.g., 4). Renders automatically as (4 members).

Numbersuggested
Allied NationsAllies

Formally allied factions, nations, or blocs. Hides automatically if left blank.

Stringsuggested
Rival / Enemy FactionsEnemies

Hostile nations, rival factions, or adversaries. Hides automatically if left blank.

Stringsuggested
Founded Year (Lore)FoundedYearLore

In-lore year the nation was founded. Automatically updates based on current lore year.

Numberrequired
Dissolved Year (Lore)DissolvedYearLore

In-lore year the nation collapsed or dissolved. Locks the active lifespan calculation. Optional.

Numberoptional
Founded (Real Date)FoundedIRL

Real-world creation date. Must be written strictly in DD/MM/YY format (e.g., 28/07/26).

Stringrequired
Current StatusStatus

Select the political state of the nation. Auto-colors text based on selection.

Suggested values
Operational Prosperous Vassal Subject Puppet Union Declining Inactive Collapsed Fallen Annexed Dissolved
Default
Operational
Stringrequired