Template:God: Difference between revisions

From The Lost Legion Wiki
Murmur (talk | contribs)
Created page with "<noinclude> '''Usage:''' <pre> {{God | alignment = | pronouns = | domains = | fanart = }} </pre> <templatedata> { "description": "Infobox for gods", "params": { "pronouns": { "label": "Pronouns", "description": "The god's pronouns.", "type": "string", "required": true }, "alignment": { "label": "Alignment", "description": "The god's alignment.", "ty..."
 
Murmur (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
| domains =
| domains =
| fanart =
| fanart =
| status =
}}
}}
</pre>
</pre>
Line 36: Line 37:
             "type": "string",
             "type": "string",
             "required": false
             "required": false
        }, 
        "status": {
            "label": "Status",
            "description": "The god’s status, e.g Alive, Dead or anything in between.",
            "type": "string",
            "required": true
         }
         }
     }
     }
Line 41: Line 48:
</templatedata>
</templatedata>
</noinclude>
</noinclude>
<includeonly>
[[Category:Characters]]
[[Category:Gods]]
[[Category:NPCs]]
[[Category:{{{alignment}}}]]
{| class="wikitable" style="float:right; width:300px; margin:0 0 1em 1em;"  
{| class="wikitable" style="float:right; width:300px; margin:0 0 1em 1em;"  
!colspan="2" | '''Basic information'''
!colspan="2" | '''Basic information'''
Line 53: Line 65:
|-
|-
|'''Pronouns:''' || {{{pronouns|}}}
|'''Pronouns:''' || {{{pronouns|}}}
|-
|'''Status:''' || {{{status|}}}
|}
|}
</includeonly>

Latest revision as of 23:39, 19 November 2024

Usage:

{{God
| alignment =
| pronouns =
| domains =
| fanart =
| status =
}}

Infobox for gods

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Pronounspronouns

The god's pronouns.

Stringrequired
Alignmentalignment

The god's alignment.

Stringrequired
Domainsdomains

Possible domains.

Stringrequired
Fanartfanart

URL or filename of the god’s fanart image.

Stringoptional
Statusstatus

The god’s status, e.g Alive, Dead or anything in between.

Stringrequired