Template:Infobox Nation: Difference between revisions

From aquila
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Tag: Reverted
Line 56: Line 56:
|-
|-
! 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 (IRL)
! 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 (IRL)
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{#if: {{{FoundedIRL|}}} | {{{FoundedIRL}}} {{#iferror: ({{#expr: floor( ({{#time: U}} - {{#time: U | 20{{#titleparts:{{{FoundedIRL}}}|1|3}}-{{#titleparts:{{{FoundedIRL}}}|1|2}}-{{#titleparts:{{{FoundedIRL}}}|1|1}} }}) / 86400 )}} days old) | }} | TBA }}
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{#if: {{{FoundedIRL|}}} | <span style="font-family: monospace; font-size: 0.9em;">{{#time: YYYY-MM-DD | {{{FoundedIRL}}} }}</span> {{#iferror: ({{#expr: floor( ({{#time: U}} - {{#time: U | {{{FoundedIRL}}} }}) / 86400 )}} days old) | }} | TBA }}
|-
|-
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}};" | Status
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}};" | Status
Line 95: Line 95:
| FoundedYearLore    =  
| FoundedYearLore    =  
| DissolvedYearLore  =  
| DissolvedYearLore  =  
| FoundedIRL        =  
| FoundedIRL        = 2026-07-28
| Status            = Operational
| Status            = Operational
}}
}}
Line 129: Line 129:
"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 },
"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 },
"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": "Real-world creation date. Must be written strictly in DD/MM/YY format (e.g., 28/07/26).", "type": "string", "suggested": true, "required": true },
"FoundedIRL": { "label": "Founded (Real Date)", "description": "Real-world creation date. Must be written strictly in YYYY-MM-DD or YYYY/MM/DD format (e.g., 2026-07-28).", "type": "string", "suggested": true, "required": true },
"Status": {
"Status": {
"label": "Current Status",
"label": "Current Status",

Revision as of 09:14, 10 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         = 2026-07-28
| 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
Real Player CountPlayerCount

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 YYYY-MM-DD or YYYY/MM/DD format (e.g., 2026-07-28).

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