Template:Infobox Nation: Difference between revisions

From aquila
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


<!-- IMAGE ROW -->
<!-- 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]]
| colspan="2" style="text-align: center; padding: 0.5em; background-color: #ffffff; border-bottom: 1px solid #a2a9b1;" | [[File:{{{Image|Image.png}}}|280px|center]]
|-
|-
Line 12: Line 11:
<!-- DATA ROWS BREAKDOWN -->
<!-- DATA ROWS BREAKDOWN -->
! 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}}}
|-
|-
<!-- HIDDEN CULTURE ROW -->
{{#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}}}
|-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Government
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Government
| {{{Government|TBA}}}
| {{{Government|TBA}}}
|-
|-
! 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}}}
|-
|-
<!-- HIDDEN RELIGION ROW -->
{{#if: {{{Religion|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Religion {{!}} {{{Religion}}} {{!}}- }}
{{#if: {{{Religion|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Religion
{{#if: {{{Legislature|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Legislature {{!}} {{{Legislature}}} {{!}}- }}
{{!}} {{{Religion}}}
{{#if: {{{Official Languages|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Official Languages {{!}} {{{Official Languages}}} {{!}}- }}
{{!}}-
{{#if: {{{Demonym|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Demonym {{!}} {{{Demonym}}} {{!}}- }}
}}
{{#if: {{{Major Settlements|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Major Settlements {{!}} {{{Major Settlements}}} {{!}}- }}
<!-- HIDDEN LEGISLATURE ROW -->
{{#if: {{{Legislature|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Legislature
{{!}} {{{Legislature}}}
{{!}}-
}}
<!-- HIDDEN OFFICIAL LANGUAGES ROW -->
{{#if: {{{Official Languages|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Official Languages
{{!}} {{{Official Languages}}}
{{!}}-
}}
<!-- HIDDEN DEMONYM ROW -->
{{#if: {{{Demonym|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Demonym
{{!}} {{{Demonym}}}
{{!}}-
}}
<!-- HIDDEN MAJOR SETTLEMENTS ROW -->
{{#if: {{{Major Settlements|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | 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}}}
|-
|-
<!-- HIDDEN ALLIES ROW -->
{{#if: {{{Allies|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Allies {{!}} {{{Allies}}} {{!}}- }}
{{#if: {{{Allies|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Allies
{{#if: {{{Enemies|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Enemies {{!}} {{{Enemies}}} {{!}}- }}
{{!}} {{{Allies}}}
{{!}}-
}}
<!-- HIDDEN ENEMIES ROW -->
{{#if: {{{Enemies|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Enemies
{{!}} {{{Enemies}}}
{{!}}-
}}
<!-- IN-GAME AGE ROW -->
<!-- IN-GAME AGE ROW -->
! 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 }}
|-
|-
<!-- IN-GAME FOUNDED ROW -->
<!-- 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: {{{FoundedYearLore|}}} | {{#ifexpr: {{{FoundedYearLore}}} < 1 | Era Vetus Year {{#expr: abs({{{FoundedYearLore}}}) }} | Era Nova Year {{{FoundedYearLore}}} }} | TBA }}
| {{#if: {{{FoundedYearLore|}}} | {{#ifexpr: {{{FoundedYearLore}}} < 1 | Era Vetus Year {{#expr: abs({{{FoundedYearLore}}}) }} | Era Nova Year {{{FoundedYearLore}}} }} | TBA }}
|-
|-
<!-- AUTOMATED REAL-WORLD FOUNDED & AGE ROW -->
<!-- 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)
| {{#if: {{{FoundedIRL|}}} | {{{FoundedIRL}}} - ({{#expr: floor( ({{#time: U}} - {{#time: U | 20{{#titleparts:{{{FoundedIRL}}}|1|3}}-{{#titleparts:{{{FoundedIRL}}}|1|2}}-{{#titleparts:{{{FoundedIRL}}}|1|1}} }}) / 86400 )}} days old) | TBA }}
| {{#if: {{{FoundedIRL|}}} | {{{FoundedIRL}}} - ({{#expr: floor( ({{#time: U}} - {{#time: U | 20{{#titleparts:{{{FoundedIRL}}}|1|3}}-{{#titleparts:{{{FoundedIRL}}}|1|2}}-{{#titleparts:{{{FoundedIRL}}}|1|1}} }}) / 86400 )}} days old) | TBA }}
|-
|-
Line 89: Line 48:
<!-- BOTTOM STATUS ROW -->
<!-- BOTTOM STATUS ROW -->
! 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: #2f855a; border-bottom: 1px solid #1a1a1a;" | {{{Status|Active}}}
| style="padding: 0.4em 0.6em; font-weight: bold; color: #2f855a; border-bottom: 1px solid #1a1a1a;" | {{{Status|Active}}}
|} </includeonly><noinclude>
|} </includeonly><noinclude>

Revision as of 17:15, 19 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             = Active
}}

TemplateData

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

no description

Stringsuggested
Banner Underline ColourBorderColour

no description

Stringoptional
Label Background ColourLabelColour

no description

Stringsuggested
Nation NameName

no description

Stringsuggested
Flag / Crest ImageImage

no description

Default
Image.png
Fileoptional
Capital CityCapital

no description

Stringsuggested
Primary CultureCulture

Hides automatically if left blank.

Stringoptional
Territory LocationLocation

no description

Stringsuggested
Government TypeGovernment

no description

Stringsuggested
Head of State / RulerLeader

no description

Stringsuggested
State ReligionReligion

Hides automatically if left blank.

Stringoptional
Governing BodyLegislature

Hides automatically if left blank.

Stringoptional
Official LanguagesOfficial Languages

Hides automatically if left blank.

Stringoptional
DemonymDemonym

Hides automatically if left blank.

Stringoptional
Major Cities / TownsMajor Settlements

Hides automatically if left blank.

Stringoptional
Population SizePopulation

no description

Stringsuggested
Allied NationsAllies

Hides automatically if left blank.

Stringoptional
Rival / Enemy FactionsEnemies

Hides automatically if left blank.

Stringoptional
Founded Year (Lore)FoundedYearLore

no description

Numberrequired
Founded (Real Date)FoundedIRL

Must be written strictly in DD/MM/YY format (e.g., 28/07/26).

Stringrequired
StatusStatus

no description

Default
Active
Stringrequired