Template:Deity: Difference between revisions

Template page
No edit summary
 
mNo edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Title(s)|Pantheon|Portfolio|Worshippers|Edicts|Anathema|Alignments (label=Follower Alignments)|DivineFont (label=Divine Font)|DivineSkill (label=Divine Skill)|FavoredWeapon (label=Favored Weapon)}}
{{#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|Title(s)=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}}
{{#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}}
</noinclude><includeonly>{{#cargo_store:_table=Deities}}
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Deities}}
{{#template_display:_format=standard}}
<yambe:breadcrumb>Deities</yambe:breadcrumb>}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
{{#if:{{{isMaster|}}}|<infobox layout="stacked">
<navigation>
<h3>{{PAGENAME}}</h3>
{{#if:{{{sideImage|}}}|[[Image:{{{sideImage}}}|class=fullwidth]]}}{{#if:{{{Titles|}}}{{{Pantheon|}}}{{{Portfolio|}}}{{{Worshippers|}}}|<p style="background-color:var(--color-surface-3);">Basic information</p>}}{{#if:{{{Titles|}}}|'''Title(s):''' {{{Titles}}}<br>}}{{#if:{{{Pantheon|}}}|'''Pantheon:''' {{{Pantheon}}}<br>}}{{#if:{{{Portfolio|}}}|'''Portfolio:''' {{{Portfolio}}}<br>}}{{#if:{{{Worshippers|}}}|'''Worshippers:''' {{{Worshippers}}}<br>}}{{#if:{{{DivineFont|}}}{{{DivineSkill|}}}{{{FavoredWeapon|}}}{{{Domains|}}}{{{Spells|}}}|<p style="background-color:var(--color-surface-3);">Statistics</p>}}{{#if:{{{DivineFont|}}}|'''Divine Font:''' ''{{{DivineFont}}}''<br>}}{{#if:{{{DivineSkill|}}}|'''Divine Skill:''' ''{{{DivineSkill}}}''<br>}}{{#if:{{{FavoredWeapon|}}}|'''Favored Weapon:''' {{{FavoredWeapon}}}<br>}}{{#if:{{{Domains|}}}|'''Domains:''' {{{Domains}}}<br>}}{{#if:{{{Spells|}}}|'''Cleric Spells:''' {{{Spells}}}}}
</navigation>
</infobox>}}
{{#if:{{{isMaster|}}}||<h3 style="margin-top: 0em;"> {{{Name}}} [[File:Link tome.webp|25px|link={{{Name}}}]]
</h3>}}
{{{Description}}}
 
{{#if:{{{Edicts|}}}|'''Edicts:''' {{{Edicts}}}<br>}}
{{#if:{{{Anathema|}}}|'''Anathema:''' {{{Anathema}}}<br>}}
{{#if:{{{Alignments|}}}|'''Alignments:''' {{{Alignments}}}}}
 
[[Category:Deities]]
[[Category:Deities]]
</includeonly>
</includeonly>

Revision as of 09:56, 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.