Template:Infobox Deity: Difference between revisions

From FusionGirl Wiki
Jump to navigationJump to search
(Fix Template:Infobox Deity — use {{Infobox}} with parameters)
(Fix Template:Infobox Deity - wrapper around Infobox)
 
Line 1: Line 1:
{{Infobox
<includeonly>{{Infobox
| title      = {{{name|}}}
| title      = {{{name|}}}
| image      = {{{image|}}}
| image      = {{{image|}}}
| caption    = {{{caption|}}}
| caption    = {{{caption|}}}
| header1    = Deity Profile
| header1    = Deity Profile
| label1     = Pantheon
| label2     = Pantheon
| data1     = {{{pantheon|}}}
| data2     = {{{pantheon|}}}
| label2     = Domain
| label3     = Domain
| data2     = {{{domain|}}}
| data3     = {{{domain|}}}
| label3     = Symbol
| label4     = Symbol
| data3     = {{{symbol|}}}
| data4     = {{{symbol|}}}
| label4     = Worshipers
| label5     = Worshipers
| data4     = {{{worshipers|}}}
| data5     = {{{worshipers|}}}
| label5     = Alignment
| label6     = Alignment
| data5     = {{{alignment|}}}
| data6     = {{{alignment|}}}
| label6     = Home Plane
| label7     = Home Plane
| data6     = {{{home_plane|}}}
| data7     = {{{home_plane|}}}
| label7     = Allies
| label8     = Allies
| data7     = {{{allies|}}}
| data8     = {{{allies|}}}
| label8     = Enemies
| label9     = Enemies
| data8     = {{{enemies|}}}
| data9     = {{{enemies|}}}
| below      = {{{below|}}}
| below      = {{{below|}}}
}}<noinclude>
}}</includeonly><noinclude>
{{templatedata:
== Infobox Deity ==
<templatedata>
Wrapper around <nowiki>{{Infobox}}</nowiki> for deity pages.
{
 
    "params": {
=== Usage ===
        "name":       {"label": "Name",      "required": true,  "description": "Deity name",              "type": "string"},
<pre>
        "image":     {"label": "Image",      "required": false, "description": "Image file or wikitext",  "type": "string"},
{{Infobox Deity
        "caption":    {"label": "Caption",    "required": false, "description": "Image caption",            "type": "string"},
| name      = Athena
        "pantheon":  {"label": "Pantheon",   "required": false, "description": "Pantheon / tradition",    "type": "string"},
| image      = [[File:Athena.png|250px]]
        "domain":     {"label": "Domain",    "required": false, "description": "Domain of influence",      "type": "string"},
| pantheon  = Greek
        "symbol":     {"label": "Symbol",    "required": false, "description": "Sacred symbol",            "type": "string"},
| domain    = Wisdom, War
        "worshipers": {"label": "Worshipers", "required": false, "description": "Primary worshiper groups", "type": "string"},
| symbol    = Owl, Olive tree
        "alignment":  {"label": "Alignment",  "required": false, "description": "Moral alignment",          "type": "string"},
| worshipers = Athenians
        "home_plane": {"label": "Home Plane", "required": false, "description": "Plane of existence",      "type": "string"},
        "allies":    {"label": "Allies",    "required": false, "description": "Allied deities",          "type": "string"},
        "enemies":    {"label": "Enemies",    "required": false, "description": "Opposing deities",        "type": "string"},
        "below":      {"label": "Below",      "required": false, "description": "Footer content",          "type": "string"}
    },
    "paramOrder": ["name","image","caption","pantheon","domain","symbol","worshipers","alignment","home_plane","allies","enemies","below"],
    "description": "Infobox for deity pages"
}
</templatedata>
}}
}}
</pre>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 17:52, 13 March 2026

Infobox Deity

Wrapper around {{Infobox}} for deity pages.

Usage

{{Infobox Deity
| name       = Athena
| image      = [[File:Athena.png|250px]]
| pantheon   = Greek
| domain     = Wisdom, War
| symbol     = Owl, Olive tree
| worshipers = Athenians
}}