Template:5e Deity: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 5: Line 5:
|Sort_Text = Text
|Sort_Text = Text
|Title = List (, ) of Text
|Title = List (, ) of Text
|Type = Text
|Gender = Text
|Gender = Text
|Deity_of = List (, ) of Text
|Portfolio = List (, ) of Text
|Alignment = Text
|Alignment = Text
|Domains = List (, ) of Text
|Domains = List (, ) of Text
|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-style:solid; border-width:1px; border-color: #e8d693; border-radius:0.5em; background: #e8d693;"
<div style="display:block; border:solid 1px Lavender; border-radius:0.5em; background:Lavender;">
!style="background: #e8d693;|Deity Summary
<span style="font-size:1em; font-weight:bold;">{{anchor|Deific Summary}}</span>
|-
<div style="display:block; border:solid 1px gainsboro; border-radius:0.5em; background:#fefeff;">
|style="background:#fffdfd; border-radius:0.5em;"|<span style="font-size:1.2em;">'''{{{name}}}'''</span>{{#if: {{{title|}}}, <br />{{{title}}}|}}
<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 />
'''Portfolio:''' {{#if: {{{of|}}}|{{{of}}}|}}<br />
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Portfolio:'''</span> {{#if: {{{of|}}}|{{{of}}}|}}<br />
'''Gender:''' {{#if: {{{gender|}}}|{{{gender}}}|Unstated}}<br />
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Gender:'''</span> {{#if: {{{gender|}}}|{{{gender}}}|Unstated}}<br />
'''Alignment:''' {{#if: {{{align|}}}|{{{align}}}|Unstated}}<br />
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Alignment:'''</span> {{#if: {{{align|}}}|{{{align}}}|Unstated}}<br />
'''Domains:''' {{#if: {{{domain|}}}|{{5e Domain List|{{{domain}}}}}|}}<br />
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Domains:'''</span> {{#if: {{{domain|}}}|{{5e Domain List|{{{domain}}}}}|}}<br />
'''Plane:''' {{#if: {{{plane|}}}|{{{plane}}}|Unstated}}<br />
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Plane:'''</span> {{#if: {{{plane|}}}|{{{plane}}}|Unstated}}<br />
'''Symbol:''' {{#if: {{{symbol|}}}|{{{symbol}}}|Unstated}}<br />
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Symbol:'''</span> {{#if: {{{symbol|}}}|{{{symbol}}}|Unstated}}<br />
'''Worshipers:''' {{#if: {{{worshipers|}}}|{{{worshipers}}}|Unstated}}<br />
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Worshipers:'''</span> {{#if: {{{worshipers|}}}|{{{worshipers}}}|Unstated}}<br />
'''Pantheon:''' {{#if: {{{pantheon|}}}|{{{pantheon}}}|Unstated}}
<span style="display:inline-block; width:6em; text-align:left; background:aliceblue;">'''Pantheon:'''</span> {{#if: {{{pantheon|}}}|{{{pantheon}}}|Unstated}}
|}
</div></div>[[Category:5e Deities]]<!--
[[Category:5e Deities]]<!--


Data Store
Data Store
Line 36: Line 36:
_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|}}}
|Gender = {{#if: {{{gender|}}}|Unstated}}
|Type = {{#if: {{{type|}}}|{{{type}}}|Deity|}}
|Deity_of = {{#if: {{{of|}}}|{{{of}}}|Unstated}}
|Gender = {{#if: {{{gender|}}}|{{{gender}}}|Unstated}}
|Alignment = {{{alignment|}}}
|Portfolio = {{#if: {{{of|}}}|{{{of}}}|Unstated}}
|Alignment = {{{align|}}}
|Domains = {{#if: {{{domain|}}}|{{{domain}}}|Unstated}}
|Domains = {{#if: {{{domain|}}}|{{{domain}}}|Unstated}}
|Plane = {{#if: {{{plane|}}}|{{{plane}}}|Unstated}}
|Plane = {{#if: {{{plane|}}}|{{{plane}}}|Unstated}}
|symbol = {{{symbol|}}}
|Symbol = {{{symbol|}}}
|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}}
|gender={{{gender|}}}
|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 54: Line 72:
|name=
|name=
|sorttext=
|sorttext=
|refs= <!--references-->
|title=
|title=
|type= <!--deity, minor deity, demigod, archdevil, demon prince, archfey, etc.-->
|gender= <!-- Male, Female, Androgenous, None, Unstated, Unknown -->
|gender= <!-- Male, Female, Androgenous, None, Unstated, Unknown -->
|of= <!-- Forests, Waves, etc. -->
|of= <!-- Forests, Waves, etc. -->
Line 67: Line 87:
===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>


Line 76: Line 96:
|name=Foo
|name=Foo
|sorttext=
|sorttext=
|refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=1028}} Licensed: [[CC-BY-SA]].</ref>
|title=Barbaric Foo
|title=Barbaric Foo
|type=Minor Deity
|gender=Unknown
|gender=Unknown
|of=Foolishness, Rashness
|of=Foolishness, Rashness
Line 91: Line 113:
|name=Foo
|name=Foo
|sorttext=
|sorttext=
|refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=1028}} Licensed: [[CC-BY-SA]].</ref>
|type=Minor Deity
|title=Barbaric Foo
|title=Barbaric Foo
|gender=Unknown
|gender=Unknown

Latest revision as of 07:26, 5 July 2024

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=
}}


Deific Summary

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.