Template:Infobox Nation: Difference between revisions

From aquila
Jump to navigation Jump to search
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 7: Line 7:
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; width: 40%; border-bottom: 1px solid #e2e8f0;" | Capital
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; width: 40%; border-bottom: 1px solid #e2e8f0;" | Capital
| {{{Capital|TBA}}}
| {{{Capital|TBA}}}
{{#if: {{{Culture|}}} | {{!}}-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Culture
{{!}} {{{Culture}}} }}
|-
|-
{{#if: {{{Culture|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Culture
{{!}} {{{Culture}}}
{{!-}}
}}
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Location
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Location
| {{{Location|TBA}}}
| {{{Location|TBA}}}
Line 21: Line 19:
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Leader
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Leader
| {{{Leader|TBA}}}
| {{{Leader|TBA}}}
|-
{{#if: {{{Religion|}}} | {{!}}-
{{#if: {{{Religion|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Religion
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Religion
{{!}} {{{Religion}}}
{{!}} {{{Religion}}} }}
{{!-}}
{{#if: {{{Legislature|}}} | {{!}}-
}}
{{#if: {{{Legislature|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Legislature
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Legislature
{{!}} {{{Legislature}}}
{{!}} {{{Legislature}}} }}
{{!-}}
{{#if: {{{Official Languages|}}} | {{!}}-
}}
{{#if: {{{Official Languages|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Official Languages
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Official Languages
{{!}} {{{Official Languages}}}
{{!}} {{{Official Languages}}} }}
{{!-}}
{{#if: {{{Demonym|}}} | {{!}}-
}}
{{#if: {{{Demonym|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Demonym
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Demonym
{{!}} {{{Demonym}}}
{{!}} {{{Demonym}}} }}
{{!-}}
{{#if: {{{Major Settlements|}}} | {{!}}-
}}
{{#if: {{{Major Settlements|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Major Settlements
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Major Settlements
{{!}} {{{Major Settlements}}}
{{!}} {{{Major Settlements}}} }}
{{!-}}
|-
}}
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Population
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Population
| {{{Population|TBA}}}
| {{{Population|TBA}}}
|-
{{#if: {{{Allies|}}} | {{!}}-
{{#if: {{{Allies|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Allies
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Allies
{{!}} {{{Allies}}}
{{!}} {{{Allies}}} }}
{{!-}}
{{#if: {{{Enemies|}}} | {{!}}-
}}
{{#if: {{{Enemies|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Enemies
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Enemies
{{!}} {{{Enemies}}}
{{!}} {{{Enemies}}} }}
{{!-}}
|-
}}
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Age (Lore)
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Age (Lore)
| {{#if: {{{FoundedYearLore|}}} | {{#expr: {{CurrentLoreYear}} - {{{FoundedYearLore}}} }} Years | TBA }}
| {{#if: {{{FoundedYearLore|}}} | {{#expr: {{CurrentLoreYear}} - {{{FoundedYearLore}}} }} Years | TBA }}
Line 70: Line 54:
|-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #1a1a1a;" | Status
! 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: {{#switch: {{lc:{{{Status|{{{status|active}}}}}}}} | active | operational | prosperous = #2f855a | vassal | subject | puppet = #d69e2e | union = #3182ce | declining = #dd6b20 | inactive | collapsed | fallen = #c53030 | annexed | dissolved = #742a2a | #2f855a }}; border-bottom: 1px solid #1a1a1a;" | {{{Status|{{{status|Active}}}}}}
| style="padding: 0.4em 0.6em; border-bottom: 1px solid #1a1a1a;" | <span style="font-weight: bold; color: {{#switch: {{lc:{{{Status|{{{status|Operational}}}}}}}}|operational|prosperous=#2f855a|vassal|subject|puppet=#d69e2e|union=#3182ce|declining=#dd6b20|inactive|collapsed|fallen=#c53030|annexed|dissolved=#742a2a|#2f855a}};">{{{Status|{{{status|Operational}}}}}}</span>
|}</includeonly><noinclude>
|}
</includeonly><noinclude>


== Infobox Nation ==
== Infobox Nation ==
Line 101: Line 86:
| FoundedYearLore    =  
| FoundedYearLore    =  
| FoundedIRL        =  
| FoundedIRL        =  
| Status            = Active
| Status            = Operational
}}
}}
</pre>
</pre>
Line 111: Line 96:
"Colour": { "label": "Banner Background Colour", "description": "Hex code for top banner background.", "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": "Hex code for top banner text.", "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 top banner underline colour.", "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 lower background label cells.", "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 faction. Defaults to page title if blank.", "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 },
"Image": { "label": "Flag / Crest Image", "description": "Filename of the national flag or crest (e.g., Flag.png).", "type": "wiki-file-name", "default": "Image.png" },
"Image": { "label": "Flag / Crest Image", "description": "Filename of the national flag or crest (e.g., Flag.png).", "type": "string", "default": "Image.png", "suggested": true },
"Capital": { "label": "Capital City", "description": "The primary capital city or headquarters of the nation.", "type": "string", "suggested": true },
"Capital": { "label": "Capital City", "description": "The primary capital city or headquarters of the nation.", "type": "string", "suggested": true },
"Culture": { "label": "Primary Culture", "description": "Dominant culture or cultural group. Hides automatically if left blank.", "type": "string" },
"Culture": { "label": "Primary Culture", "description": "Dominant culture or cultural group. Hides automatically if left blank.", "type": "string", "suggested": true },
"Location": { "label": "Territory Location", "description": "Geographic location, region, or coordinates on the world map.", "type": "string", "suggested": true },
"Location": { "label": "Territory Location", "description": "Geographic location, region, or coordinates on the world map.", "type": "string", "suggested": true },
"Government": { "label": "Government Type", "description": "System of governance (e.g., Technocracy, Monarchy, Republic).", "type": "string", "suggested": true },
"Government": { "label": "Government Type", "description": "System of governance (e.g., Technocracy, Monarchy, Republic).", "type": "string", "suggested": true },
"Leader": { "label": "Head of State / Ruler", "description": "Current head(s) of state, ruler(s), or primary executive leadership.", "type": "string", "suggested": true },
"Leader": { "label": "Head of State / Ruler", "description": "Current head(s) of state, ruler(s), or primary executive leadership.", "type": "string", "suggested": true },
"Religion": { "label": "State Religion", "description": "Official or primary state religion/faith. Hides automatically if left blank.", "type": "string" },
"Religion": { "label": "State Religion", "description": "Official or primary state religion/faith. Hides automatically if left blank.", "type": "string", "suggested": true },
"Legislature": { "label": "Governing Body", "description": "Primary legislative assembly, council, or parliament. Hides automatically if left blank.", "type": "string" },
"Legislature": { "label": "Governing Body", "description": "Primary legislative assembly, council, or parliament. Hides automatically if left blank.", "type": "string", "suggested": true },
"Official Languages": { "label": "Official Languages", "description": "Languages recognized by the state. Hides automatically if left blank.", "type": "string" },
"Official Languages": { "label": "Official Languages", "description": "Languages recognized by the state. Hides automatically if left blank.", "type": "string", "suggested": true },
"Demonym": { "label": "Demonym", "description": "Term used to describe inhabitants or members. Hides automatically if left blank.", "type": "string" },
"Demonym": { "label": "Demonym", "description": "Term used to describe inhabitants or members. Hides automatically if left blank.", "type": "string", "suggested": true },
"Major Settlements": { "label": "Major Cities / Towns", "description": "Key settlements, cities, or outposts. Hides automatically if left blank.", "type": "string" },
"Major Settlements": { "label": "Major Cities / Towns", "description": "Key settlements, cities, or outposts. Hides automatically if left blank.", "type": "string", "suggested": true },
"Population": { "label": "Population Size", "description": "Estimated total in-lore population size or member count.", "type": "string", "suggested": true },
"Population": { "label": "Population Size", "description": "Estimated total in-lore population size or member count.", "type": "string", "suggested": true },
"Allies": { "label": "Allied Nations", "description": "Formally allied factions, nations, or blocs. Hides automatically if left blank.", "type": "string" },
"Allies": { "label": "Allied Nations", "description": "Formally allied factions, nations, or blocs. Hides automatically if left blank.", "type": "string", "suggested": true },
"Enemies": { "label": "Rival / Enemy Factions", "description": "Hostile nations, rival factions, or adversaries. Hides automatically if left blank.", "type": "string" },
"Enemies": { "label": "Rival / Enemy Factions", "description": "Hostile nations, rival factions, or adversaries. Hides automatically if left blank.", "type": "string", "suggested": true },
"FoundedYearLore": { "label": "Founded Year (Lore)", "description": "In-lore year the nation was founded. If your nation was made 1000 years ago in lore, put -1000. Automatically updates based on current lore year.", "type": "number", "required": true },
"FoundedYearLore": { "label": "Founded Year (Lore)", "description": "In-lore year the nation was founded. If your nation was made 1000 years ago in lore, put -1000. Automatically updates based on current lore year.", "type": "number", "suggested": true, "required": true },
"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", "required": true },
"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": {
"Status": {
"label": "Current Status",
"label": "Current Status",
"description": "Select the political state of the nation. Auto-colors text based on selection.",
"description": "Select the political state of the nation. Auto-colors text based on selection.",
"type": "string",
"type": "string",
"default": "Active",
"default": "Operational",
"suggested": true,
"suggested": true,
"suggestedvalues": [
"suggestedvalues": [
"Active",
"Operational",
"Operational",
"Prosperous",
"Prosperous",

Latest revision as of 10:51, 23 August 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
| Name               = 
| Image              = Image.png
| Capital            = 
| Culture            = 
| Location           = 
| Government         = 
| Leader             = 
| Religion           = 
| Legislature        = 
| Official Languages = 
| Demonym            = 
| Major Settlements  = 
| Population         = 
| Allies             = 
| Enemies            = 
| FoundedYearLore    = 
| 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
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 coordinates on the world map.

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
Population SizePopulation

Estimated total in-lore population size or member count.

Stringsuggested
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. If your nation was made 1000 years ago in lore, put -1000. Automatically updates based on current lore year.

Numberrequired
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
Stringsuggested