Template:5e Monster Short: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
(Named NPC)
Line 9: Line 9:
|Type = {{{3|}}}
|Type = {{{3|}}}
|Monster_Tags = {{{4|}}}
|Monster_Tags = {{{4|}}}
}}}}<big><big>'''''{{{2|}}} {{{3|}}}'''<br /></big></big>{{#if: {{{nodb|}}}|<!--skip-->|[[Category:{{NAMESPACE}} {{Type Array|{{{2}}}}}]][[Category:{{NAMESPACE}} Monster {{{3}}}s]]{{#arraymap: {{{4|}}}|, |mtag|[[Category:{{NAMESPACE}} {{Type Array|mtag}}]]|\s}}|}}</includeonly><noinclude>
}}}}{{#ifeq: {{{3|}}}|Named NPC|<!--skip-->|<big><big>'''''{{{2|}}} {{{3|}}}'''<br /></big></big>|}}{{#if: {{{nodb|}}}|<!--skip-->|[[Category:{{NAMESPACE}} {{Type Array|{{{2}}}}}]][[Category:{{NAMESPACE}} Monster {{{3}}}s]]{{#arraymap: {{{4|}}}|, |mtag|[[Category:{{NAMESPACE}} {{Type Array|mtag}}]]|\s}}|}}</includeonly><noinclude>
==Use==
==Use==
Called from Overview or Monster templates.
Called from Overview or Monster templates.
Line 16: Line 16:
<pre>{{5e Monster Short|sortText|name|type|tags}}</pre>
<pre>{{5e Monster Short|sortText|name|type|tags}}</pre>


* Type = Overview, Template
* Type = Overview, Template, Named NPC
* Tags = type, subtype(s)
* Tags = type, subtype(s)
* If Type is Named NPC nothing will be displayed


{{5e Monster Short|Foo|Foo|Overview|Foogar, Bar|nodb=true}}
{{5e Monster Short|Foo|Foo|Overview|Foogar, Bar|nodb=true}}
[[Category:5e Templates]]
[[Category:5e Templates]]
</noinclude>
</noinclude>

Revision as of 07:18, 29 August 2021

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

Foo Overview