Template:5e Monster List: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
tables=5eMonster, Pages_Info
tables=5eMonster, Pages_Info
|join on=5eMonster._pageName=Pages_Info._pageName
|join on=5eMonster._pageName=Pages_Info._pageName
|where={{#if: {{{2|}}}|(5eMonster.Type="{{{1|}}}" AND 5eMonster.Monster_Tags HOLDS "{{{2}}}")|(5eMonster.Type="{{{1|}}}" OR 5eMonster.Monster_Tags HOLDS "{{{1}}}")|}}{{#if: {{{5eh|}}}| AND (Pages_Info.Pointer=0 OR Pages_Info.Pointer IS NULL)| AND (Pages_Info.Hidden=0 OR Pages_Info.Hidden IS NULL)|}}
|where={{#if: {{{2|}}}|(5eMonster.Type="{{{1|}}}" AND 5eMonster.Monster_Tags HOLDS "{{{2}}}")|(5eMonster.Type="{{{1|}}}" OR 5eMonster.Monster_Tags HOLDS "{{{1}}}")|}}
|fields=COUNT(5eMonster._pageName)
|fields=COUNT(5eMonster._pageName)
}} {{Type Array|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}}}
}} {{Type Array|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}}}
Line 36: Line 36:
Normally type is not used and only one subtype is specified.
Normally type is not used and only one subtype is specified.


==Add'l Fields==
==Deprecated Fields==
<pre>|5eh= <!--blank, true if 5eh. Used by Admin only--></pre>
<pre>|5eh= </pre>


==Example==
==Example==

Revision as of 07:59, 4 September 2022

Syntax

{{5e Monster List|type|subtype}}

Normally type is not used and only one subtype is specified.

Deprecated Fields

|5eh= 

Example

{{5e Monster List|Gnoll}}
Cannot access the database: :real_connect(): (HY000/1226): User 'a1618b_wiki5' has exceeded the 'max_user_connections' resource (current value: 10)

Gnolls

Cannot access the database: :real_connect(): (HY000/1226): User 'a1618b_wiki5' has exceeded the 'max_user_connections' resource (current value: 10)
Monster Size Type Tags Alignment HP CR Marked Source