Template:5e Monster List: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
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}}}" | |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}}}}}}} | ||
<div style="display:block; overflow:auto; font-size:0.8em; max-width: | <div style="display:block; overflow:auto; font-size:0.8em; max-width:75svw; max-height:80vh;"> | ||
{|class="zebra sortable" | {|class="zebra sortable" | ||
!Monster | !style="position: sticky; top: 0;"|Monster | ||
!Size | !style="position: sticky; top: 0;"|Size | ||
!Type | !style="position: sticky; top: 0;"|Type | ||
!Tags | !style="position: sticky; top: 0;"|Tags | ||
!Alignment | !style="position: sticky; top: 0;"|Alignment | ||
!HP | !style="position: sticky; top: 0;"|HP | ||
!CR | !style="position: sticky; top: 0;"|CR | ||
!Marked | !style="position: sticky; top: 0;"|Habitat | ||
!Source | !style="position: sticky; top: 0;"|Marked | ||
!style="position: sticky; top: 0;"|Source | |||
|- | |- | ||
{{#cargo_query: | {{#cargo_query: | ||
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}}}" | |where={{#if: {{{2|}}}|(5eMonster.Type="{{{1|}}}" AND 5eMonster.Monster_Tags HOLDS "{{{2}}}")|(5eMonster.Type="{{{1|}}}" OR 5eMonster.Monster_Tags HOLDS "{{{1}}}")|}} | ||
|fields=5eMonster._pageName | |fields=5eMonster._pageName | ||
|order by=5eMonster.Sort_Text | |order by=5eMonster.Sort_Text | ||
|format=template | |format=template | ||
|template=5e Monster Row Preprocess | |template=5e Monster Row Preprocess | ||
|limit=1000 | |limit=1000 | ||
Line 36: | Line 35: | ||
Normally type is not used and only one subtype is specified. | Normally type is not used and only one subtype is specified. | ||
== | ==Example== | ||
<pre>| | <pre>{{5e Monster List|Beholder}}</pre> | ||
{{5e Monster List|Beholder}} | |||
[[Category:5e Templates]] | |||
</noinclude> |
Latest revision as of 17:51, 25 August 2024
Syntax
{{5e Monster List|type|subtype}}
Normally type is not used and only one subtype is specified.
Example
{{5e Monster List|Beholder}}
Cannot access the database: :real_connect(): (HY000/1226): User 'a1618b_wiki5' has exceeded the 'max_user_connections' resource (current value: 10)
Beholders
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 | Habitat | Marked | Source |
---|