Template:5e Deity: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
}}
}}
</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;"
{|style="border:1px solid silver; border-radius:0.5em; background: HoneyDew;"
!style="background: #e8d693;|Deity Summary
!colspan="2" style="background: Gainsboro;|Deity Summary
|-
|-
|style="background:#fffdfd; border-radius:0.5em;"|<span style="font-size:1.2em;">'''{{{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}}}''|}}


'''Portfolio:''' {{#if: {{{of|}}}|{{{of}}}|}}<br />
'''Portfolio:''' {{#if: {{{of|}}}|{{{of}}}|}}<br />
Line 28: Line 28:
'''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 69: Line 70:
|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 101: Line 103:
|worshipers=
|worshipers=
|nodb=true
|nodb=true
|refs=
}}
}}



Revision as of 18:56, 24 May 2020

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

Used on 5th edition pages describing a deity.

Syntax

{{5e Deity
|name=
|sorttext=
|title=
|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-->
|refs= <!--references-->

Example

{{5e Deity
|name=Foo
|sorttext=
|title=Barbaric Foo
|gender=Unknown
|of=Foolishness, Rashness
|align=Neutral
|domain=Knowledge, Humor
|plane=Bar
|symbol=Dunce Cap
|pantheon=Universal
|worshipers=
}}


Deity Summary
Foo
Barbaric Foo

Portfolio: Foolishness, Rashness
Gender: Unknown
Alignment: Neutral
Domains: Knowledge, Humor
Plane: Bar
Symbol: Dunce Cap
Worshipers: Unstated
Pantheon: Universal