Template:5e Type List: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#arraymap: {{{1|}}}|,|x|{{5e Subtype|x|{{lc:x}}|Subtype}}[[Category:5e {{Type Array|x}}]]}}<!--end arraymap--></includeonly><noinclude> Called from Template:5...") |
Tag: Undo |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#arraymap: {{{1|}}}|,|x|{{5e Subtype|x|{{lc:x}}|Subtype}}[[Category: | <includeonly>{{#arraymap: {{{1|}}}|,|x|{{5e Subtype|x|{{#if: {{{lc|}}}|{{lc:{{Type Array|x}}}}|{{Type Array|x}}|}}|Subtype}}{{#if: {{{nocat|}}}|<!--skip cat-->|[[Category:{{5ens}} {{Type Array|x}}]]}}}}<!--end arraymap--></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>|nocat= <!-- blank, true to skip categories --></pre> | |||
==Example== | ==Example== | ||
<pre>{{5e Type List|Elf, Drow}}</pre> | <pre>{{5e Type List|Elf, Drow, Foo, Bar}} | ||
{{5e Type List|Elf, Drow, Foo, Bar|lc=true}}</pre> | |||
produces... | produces... | ||
Line 12: | Line 17: | ||
{{5e Type List|Elf, Drow, Foo, Bar}} | {{5e Type List|Elf, Drow, Foo, Bar}} | ||
{{5e Type List}} | {{5e Type List|Elf, Drow, Foo, Bar|lc=true}} | ||
[[Category:5e Templates]] | [[Category:5e Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 06:33, 21 September 2023
Called from Template:5e Monster.
Syntax[edit]
{{5e Type List|type1, type2, ...}}
Add'l Entries[edit]
|nocat= <!-- blank, true to skip categories -->
Example[edit]
{{5e Type List|Elf, Drow, Foo, Bar}} {{5e Type List|Elf, Drow, Foo, Bar|lc=true}}
produces...