Template:Infobox Religion: Difference between revisions
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]] | ||
|- | |||
<!-- | <!-- 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) | |||
| {{#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: {{{ | |||
{ | |||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#F7F3FA}}}; border-bottom: 1px solid #e2e8f0;" | |||
< | | {{#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 | 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 = | ||
| Theology = | | Theology = | ||
| Practices = | | Practices = | ||
| Line 81: | Line 118: | ||
| Followers = | | Followers = | ||
| AssociatedNations = | | AssociatedNations = | ||
| | | FoundedYearLore = | ||
| | | 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", " | "Founder": { "label": "Founder", "type": "string", "required": true }, | ||
"Leaders": { "label": "Leader(s)", "type": "string", " | "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", "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" }, | ||
" | "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", " | "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.
| 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 | required |
| Leader(s) | Leaders | no description | String | required |
| Place of Origin | PlaceOfOrigin | no description | String | required |
| Deity / Deities | Deity | no description | String | required |
| 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 | required |
| Founded (Real Date) | FoundedIRL | Must be written strictly in DD/MM/YY format (e.g., 28/07/26). | String | required |
| Status | Status | no description
| String | required |