Template:5e Monster Short: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
|NPC = {{#ifeq: {{{3|}}}|Named NPC|1|0}} | |NPC = {{#ifeq: {{{3|}}}|Named NPC|1|0}} | ||
|Individual = {{#ifeq: {{{3|}}}|Individual|1|0}} | |Individual = {{#ifeq: {{{3|}}}|Individual|1|0}} | ||
|Habitat = {{{habitat|}}} | |Habitat = {{#if: {{{habitat|}}}|{{{habitat}}}|}} | ||
|Summary = {{{summary|}}} | |Summary = {{{summary|}}} | ||
}}}}{{#ifeq: {{{3|}}}|Individual|<!--no display-->|<big><big>'''''{{anchor|{{{2|}}} {{{3|}}}}}'''''</big></big> {{{refs|}}}<br /><!--<nowiki></nowiki> | }}<!--end cargo_store--> | ||
<!--categories--> | |||
[[Category:5e Monsters]][[Category:5e {{Type Array|{{{3}}}}}]]{{#if: {{{4|}}}|{{#arraymap: {{{4}}}|,|xTag|[[Category:5e {{Type Array|xTag}}]]|}}|}}{{#ifeq: {{{3|}}}|Individual|[[Category:5e Individuals]]|}}{{#ifeq: {{{3|}}}|Named NPC|[[Category:5e NPCs]]|}}{{#if: {{{habitat|}}}|{{#arraymap: {{{habitat}}}|,|xHab|[[Category:5e xHab Creatures]]|}}|}}<!--endif habitat--> | |||
}}<!--endifnodb-->{{#ifeq: {{{3|}}}|Individual|<!--no display-->|<big><big>'''''{{anchor|{{{2|}}} {{{3|}}}}}'''''</big></big> {{{refs|}}}<br /><!--<nowiki></nowiki> | |||
=={{{2|}}} {{{3|}}}== | =={{{2|}}} {{{3|}}}== | ||
Line 36: | Line 39: | ||
</pre> | </pre> | ||
{{5e Monster Short|Foo|Foo|Overview| | {{5e Monster Short|Foo|Foo|Overview|Fools, Bar|habitat=Arctic, Underground|nodb=true}} | ||
[[Category:5e Templates]] | [[Category:5e Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 10:11, 13 March 2024
This template adds rows to the table "5eMonster", which is declared by the template 5e Monster. View table.
Use
Called from Overview or Monster templates.
Syntax
{{5e Monster Short|sortText|name|type|tags}}
- Type = Overview, Template, Named NPC
- Tags = type, subtype(s)
- If Type is Named NPC nothing will be displayed
Add'l Parameters
|habitat= <!--blank, list of habitats--> |nodb= <!--blank, true to skip db and categories--> |nosort= <!--blank, true to skip category sort--> |refs= <!--references--> |summary=
Foo Overview