Template:Deity: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Titles|Pantheon|Portfolio|Worshippers|Edicts|Anathema|Alignments (label=Follower Alignments)|DivineFont (label=Divine Font)|DivineSkill (label=Divine Skill)|FavoredWeapon (label=Favored Weapon)|Domains (label=Domains)|Spells (label=Cleric Spells)|isMaster|headerImage|sideImage}}
{{#template_params:Titles|Pantheon|Portfolio|Worshippers|Edicts|Anathema|Alignments (label=Follower Alignments)|DivineFont (label=Divine Font)|DivineSkill (label=Divine Skill)|FavoredWeapon (label=Favored Weapon)|Domains (label=Domains)|Spells (label=Cleric Spells)|isMaster|headerImage|sideImage}}
{{#cargo_declare:_table=Deities|Titles=List (,) of String|Pantheon=Wikitext|Portfolio=Wikitext|Worshippers=Wikitext|Edicts=Wikitext|Anathema=Wikitext|Alignments=String|DivineFont=String (allowed values=heal,harm,harm or heal)|DivineSkill=String|FavoredWeapon=String|Domains=Wikitext|Spells=Wikitext}}
{{#cargo_declare:_table=Deities|Name=String|Titles=List (,) of String|Pantheon=Wikitext|Portfolio=Wikitext|Worshippers=Wikitext|Edicts=Wikitext|Anathema=Wikitext|Alignments=String|DivineFont=String (allowed values=heal,harm,harm or heal)|DivineSkill=String|FavoredWeapon=String|Domains=Wikitext|Spells=Wikitext}}
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Deities}}
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Deities|Name={{SUBPAGENAME}}}}
<yambe:breadcrumb>Deities</yambe:breadcrumb>}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
<yambe:breadcrumb>Deities</yambe:breadcrumb>}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
{{#if:{{{isMaster|}}}|<infobox layout="stacked">
{{#if:{{{isMaster|}}}|<infobox layout="stacked">

Revision as of 09:58, 11 June 2023

This is the "Deity" template.

It should be called in the following format:

{{Deity
|Titles=
|Pantheon=
|Portfolio=
|Worshippers=
|Edicts=
|Anathema=
|Alignments=
|DivineFont=
|DivineSkill=
|FavoredWeapon=
|Domains=
|Spells=
|isMaster=
|headerImage=
|sideImage=
}}

Edit the page to see the template text.

This template defines the table "Deities". View table.