Template:5e Deity: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(added deific type)
mNo edit summary
Line 12: Line 12:
|Plane = Text
|Plane = Text
|Symbol = Text
|Symbol = Text
|Pantheon = Text
|Pantheon = List (, ) of Text
|Worshipers = List (, ) of Text
|Worshipers = List (, ) of Text
}}
}}
</noinclude><includeonly>{{#if: {{{nodb|}}}|<!--skip-->|{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY: {{{sorttext}}} 5e}}|{{DEFAULTSORTKEY: {{{name}}} 5e}}}}}}
</noinclude><includeonly>{{#if: {{{nodb|}}}|<!--skip-->|{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY: {{{sorttext}}} 5e}}|{{DEFAULTSORTKEY: {{{name}}} 5e}}}}}}
{|style="border:1px solid silver; border-radius:0.5em; background: HoneyDew;"
 
!colspan="2" style="background: Gainsboro;|Deific Summary<span style="display:inline; float:right;">{{{refs|}}}</span>
<span style="font-size:1.3em;">'''{{{name}}}'''</span> {{{refs}}}<br />{{#if: {{{title|}}}|''{{{title}}}''<br />|}}
|-
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Deific Type:'''</span> {{{type|Deity}}}<br />
|style="background:#fffdfd; border-radius:0.5em;"|<span style="font-size:1.2em; border-color:honeydew;">'''{{{name}}}'''</span>{{#if: {{{title|}}}|<br />''{{{title}}}''|}}
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Portfolio:'''</span> {{#if: {{{of|}}}|{{{of}}}|}}<br />
'''Type:''' {{{type|Deity}}}<br />
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Gender:'''</span> {{#if: {{{gender|}}}|{{{gender}}}|Unstated}}<br />
'''Portfolio:''' {{#if: {{{of|}}}|{{{of}}}|}}<br />
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Alignment:'''</span> {{#if: {{{align|}}}|{{{align}}}|Unstated}}<br />
'''Gender:''' {{#if: {{{gender|}}}|{{{gender}}}|Unstated}}<br />
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Domains:'''</span> {{#if: {{{domain|}}}|{{5e Domain List|{{{domain}}}}}|}}<br />
'''Alignment:''' {{#if: {{{align|}}}|{{{align}}}|Unstated}}<br />
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Plane:'''</span> {{#if: {{{plane|}}}|{{{plane}}}|Unstated}}<br />
'''Domains:''' {{#if: {{{domain|}}}|{{5e Domain List|{{{domain}}}}}|}}<br />
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Symbol:'''</span> {{#if: {{{symbol|}}}|{{{symbol}}}|Unstated}}<br />
'''Plane:''' {{#if: {{{plane|}}}|{{{plane}}}|Unstated}}<br />
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Worshipers:'''</span> {{#if: {{{worshipers|}}}|{{{worshipers}}}|Unstated}}<br />
'''Symbol:''' {{#if: {{{symbol|}}}|{{{symbol}}}|Unstated}}<br />
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Pantheon:'''</span> {{#if: {{{pantheon|}}}|{{{pantheon}}}|Unstated}}
'''Worshipers:''' {{#if: {{{worshipers|}}}|{{{worshipers}}}|Unstated}}<br />
'''Pantheon:''' {{#if: {{{pantheon|}}}|{{{pantheon}}}|Unstated}}
|}
[[Category:5e Deities]]<!--
[[Category:5e Deities]]<!--


Line 37: Line 34:
_table = 5e_Deity
_table = 5e_Deity
|Name = {{{name|}}}
|Name = {{{name|}}}
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}}|{{PAGENAME}}}} {{#if: {{{5eh|}}}|5eh|5e}}
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}}|{{PAGENAME}} 5e}}
|Title = {{{title|}}}
|Title = {{{title|}}}
|Type = {{#if: {{{type|}}}|{{{type}}}|Deity|}}
|Type = {{#if: {{{type|}}}|{{{type}}}|Deity|}}
Line 48: Line 45:
|Pantheon = {{#if: {{{pantheon|}}}|{{{pantheon}}}|Unstated}}
|Pantheon = {{#if: {{{pantheon|}}}|{{{pantheon}}}|Unstated}}
|Worshipers = {{#if: {{{worshipers|}}}|{{{worshipers|}}}|Unstated}}
|Worshipers = {{#if: {{{worshipers|}}}|{{{worshipers|}}}|Unstated}}
}}}}</includeonly><noinclude>
}}<!--end cargo store-->{{#if: {{{noindv|}}}|<!--skip-->|<!--
 
Individual
 
-->{{5e Individual
|name={{{name|}}}
|sortText={{#if: {{{sorttext|}}}|{{{sorttext}}}|{{PAGENAME}}}}
|lineage={{#if: {{{type|}}}|{{{type}}}|Deity}}
|class=
|cr={{{cr|}}}
|alignment={{{align|}}}
|affiliation=
|sources=
|tags= <!--used only if no 5e Monster stat block and Not group-->
|hide=true
|nodb=
|}}[[Category:5e Individuals|{{#if: {{{sorttext|}}}|{{{sorttext}}}|{{PAGENAME}}}}]] }}<!--endif no indiv-->}}<!--endif nodb--></includeonly><noinclude>
Used on 5th edition pages describing a {{srd5lc|Deity}}.
Used on 5th edition pages describing a {{srd5lc|Deity}}.


Line 71: Line 84:
===Add'l Entries===
===Add'l Entries===
<pre>
<pre>
|5eh= <!--blank, true if 5eh, Used by admin-->
|nodb= <!--blank, true to skip database storage & sorttext-->
|nodb= <!--blank, true to skip database storage & sorttext-->
|noindv= <!--blank, true to not autofill the T:Individual-->
</pre>
</pre>



Revision as of 17:12, 21 April 2022

This template defines the table "5e_Deity". View table.

Used on 5th edition pages describing a deity.

Syntax

{{5e Deity
|name=
|sorttext=
|refs= <!--references-->
|title=
|type= <!--deity, minor deity, demigod, archdevil, demon prince, archfey, etc.-->
|gender= <!-- Male, Female, Androgenous, None, Unstated, Unknown -->
|of= <!-- Forests, Waves, etc. -->
|align=
|domain=
|plane=
|symbol=
|pantheon=
|worshipers=
}}

Add'l Entries

|nodb= <!--blank, true to skip database storage & sorttext-->
|noindv= <!--blank, true to not autofill the T:Individual-->

Example

{{5e Deity
|name=Foo
|sorttext=
|refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=1028}} Licensed: [[CC-BY-SA]].</ref>
|title=Barbaric Foo
|type=Minor Deity
|gender=Unknown
|of=Foolishness, Rashness
|align=Neutral
|domain=Knowledge, Humor
|plane=Bar
|symbol=Dunce Cap
|pantheon=Universal
|worshipers=
}}


Foo [1]
Barbaric Foo
Deific Type: Minor Deity
Portfolio: Foolishness, Rashness
Gender: Unknown
Alignment: Neutral
Domains: Knowledge, Humor
Plane: Bar
Symbol: Dunce Cap
Worshipers: Unstated
Pantheon: Universal

  1. Foo's Guide to Nothing p. 1028. Licensed: CC-BY-SA.