Template:5e Monster Short: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
</noinclude><includeonly>{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
</noinclude><includeonly>{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
_table = 5eMonster
_table = 5eMonster
|Sort_Text = {{{1|}}} AAA {{#if {{{5eh|}}}|5eh|5e}}
|Sort_Text = {{{1|}}} AAA {{NAMESPACE}}
|Monster_Name = {{{2|}}} {{{3|}}}
|Monster_Name = {{{2|}}} {{#ifeq: {{{3|}}}|Named NPC|<!--skip-->|{{{3}}}}}
|Type = {{{3|}}}
|Type = {{{3|}}}
|Monster_Tags = {{{4|}}}
|Monster_Tags = {{{4|}}}
|NPC = {{#ifeq: {{{3|}}}|Named NPC|1|0}}
|NPC = {{#ifeq: {{{3|}}}|Named NPC|1|0}}
|Named_NPC = {{#ifeq: {{{3|}}}|Named NPC|1|0}}
|Named_NPC = {{#ifeq: {{{3|}}}|Named NPC|1|0}}
}}}}{{#ifeq: {{{3|}}}|Named NPC|<!--skip-->|<big><big>'''''{{{2|}}} {{{3|}}}'''<br /></big></big>|}}{{#if: {{{nodb|}}}|<!--skip-->|{{#ifeq: {{{3|}}}|Named NPC|<!--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|<!--no display-->|<big><big>'''''{{{2|}}} {{{3|}}}'''<br /></big></big>|}}{{#if: {{{nodb|}}}|<!--skip-->|{{#ifeq: {{{3|}}}|Named NPC|<!--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.

Revision as of 19:24, 7 October 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