Template:Infobox Religion: Difference between revisions

From aquila
Jump to navigation Jump to search
No edit summary
Blanked the page
Tag: Blanking
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);"
|-
<!-- MAIN TITLE HEADER -->
! 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}}}}}
|-


<!-- 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]]
|-
<!-- MANDATORY DATA ROWS -->
! 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)
| {{{Leaders|{{{Leader|TBA}}}}}}
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Place of Origin
| {{{PlaceOfOrigin|{{{Origin|TBA}}}}}}
|-
! 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|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Scripture
{{!}} {{{Scripture}}}
{{!}}-
}}
{{#if: {{{Language|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Language
{{!}} {{{Language}}}
{{!}}-
}}
{{#if: {{{Theology|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Theology
{{!}} {{{Theology}}}
{{!}}-
}}
{{#if: {{{Practices|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Religious Practices
{{!}} {{{Practices}}}
{{!}}-
}}
{{#if: {{{HolySites|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Holy Sites
{{!}} {{{HolySites}}}
{{!}}-
}}
{{#if: {{{Followers|}}} | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Followers
{{!}} {{{Followers}}}
{{!}}-
}}
{{#if: {{{AssociatedNations|}}} | ! 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 -->
! 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 }}
|-
<!-- IN-GAME FOUNDED ROW -->
! 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 }}
|-
<!-- AUTOMATED REAL-WORLD FOUNDED & AGE ROW -->
! 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 }}
|-
<!-- MANDATORY STATUS ROW -->
! 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}}}
|} </includeonly><noinclude>
== Infobox Religion ==
This template displays automated information about a religion or faith system. Mandatory fields show TBA if left blank; optional secondary fields hide automatically.
== Usage ==
Copy and paste this clean code snippet straight onto religion pages:
<pre>
{{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
}}
</pre>
== TemplateData ==
<templatedata>
{
"description": "Project Aquila's official Religion Infobox.",
"params": {
"Colour": { "label": "Header Background", "type": "string", "default": "#5C3D75" },
"TextColour": { "label": "Header Text Colour", "type": "string", "default": "#ffffff" },
"BorderColour": { "label": "Header Accent Line", "type": "string", "default": "#3E294F" },
"LabelColour": { "label": "Label Background", "type": "string", "default": "#F7F3FA" },
"Name": { "label": "Religion Name", "type": "string", "suggested": true },
"Image": { "label": "Logo / Icon File", "type": "wiki-file-name", "default": "Image.png" },
"Founder": { "label": "Founder", "type": "string", "required": true },
"Leaders": { "label": "Leader(s)", "type": "string", "required": true },
"PlaceOfOrigin": { "label": "Place of Origin", "type": "string", "required": true },
"Deity": { "label": "Deity / Deities", "type": "string", "required": 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", "required": true },
"FoundedIRL": { "label": "Founded (Real Date)", "description": "Must be written strictly in DD/MM/YY format (e.g., 28/07/26).", "type": "string", "required": true },
"Status": { "label": "Status", "type": "string", "default": "Active", "required": true }
}
}
</templatedata>
</noinclude>

Revision as of 17:09, 19 August 2026