Template:Deity: Difference between revisions

Template page
mNo edit summary
Tag: Manual revert
mNo edit summary
Line 7: Line 7:
<navigation>
<navigation>
<h3>{{PAGENAME}}</h3>
<h3>{{PAGENAME}}</h3>
{{#if:{{{sideImage|}}}|[[Image:{{{sideImage}}}|class=fullwidth]]}}{{#if:{{{Titles|}}}{{{Pantheon|}}}{{{Portfolio|}}}{{{Worshippers|}}}|<p class="infoboxHeader">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 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}}}}}
{{#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:'''&nbsp;</span><span style="display: inline-block; vertical-align: top;">{{#arraymap:{{{Titles}}}|,|x|x<br>|\s}}</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>
</navigation>
</infobox>}}
</infobox>}}

Revision as of 11:10, 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.