Template:Infobox Nation: Difference between revisions
No edit summary |
No edit summary Tag: Reverted |
||
| Line 2: | Line 2: | ||
|- | |- | ||
<!-- MAIN TITLE HEADER --> | <!-- MAIN TITLE HEADER --> | ||
! colspan="2" style="background-color: {{{Colour|# | ! colspan="2" style="background-color: {{{Colour|#5C3D75}}}; color: {{{TextColour|#ffffff}}}; text-align: center; font-size: 125%; font-weight: bold; padding: 0.6em; border-bottom: 3px solid {{{BorderColour|#3E294F}}};" | {{{Name|{{PAGENAME}}}}} | ||
|- | |- | ||
| Line 10: | Line 10: | ||
|- | |- | ||
<!-- DATA ROWS | <!-- MANDATORY DATA ROWS --> | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|# | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; width: 40%; border-bottom: 1px solid #e2e8f0;" | Founder | ||
| {{{ | | {{{Founder|TBA}}} | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Leader(s) | |||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|# | |||
| {{{ | | {{{Leaders|{{{Leader|TBA}}}}}} | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Place of Origin | |||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|# | |||
| {{{ | | {{{PlaceOfOrigin|{{{Origin|TBA}}}}}} | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|# | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Deity / Deities | ||
| {{{ | | {{{Deity|{{{Deities|TBA}}}}}} | ||
|- | |- | ||
<!-- OPTIONAL HIDDEN ROWS --> | |||
{{#if: {{{Scripture|}}} | | |||
<!-- HIDDEN | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Scripture | ||
{{#if: {{{ | |||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|# | |||
| {{{ | | {{{Scripture}}} | ||
|- | |- | ||
}} | }} | ||
{{#if: {{{Language|}}} | | |||
{{#if: {{{ | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Language | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|# | |||
| {{{ | | {{{Language}}} | ||
|- | |- | ||
}} | }} | ||
{{#if: {{{Theology|}}} | | |||
{{#if: {{{ | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Theology | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|# | |||
| {{{ | | {{{Theology}}} | ||
|- | |- | ||
}} | }} | ||
{{#if: {{{Practices|}}} | | |||
{{#if: {{{ | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Religious Practices | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|# | |||
| {{{ | | {{{Practices}}} | ||
|- | |- | ||
}} | }} | ||
{{#if: {{{HolySites|}}} | | |||
{{#if: {{{ | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Holy Sites | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|# | |||
| {{{ | | {{{HolySites}}} | ||
|- | |- | ||
}} | }} | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|# | {{#if: {{{Followers|}}} | | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Followers | |||
| {{{ | | {{{Followers}}} | ||
|- | |- | ||
}} | |||
{{#if: {{{ | {{#if: {{{AssociatedNations|}}} | | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|# | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Associated Nations | ||
| {{{ | | {{{AssociatedNations}}} | ||
|- | |- | ||
}} | }} | ||
<!-- IN-GAME AGE ROW --> | <!-- IN-GAME AGE ROW --> | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|# | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; 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|# | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; 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|# | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; 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 104: | Line 91: | ||
<!-- BOTTOM STATUS ROW --> | <!-- BOTTOM STATUS ROW --> | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|# | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; 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> | ||
== Infobox | == Infobox Religion == | ||
This template displays | This template displays automated information about a religion or faith system. Optional fields hide automatically when left blank. | ||
== Usage == | == Usage == | ||
Copy and paste this clean code snippet straight onto | Copy and paste this clean code snippet straight onto religion pages: | ||
<pre> | <pre> | ||
{{Infobox | {{Infobox Religion | ||
| Colour | | Colour = #5C3D75 | ||
| TextColour | | TextColour = #ffffff | ||
| BorderColour | | BorderColour = #3E294F | ||
| LabelColour | | LabelColour = #F7F3FA | ||
| Name | | Name = | ||
| Image | | Image = Image.png | ||
| | | Founder = | ||
| Leaders = | |||
| | | PlaceOfOrigin = | ||
| | | Deity = | ||
| | | Scripture = | ||
| | | Language = | ||
| | | Theology = | ||
| | | Practices = | ||
| | | HolySites = | ||
| | | Followers = | ||
| | | AssociatedNations = | ||
| | | FoundedYearLore = | ||
| FoundedIRL = | |||
| FoundedYearLore | | Status = Active | ||
| FoundedIRL | |||
| Status | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 144: | Line 129: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Project Aquila's official | "description": "Project Aquila's official Religion Infobox.", | ||
"params": { | "params": { | ||
"Colour": { "label": " | "Colour": { "label": "Header Background", "type": "string", "default": "#5C3D75" }, | ||
"TextColour": { "label": " | "TextColour": { "label": "Header Text Colour", "type": "string", "default": "#ffffff" }, | ||
"BorderColour": { "label": " | "BorderColour": { "label": "Header Accent Line", "type": "string", "default": "#3E294F" }, | ||
"LabelColour": { "label": "Label Background | "LabelColour": { "label": "Label Background", "type": "string", "default": "#F7F3FA" }, | ||
"Name": { "label": " | "Name": { "label": "Religion Name", "type": "string", "suggested": true }, | ||
"Image": { "label": " | "Image": { "label": "Logo / Icon File", "type": "wiki-file-name", "default": "Image.png" }, | ||
" | "Founder": { "label": "Founder", "type": "string", "suggested": true }, | ||
" | "Leaders": { "label": "Leader(s)", "type": "string", "suggested": true }, | ||
"PlaceOfOrigin": { "label": "Place of Origin", "type": "string", "suggested": true }, | |||
" | "Deity": { "label": "Deity / Deities", "type": "string", "suggested": true }, | ||
" | "Scripture": { "label": "Scripture / Holy Texts", "description": "Hides automatically if left blank.", "type": "string" }, | ||
" | "Language": { "label": "Liturgical Language", "description": "Hides automatically if left blank.", "type": "string" }, | ||
" | "Theology": { "label": "Theology Type", "description": "Hides automatically if left blank.", "type": "string" }, | ||
" | "Practices": { "label": "Religious Practices", "description": "Hides automatically if left blank.", "type": "string" }, | ||
" | "HolySites": { "label": "Holy Sites", "description": "Hides automatically if left blank.", "type": "string" }, | ||
" | "Followers": { "label": "Number/Group of Followers", "description": "Hides automatically if left blank.", "type": "string" }, | ||
" | "AssociatedNations": { "label": "Associated Nations", "description": "Hides automatically if left blank.", "type": "string" }, | ||
" | |||
"FoundedYearLore": { "label": "Founded Year (Lore)", "type": "number", "suggested": true }, | "FoundedYearLore": { "label": "Founded Year (Lore)", "type": "number", "suggested": true }, | ||
"FoundedIRL": { "label": "Founded (Real Date)", "description": "Must be written strictly in DD/MM/YY format (e.g., 28/07/26).", "type": "string", "suggested": true }, | "FoundedIRL": { "label": "Founded (Real Date)", "description": "Must be written strictly in DD/MM/YY format (e.g., 28/07/26).", "type": "string", "suggested": true }, | ||
Revision as of 16:55, 19 August 2026
Infobox Religion
This template displays automated information about a religion or faith system. Optional fields hide automatically when left blank.
Usage
Copy and paste this clean code snippet straight onto religion pages:
{{Infobox Religion
| Colour = #5C3D75
| TextColour = #ffffff
| BorderColour = #3E294F
| LabelColour = #F7F3FA
| Name =
| Image = Image.png
| Founder =
| Leaders =
| PlaceOfOrigin =
| Deity =
| Scripture =
| Language =
| Theology =
| Practices =
| HolySites =
| Followers =
| AssociatedNations =
| FoundedYearLore =
| FoundedIRL =
| Status = Active
}}
TemplateData
Project Aquila's official Religion Infobox.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Header Background | Colour | no description
| String | optional |
| Header Text Colour | TextColour | no description
| String | optional |
| Header Accent Line | BorderColour | no description
| String | optional |
| Label Background | LabelColour | no description
| String | optional |
| Religion Name | Name | no description | String | suggested |
| Logo / Icon File | Image | no description
| File | optional |
| Founder | Founder | no description | String | suggested |
| Leader(s) | Leaders | no description | String | suggested |
| Place of Origin | PlaceOfOrigin | no description | String | suggested |
| Deity / Deities | Deity | no description | String | suggested |
| Scripture / Holy Texts | Scripture | Hides automatically if left blank. | String | optional |
| Liturgical Language | Language | Hides automatically if left blank. | String | optional |
| Theology Type | Theology | Hides automatically if left blank. | String | optional |
| Religious Practices | Practices | Hides automatically if left blank. | String | optional |
| Holy Sites | HolySites | Hides automatically if left blank. | String | optional |
| Number/Group of Followers | Followers | Hides automatically if left blank. | String | optional |
| Associated Nations | AssociatedNations | Hides automatically if left blank. | String | optional |
| Founded Year (Lore) | FoundedYearLore | no description | Number | suggested |
| Founded (Real Date) | FoundedIRL | Must be written strictly in DD/MM/YY format (e.g., 28/07/26). | String | suggested |
| Status | Status | no description
| String | suggested |