Template:Infobox God: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{| class=infobox |-{{#if: {{{Image}}} | {{Image|{{{Image}}} | {{blank}} }} |-{{#if: {{{Full Name}}} | {{Full Name|{{{Full Name}}} | {{blank}} }} |-{{#if: {{{Alias}}} | {{Alias|{{{Alias}}} | {{blank}} }} |-{{#if: {{{Body}}} | {{Body|{{{Body}}} | {{blank}} }} |-{{#if: {{{Soul}}} | {{Soul|{{{Soul}}} | {{blank}} }} |} <noinclude> <templatedata> { "params": { "Full Name": { "type": "string", "required": true } } } </templatedata> </noinclude>") |
mNo edit summary |
||
(28 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | |||
{| class=infobox | {| class=infobox | ||
|-{{#if: {{{ | !colspan="2" class="infobox-title" | {{{Full Name}}} | ||
|-{{#if: {{{ | |- | ||
|-{{#if: {{{ | !colspan="2" class="infobox-image" | {{File|{{{Image}}}|}} | ||
|-{{#if: {{{ | |- | ||
|-{{#if: {{{ | !colspan="2" class="infobox-subtitle" | General Info | ||
|-{{#if: {{{Gods Impact|}}} | {{Gods Impact|{{{Gods Impact}}}|}} | {{blank}} }} | |||
|-{{#if: {{{Alias|}}} | {{Alias|{{{Alias}}}|}} | {{blank}} }} | |||
|-{{#if: {{{Soulcards|}}} | {{Soulcards|{{{Soulcards}}}|}} | {{blank}} }} | |||
|-{{#if: {{{Birthday|}}} | {{Birthday|{{{Birthday}}}|}} | {{blank}} }} | |||
|- | |||
!colspan="2" class="infobox-subtitle" | Character Info | |||
|-{{#if: {{{Race|}}} | {{Race|{{{Race}}}|}} | {{blank}} }} | |||
|-{{#if: {{{Body|}}} | {{Body|{{{Body}}}|}} | {{blank}} }} | |||
|} | |} | ||
{{#if: {{{Gods Impact|}}} | [[Category:{{{Gods Impact}}} Gods]] }} | |||
{{#if: {{{Race|}}} | [[Category:{{{Race}}}]] }} | |||
{{#if: {{{Body|}}} | [[Category:{{{Body}}}]] }} | |||
[[Category:Gods]] [[Category:People of Interest]] | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
Usage example: | |||
<pre> | |||
{{Infobox God| | |||
Image = | |||
Full Name = | |||
Gods Impact = | |||
Alias = | |||
Soulcards = | |||
Birthday = | |||
Race = | |||
Body = | |||
Soul = | |||
}} | |||
</pre> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 13: | Line 41: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"Image": { | |||
"type": "wiki-file-name", | |||
"default": "Placeholder.png" | |||
}, | |||
"Alias": { | |||
"type": "string" | |||
}, | |||
"Alignment": { | |||
"type": "string", | |||
"deprecated": "replaced with Soulcards" | |||
}, | |||
"Birthday": { | |||
"type": "string" | |||
}, | |||
"Race": { | |||
"type": "wiki-page-name" | |||
}, | |||
"Body": { | |||
"type": "string" | |||
}, | |||
"Soul": { | |||
"type": "string" | |||
}, | |||
"Gods Impact": { | |||
"description": "What kind of god is it?", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Minor", | |||
"Major", | |||
"Origin" | |||
] | |||
}, | |||
"Soulcards": { | |||
"type": "string", | |||
"suggested": true | |||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"Full Name", | |||
"Image", | |||
"Gods Impact", | |||
"Alias", | |||
"Alignment", | |||
"Birthday", | |||
"Race", | |||
"Body", | |||
"Soul", | |||
"Soulcards" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 20:14, 24 October 2024
Usage example:
{{Infobox God| Image = Full Name = Gods Impact = Alias = Soulcards = Birthday = Race = Body = Soul = }}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Full Name | Full Name | no description | String | required |
Image | Image | no description
| File | optional |
Gods Impact | Gods Impact | What kind of god is it?
| String | optional |
Alias | Alias | no description | String | optional |
Alignment | Alignment | no description | String | deprecated |
Birthday | Birthday | no description | String | optional |
Race | Race | no description | Page name | optional |
Body | Body | no description | String | optional |
Soul | Soul | no description | String | optional |
Soulcards | Soulcards | no description | String | suggested |