Difference between revisions of "Template:5e Monster Short"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
m (plane)
Line 4: Line 4:
 
  | template = '''''<big><big>{{#if: {{{2|}}}|{{{2}}}|}} Template</big></big>'''''{{#if: {{{nodb|}}}|<!--skip-->|[[Category:5e Monster Templates]]{{#set: Type=Template}}|}}
 
  | template = '''''<big><big>{{#if: {{{2|}}}|{{{2}}}|}} Template</big></big>'''''{{#if: {{{nodb|}}}|<!--skip-->|[[Category:5e Monster Templates]]{{#set: Type=Template}}|}}
 
  |individual = {{#if: {{{nodb|}}}|<!--skip-->|{{#set: Type=Individual}}[[Category:5e Individuals]]|}}<!--no display-->
 
  |individual = {{#if: {{{nodb|}}}|<!--skip-->|{{#set: Type=Individual}}[[Category:5e Individuals]]|}}<!--no display-->
}}{{#if: {{{refs|}}}|&ensp;{{{refs}}}|}}{{#if: {{{4|}}}|{{#arraymap: {{{4}}}|, |mtag|{{#if: {{{nodb|}}}|<!--skip-->|{{#set: Subtype=mtag}}[[Category:5e {{Type Array|mtag}}]]|}}|&ensp;}}|}}{{#if: {{{nodb|}}}|<!--skip-->|{{#set: Summary={{{summary|}}}}}}}{{#if: {{{habitat|}}}|{{#arraymap: {{{habitat}}}|, |xhab|{{#if: {{{nodb|}}}|<!--skip-->|{{#set: Habitat=xhab}}[[Category:5e xhab Creatures]]|}}|}}|}}{{#if: {{{adventure|}}}|{{#set: Adventure List={{{adventure}}}}}|}}<br /></includeonly><noinclude>
+
}}{{#if: {{{refs|}}}|&ensp;{{{refs}}}|}}{{#if: {{{4|}}}|{{#arraymap: {{{4}}}|, |mtag|{{#if: {{{nodb|}}}|<!--skip-->|{{#set: Subtype=mtag}}[[Category:5e {{Type Array|mtag}}]]|}}|&ensp;}}|}}{{#if: {{{nodb|}}}|<!--skip-->|{{#set: Summary={{{summary|}}}}}}}{{#if: {{{habitat|}}}|{{#arraymap: {{{habitat}}}|, |xhab|{{#if: {{{nodb|}}}|<!--skip-->|{{#set: Habitat=xhab}}[[Category:5e xhab Creatures]]|}}|}}|}}<!--endif hab-->{{#if: {{{plane|}}}|{{#arraymap: {{{plane}}}|, |xplane|{{#if: {{{nodb|}}}|<!--skip-->|{{#set: Plane=xplane}}[[Category:5e xplane Creatures]]|}}|}}|}}{{#if: {{{adventure|}}}|{{#set: Adventure List={{{adventure}}}}}|}}<br /></includeonly><noinclude>
 
==Use==
 
==Use==
 
Called from Overview or Monster templates.
 
Called from Overview or Monster templates.
Line 20: Line 20:
 
|nodb= <!--blank, true to skip properties and categories-->
 
|nodb= <!--blank, true to skip properties and categories-->
 
|nosort= <!--blank, true to skip category sort-->
 
|nosort= <!--blank, true to skip category sort-->
 +
|plane= <!--blank, list of planes-->
 
|refs= <!--references-->
 
|refs= <!--references-->
 
|summary=
 
|summary=

Revision as of 00:04, 15 April 2024

Use

Called from Overview or Monster templates.

Syntax

{{5e Monster Short|sortText|name|type|tags}}
  • Type = Overview, Template, Individual
  • Tags = type, subtype

Optional Paramaters

|adventure= <!--blank, list of adventure names-->
|habitat= <!--blank, list of habitats-->
|nodb= <!--blank, true to skip properties and categories-->
|nosort= <!--blank, true to skip category sort-->
|plane= <!--blank, list of planes-->
|refs= <!--references-->
|summary=