Template:5e24 Creature List/UL: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<includeonly><div style="display:block; overflow:auto; max-width:78vw; font-size:0.8em;">{{#cargo_query: tables=5e24_Creature, Pages_Info |join on=5e24_Creature._pageName=Pages_Info._pageName |where={{#if: {{{2|}}}|(5e24_Creature.Type="{{{1|}}}" AND 5e24_Creature.Tags HOLDS "{{{2}}}")|(5e24_Creature.Type="{{{1|}}}" OR 5e24_Creature.Tags HOLDS "{{{1}}}")|}} |fields=COUNT(5e24_Creature._pageName) }} {{Type Array|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}}} </div> <div style="overfl...")
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="display:block; overflow:auto; max-width:78vw; font-size:0.8em;">{{#cargo_query:
<includeonly>{{#cargo_query:
tables=5e24_Creature, Pages_Info
tables=5e24_Creature, Pages_Info
|join on=5e24_Creature._pageName=Pages_Info._pageName
|join on=5e24_Creature._pageName=Pages_Info._pageName
|where={{#if: {{{2|}}}|(5e24_Creature.Type="{{{1|}}}" AND 5e24_Creature.Tags HOLDS "{{{2}}}")|(5e24_Creature.Type="{{{1|}}}" OR 5e24_Creature.Tags HOLDS "{{{1}}}")|}}
|where={{#if: {{{2|}}}|(5e24_Creature.Type="{{{1|}}}" AND 5e24_Creature.Tags HOLDS "{{{2}}}")|(5e24_Creature.Creature="{{{1|}}}" OR (5e24_Creature.Type="{{{1|}}}" OR 5e24_Creature.Tags HOLDS "{{{1}}}"))|}}
|fields=COUNT(5e24_Creature._pageName)
|fields=COUNT(5e24_Creature._pageName)
}} {{Type Array|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}}}
}} {{Type Array|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}}}
</div>
<div style="overflow:auto; font-size:0.8em; max-width:80vw; max-height:80vh;{{#if: {{{columns|}}}| columns:{{{columns}}};|}}">
<div style="overflow:auto; font-size:0.8em; max-width:80vw; max-height:80vh;">
{{#cargo_query:
{{#cargo_query:
tables=5e24_Creature, Pages_Info
tables=5e24_Creature, Pages_Info
|join on=5e24_Creature._pageName=Pages_Info._pageName
|join on=5e24_Creature._pageName=Pages_Info._pageName
|where={{#if: {{{2|}}}|(5e24_Creature.Type="{{{1|}}}" AND 5e24_Creature.Tags HOLDS "{{{2}}}")|(5e24_Creature.Type="{{{1|}}}" OR 5e24_Creature.Tags HOLDS "{{{1}}}")|}}
|where={{#if: {{{2|}}}|(5e24_Creature.Type="{{{1|}}}" AND 5e24_Creature.Tags HOLDS "{{{2}}}")|(5e24_Creature.Creature="{{{1|}}}" OR (5e24_Creature.Type="{{{1|}}}" OR 5e24_Creature.Tags HOLDS "{{{1}}}"))|}}
|fields=5e24_Creature._pageName, 5e24_Creature.Creature, 5e24_Creature.Type
|fields=5e24_Creature._pageName, 5e24_Creature.Creature, 5e24_Creature.Type
|order by=5e24_Creature.Sort_Text
|order by=5e24_Creature.Sort_Text
Line 16: Line 15:
|template=5e Monster List/UL Format
|template=5e Monster List/UL Format
}}
}}
</div></includeonly><noinclude>
</div></includeonly><noinclude>{{template badge}}
==Syntax==
==Syntax==
<pre>{{5e24 Creature List/UL|type|subtype}}</pre>
<pre>{{5e24 Creature List/UL|type|subtype}}</pre>

Latest revision as of 12:03, 10 July 2025

 Template    

Syntax

{{5e24 Creature List/UL|type|subtype}}

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

Example

{{5e24 Creature List/UL|Zombie}}
Cannot access the database: :real_connect(): (HY000/1226): User 'a1618b_wiki5' has exceeded the 'max_user_connections' resource (current value: 10)

Zombies

Cannot access the database: :real_connect(): (HY000/1226): User 'a1618b_wiki5' has exceeded the 'max_user_connections' resource (current value: 10)