Difference between revisions of "Template:5e Type List"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#arraymap: {{{1|}}}|,|x|{{5e Subtype|x|{{lc:{{Type Array|x}}}}|Subtype}}[[Category:5e {{Type Array|x}}]]}}<!--end arraymap--></includeonly><noinclude> Called fr...")
 
(nodb)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#arraymap: {{{1|}}}|,|x|{{5e Subtype|x|{{lc:{{Type Array|x}}}}|Subtype}}[[Category:5e {{Type Array|x}}]]}}<!--end arraymap--></includeonly><noinclude>
+
<includeonly>{{#if: {{{nodb|}}}|{{#arraymap: {{{1|}}}|,|x|{{5e Subtype|x|{{Type Array|x}}}}}}<!--end arraymap-->|{{#arraymap: {{{1|}}}|,|x|{{5e Subtype|x|{{Type Array|x}}|Subtype}}[[Category:5e {{Type Array|x}}]]}}<!--end arraymap-->|}}<!--endif nodb--></includeonly><noinclude>
 
Called from [[Template:5e Monster]].  
 
Called from [[Template:5e Monster]].  
  
 
==Syntax==
 
==Syntax==
 
<pre>{{5e Type List|type1, type2, ...}}</pre>
 
<pre>{{5e Type List|type1, type2, ...}}</pre>
 +
===Add'l Entries===
 +
<pre>|nodb= <!--blank, true to skip properties and categories--></pre>
  
 
==Example==
 
==Example==
Line 10: Line 12:
 
produces...
 
produces...
  
{{5e Type List|Elf, Drow, Foo, Bar}}
+
{{5e Type List|Elf, Drow, Foo, Bar|nodb=true}}
  
 
{{5e Type List}}
 
{{5e Type List}}

Latest revision as of 14:19, 4 April 2022

Called from Template:5e Monster.

Syntax[edit]

{{5e Type List|type1, type2, ...}}

Add'l Entries[edit]

|nodb= <!--blank, true to skip properties and categories-->

Example[edit]

{{5e Type List|Elf, Drow}}

produces...

Elves, Drow, Foos, Bars