Template:Infobox Religion: 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]]
|-


<!-- ALWAYS VISIBLE FIELDS -->
<!-- MANDATORY DATA ROWS -->
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; width: 40%; border-bottom: 1px solid #e2e8f0;" | Founder
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; width: 40%; border-bottom: 1px solid #e2e8f0;" | Founder
| {{{Founder|TBA}}}
| {{{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|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Leader(s)
| {{{Leaders|{{{Leader|TBA}}}}}}
| {{{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|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Place of Origin
| {{{PlaceOfOrigin|{{{Origin|TBA}}}}}}
| {{{PlaceOfOrigin|{{{Origin|TBA}}}}}}
|-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Deity / Deities
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Deity / Deities
| {{{Deity|{{{Deities|TBA}}}}}}
| {{{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)


<!-- OPTIONAL FIELDS (ONLY SHOW IF FILLED OUT) -->
| {{#if: {{{FoundedYearLore|}}} | {{#expr: {{CurrentLoreYear}} - {{{FoundedYearLore}}} }} Years | TBA }}
{{#if: {{{Scripture|}}} | {{!}}-
|-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Scripture
<!-- IN-GAME FOUNDED ROW -->
{{!}} {{{Scripture}}} }}
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | Founded (Lore)
{{#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}}} }}
{{#if: {{{FoundingLore|}}} | {{!}}-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Founding (Lore)
{{!}} {{{FoundingLore}}} }}
{{#if: {{{FoundingRealLife|}}} | {{!}}-
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" {{!}} Founding (OOC)
{{!}} {{{FoundingRealLife}}} }}


<!-- ALWAYS VISIBLE STATUS ROW -->
| {{#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="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 Religion ==
== Infobox Religion ==
This template displays automated information about a religion or faith system.
This template displays automated information about a religion or faith system. Mandatory fields show TBA if left blank; optional secondary fields hide automatically.


== Usage ==
== Usage ==
Copy and paste this snippet onto religion articles:
Copy and paste this clean code snippet straight onto religion pages:
<pre>
<pre>
{{Infobox Religion
{{Infobox Religion
Line 72: Line 109:
| Founder          =  
| Founder          =  
| Leaders          =  
| Leaders          =  
| PlaceOfOrigin    =
| Deity            =
| Scripture        =  
| Scripture        =  
| Language          =  
| Language          =  
| PlaceOfOrigin    =
| Deity            =
| Theology          =  
| Theology          =  
| Practices        =  
| Practices        =  
Line 81: Line 118:
| Followers        =  
| Followers        =  
| AssociatedNations =  
| AssociatedNations =  
| FoundingLore      =  
| FoundedYearLore  =  
| FoundingRealLife  =  
| FoundedIRL        =  
| Status            = Active
| Status            = Active
}}
}}
Line 98: Line 135:
"Name": { "label": "Religion Name", "type": "string", "suggested": true },
"Name": { "label": "Religion Name", "type": "string", "suggested": true },
"Image": { "label": "Logo / Icon File", "type": "wiki-file-name", "default": "Image.png" },
"Image": { "label": "Logo / Icon File", "type": "wiki-file-name", "default": "Image.png" },
"Founder": { "label": "Founder", "type": "string", "suggested": true },
"Founder": { "label": "Founder", "type": "string", "required": true },
"Leaders": { "label": "Leader(s)", "type": "string", "suggested": true },
"Leaders": { "label": "Leader(s)", "type": "string", "required": true },
"Scripture": { "label": "Scripture / Holy Texts", "type": "string" },
"PlaceOfOrigin": { "label": "Place of Origin", "type": "string", "required": true },
"Language": { "label": "Liturgical Language", "type": "string" },
"Deity": { "label": "Deity / Deities", "type": "string", "required": true },
"PlaceOfOrigin": { "label": "Place of Origin", "type": "string", "suggested": true },
"Scripture": { "label": "Scripture / Holy Texts", "description": "Hides automatically if left blank.", "type": "string" },
"Deity": { "label": "Deity / Deities", "type": "string", "suggested": true },
"Language": { "label": "Liturgical Language", "description": "Hides automatically if left blank.", "type": "string" },
"Theology": { "label": "Theology Type", "type": "string" },
"Theology": { "label": "Theology Type", "description": "Hides automatically if left blank.", "type": "string" },
"Practices": { "label": "Religious Practices", "type": "string" },
"Practices": { "label": "Religious Practices", "description": "Hides automatically if left blank.", "type": "string" },
"HolySites": { "label": "Holy Sites", "type": "string" },
"HolySites": { "label": "Holy Sites", "description": "Hides automatically if left blank.", "type": "string" },
"Followers": { "label": "Number/Group of Followers", "type": "string" },
"Followers": { "label": "Number/Group of Followers", "description": "Hides automatically if left blank.", "type": "string" },
"AssociatedNations": { "label": "Associated Nations", "type": "string" },
"AssociatedNations": { "label": "Associated Nations", "description": "Hides automatically if left blank.", "type": "string" },
"FoundingLore": { "label": "In-Universe Founding Date", "type": "string" },
"FoundedYearLore": { "label": "Founded Year (Lore)", "type": "number", "required": true },
"FoundingRealLife": { "label": "Real-Life Creation Date", "type": "string" },
"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", "suggested": true }
"Status": { "label": "Status", "type": "string", "default": "Active", "required": true }
}
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 17:01, 19 August 2026


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:

{{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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Header BackgroundColour

no description

Default
#5C3D75
Stringoptional
Header Text ColourTextColour

no description

Default
#ffffff
Stringoptional
Header Accent LineBorderColour

no description

Default
#3E294F
Stringoptional
Label BackgroundLabelColour

no description

Default
#F7F3FA
Stringoptional
Religion NameName

no description

Stringsuggested
Logo / Icon FileImage

no description

Default
Image.png
Fileoptional
FounderFounder

no description

Stringrequired
Leader(s)Leaders

no description

Stringrequired
Place of OriginPlaceOfOrigin

no description

Stringrequired
Deity / DeitiesDeity

no description

Stringrequired
Scripture / Holy TextsScripture

Hides automatically if left blank.

Stringoptional
Liturgical LanguageLanguage

Hides automatically if left blank.

Stringoptional
Theology TypeTheology

Hides automatically if left blank.

Stringoptional
Religious PracticesPractices

Hides automatically if left blank.

Stringoptional
Holy SitesHolySites

Hides automatically if left blank.

Stringoptional
Number/Group of FollowersFollowers

Hides automatically if left blank.

Stringoptional
Associated NationsAssociatedNations

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