Template:5e Deity: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
(added deific type)
Line 5: Line 5:
|Sort_Text = Text
|Sort_Text = Text
|Title = List (, ) of Text
|Title = List (, ) of Text
|Type = Text
|Gender = Text
|Gender = Text
|Portfolio = List (, ) of Text
|Portfolio = List (, ) of Text
Line 16: Line 17:
</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;"
{|style="border:1px solid silver; border-radius:0.5em; background: HoneyDew;"
!colspan="2" style="background: Gainsboro;|Deity Summary
!colspan="2" style="background: Gainsboro;|Deific Summary<span style="display:inline; float:right;">{{{refs|}}}</span>
|-
|-
|style="background:#fffdfd; border-radius:0.5em;"|<span style="font-size:1.2em; border-color:honeydew;">'''{{{name}}}'''</span>{{#if: {{{title|}}}|<br />''{{{title}}}''|}}
|style="background:#fffdfd; border-radius:0.5em;"|<span style="font-size:1.2em; border-color:honeydew;">'''{{{name}}}'''</span>{{#if: {{{title|}}}|<br />''{{{title}}}''|}}
 
'''Type:''' {{{type|Deity}}}<br />
'''Portfolio:''' {{#if: {{{of|}}}|{{{of}}}|}}<br />
'''Portfolio:''' {{#if: {{{of|}}}|{{{of}}}|}}<br />
'''Gender:''' {{#if: {{{gender|}}}|{{{gender}}}|Unstated}}<br />
'''Gender:''' {{#if: {{{gender|}}}|{{{gender}}}|Unstated}}<br />
Line 28: Line 29:
'''Worshipers:''' {{#if: {{{worshipers|}}}|{{{worshipers}}}|Unstated}}<br />
'''Worshipers:''' {{#if: {{{worshipers|}}}|{{{worshipers}}}|Unstated}}<br />
'''Pantheon:''' {{#if: {{{pantheon|}}}|{{{pantheon}}}|Unstated}}
'''Pantheon:''' {{#if: {{{pantheon|}}}|{{{pantheon}}}|Unstated}}
|valign="top" style="border-color:honeydew;"|{{{refs|}}}
|}
|}
[[Category:5e Deities]]<!--
[[Category:5e Deities]]<!--
Line 39: Line 39:
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}}|{{PAGENAME}}}} {{#if: {{{5eh|}}}|5eh|5e}}
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}}|{{PAGENAME}}}} {{#if: {{{5eh|}}}|5eh|5e}}
|Title = {{{title|}}}
|Title = {{{title|}}}
|Type = {{#if: {{{type|}}}|{{{type}}}|Deity|}}
|Gender = {{#if: {{{gender|}}}|{{{gender}}}|Unstated}}
|Gender = {{#if: {{{gender|}}}|{{{gender}}}|Unstated}}
|Portfolio = {{#if: {{{of|}}}|{{{of}}}|Unstated}}
|Portfolio = {{#if: {{{of|}}}|{{{of}}}|Unstated}}
Line 55: Line 56:
|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 70: Line 73:
|5eh= <!--blank, true if 5eh, Used by admin-->
|5eh= <!--blank, true if 5eh, Used by admin-->
|nodb= <!--blank, true to skip database storage & sorttext-->
|nodb= <!--blank, true to skip database storage & sorttext-->
|refs= <!--references-->
</pre>
</pre>


Line 78: Line 80:
|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 93: Line 97:
|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
Line 103: Line 109:
|worshipers=
|worshipers=
|nodb=true
|nodb=true
|refs=
}}
}}



Revision as of 13:54, 27 September 2021

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

|5eh= <!--blank, true if 5eh, Used by admin-->
|nodb= <!--blank, true to skip database storage & sorttext-->

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[1]
Foo
Barbaric Foo

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.