Dicemonger (talk | contribs) No edit summary |
Dicemonger (talk | contribs) mNo edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params: | {{#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| | {{#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>{{#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]]}} | ||
{{#if:{{{isMaster|}}}|<infobox layout="stacked"> | |||
<navigation> | |||
<h3>{{PAGENAME}}</h3> | |||
{{#if:{{{sideImage|}}}|[[Image:{{{sideImage}}}|class=fullwidth]]}}{{#if:{{{Titles|}}}{{{Pantheon|}}}{{{Portfolio|}}}{{{Worshippers|}}}|<p class="infoboxHeader">Basic information</p>}}{{#if:{{{Titles|}}}|<span style="display: inline-block; vertical-align: top;">'''Title(s):''' </span><span style="display: inline-block; vertical-align: top;">{{#arraymap:{{{Titles}}}|,|x|x|,<br>}}</span><br>}}{{#if:{{{Pantheon|}}}|'''Pantheon:''' {{{Pantheon}}}<br>}}{{#if:{{{Portfolio|}}}|'''Portfolio:''' {{{Portfolio}}}<br>}}{{#if:{{{Worshippers|}}}|'''Worshippers:''' {{{Worshippers}}}<br>}}{{#if:{{{DivineFont|}}}{{{DivineSkill|}}}{{{FavoredWeapon|}}}{{{Domains|}}}{{{Spells|}}}|<p class="infoboxHeader">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> |
Latest revision as of 11:35, 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.