Template:5e Monster Data: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
----
----
<div style="<!--border-style:solid; border-width:1px; border-color:#0000ff; border-radius:0.5em;--> padding:0 0.5em;">
<div style="display:block; overflow:auto; max-width:90vw; padding:0 0.5em;">
'''''Monster data''''' <span class="mw-customtoggle-myDivision-MonsterData"><sup>+</sup></span>
'''''Monster data''''' <span class="mw-customtoggle-myDivision-MonsterData"><sup>+</sup></span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision-MonsterData">
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision-MonsterData">
Line 7: Line 7:
tables=5eMonster,Pages_Info
tables=5eMonster,Pages_Info
|join on=5eMonster._pageName=Pages_Info._pageName
|join on=5eMonster._pageName=Pages_Info._pageName
|where=5eMonster._pageName='{{FULLPAGENAME}}'<!--{{#if: {{{5eh|}}}|| AND (Pages_Info.Hidden=0 OR Pages_Info.Hidden IS NULL)|}}-->
|where=5eMonster.Monster_Name='{{#if: {{{1|}}}|{{{1}}}|{{PAGENAME}} }}' AND ({{#if: {{{hid|}}}|Pages_Info.Pointer=0 OR Pages_Info.Pointer IS NULL|Pages_Info.Hidden=0 OR Pages_Info.Hidden IS NULL|}})
|fields=CONCAT( '[[', 5eMonster._pageName, '|', 5eMonster.Monster_Name, ']]' )=Monster,5eMonster.Monster_Size=Size,5eMonster.Type,5eMonster.Monster_Tags=Subtypes,5eMonster.Monster_Alignment=Alignment,5eMonster.Hit_Points=HP,5eMonster.Movement_Type,5eMonster.Challenge_Rating=CR,5eMonster.Monster_Features=Features,5eMonster.Legendary_Monster=Legendary,5eMonster.Has_Lair,5eMonster.NPC, Pages_Info.Canon,Pages_Info.Pointer,Pages_Info.Hidden,Pages_Info.UA,Pages_Info.User,Pages_Info.Sources
|fields=CONCAT( '[[', 5eMonster._pageName, '|', 5eMonster.Monster_Name, ']]' )=Monster,5eMonster.Monster_Size=Size,5eMonster.Type,5eMonster.Monster_Tags=Subtypes,5eMonster.Monster_Alignment=Alignment,5eMonster.Hit_Points=HP,5eMonster.Movement_Type,5eMonster.Challenge_Rating=CR,5eMonster.Monster_Features=Features,5eMonster.Legendary_Monster=Legendary,5eMonster.Has_Lair,5eMonster.NPC, Pages_Info.Canon,Pages_Info.Pointer,Pages_Info.Hidden,Pages_Info.UA,Pages_Info.User,Pages_Info.Sources
|order by=5eMonster.Sort_Text
|order by=5eMonster.Sort_Text
Line 23: Line 23:
{{5e Monster Data}}
{{5e Monster Data}}


{{5e Monster Data|Hydra}}
{{5e Monster Data|Kobold}}


[[Category:5e Templates]]
[[Category:5e Templates]]
</noinclude>
</noinclude>

Revision as of 13:04, 7 December 2020

Syntax

{{5e Monster Data|optMonsterName}}

Note: For monster names with an apostrophe ('), you must double the apostrophe ('').



Monster data +

Error: No field named "Hidden" found for the database table "Pages_Info".



Monster data +

Error: No field named "Hidden" found for the database table "Pages_Info".