Template:5e Pantheon: Difference between revisions
Jump to navigation
Jump to search
(Rlyehable moved page Template:5e Pantheon to Template:5e Pantheon List) Tag: New redirect |
(Removed redirect to Template:5e Pantheon List) Tag: Removed redirect |
||
Line 1: | Line 1: | ||
# | <noinclude> | ||
{{#cargo_declare: | |||
_table = 5e_Pantheon | |||
|Name = Text | |||
|Sort_Text = Text | |||
|Title = List (, ) of Text | |||
|Type = Text | |||
|Worshipers = List (, ) of Text | |||
|Summary = Text | |||
}} | |||
</noinclude><includeonly> | |||
{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store: | |||
_table = 5e_Pantheon | |||
|Name = {{{name|}}} | |||
|Sort_Text = {{{sortext|}}} Pantheon {{NAMESPACE}} | |||
|Type = {{{type|}}} | |||
|Worshipers = {{{worshipers|}}} | |||
|Summary = {{{summary|}}} | |||
}}}}'''''<big><big>{{anchor|{{{name|}}} Pantheon}}'''''</big></big> {{{refs|}}}<br />{{#if: {{{nodb|}}}|<!--skip-->|[[Category:5e Pantheons]]{{#arraymap: {{{worshipers|}}}|, |xwor|[[Category:5e {{Type Array|xwor}}]]|\s}}|}}<!--endif nodb--></includeonly><noinclude> | |||
==Use== | |||
Called from Pantheon pages. | |||
==Syntax== | |||
<pre> | |||
{{5e Pantheon | |||
|name= | |||
|sortText= | |||
|refs= | |||
|type= <!-- optional, ex. Demon Lords--> | |||
|worshipers= <!--optional--> | |||
|summary= <!--one line description--> | |||
}} | |||
</pre> | |||
===Add'l Parameters=== | |||
<pre> | |||
|nodb= <!--blank, true to skip db and categories--> | |||
</pre> | |||
==Example== | |||
<pre> | |||
{{5e Pantheon | |||
|name=Foo | |||
|sortText= | |||
|refs=<ref name="fgtn.100">{{Cite Pub|Foo's Guide to Nothing}} Licensed: [[Public Domain]].</ref> | |||
|type= <!-- optional, ex. Demon Lords--> | |||
|worshipers= <!--optional--> | |||
|summary=Pantheon of fools <!--one line description--> | |||
}} | |||
</pre> | |||
===Produces=== | |||
{{5e Pantheon | |||
|name=Foo | |||
|sortText= | |||
|refs=<ref name="fgtn.100">{{Cite Pub|Foo's Guide to Nothing}} Licensed: [[Public Domain]].</ref> | |||
|type= <!-- optional, ex. Demon Lords--> | |||
|worshipers= <!--optional--> | |||
|summary=Pantheon of fools <!--one line description--> | |||
|nodb=true | |||
}} | |||
[[Category:5e Templates]] | |||
</noinclude> |
Latest revision as of 05:04, 19 April 2023
This template defines the table "5e_Pantheon". View table.
Use
Called from Pantheon pages.
Syntax
{{5e Pantheon |name= |sortText= |refs= |type= <!-- optional, ex. Demon Lords--> |worshipers= <!--optional--> |summary= <!--one line description--> }}
Add'l Parameters
|nodb= <!--blank, true to skip db and categories-->
Example
{{5e Pantheon |name=Foo |sortText= |refs=<ref name="fgtn.100">{{Cite Pub|Foo's Guide to Nothing}} Licensed: [[Public Domain]].</ref> |type= <!-- optional, ex. Demon Lords--> |worshipers= <!--optional--> |summary=Pantheon of fools <!--one line description--> }}
Produces
Foo Pantheon [1]
- Foo's Guide to Nothing Licensed: Public Domain. ↑