Template:5e Monster Data: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
No edit summary |
||
Line 6: | Line 6: | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=5eMonster,Pages_Info | tables=5eMonster,Pages_Info | ||
|join on=5eMonster. | |join on=5eMonster._pageName=Pages_Info._pageName | ||
|where=5eMonster.Monster_Name='{{#if: {{{1|}}}|{{{1}}}|{{PAGENAME}} }}'{{#if: {{{5eh|}}}|<!--nothing-->| AND (5eMonster.Hidden=0 OR 5eMonster.Hidden IS NULL)|}} | |where=5eMonster.Monster_Name='{{#if: {{{1|}}}|{{{1}}}|{{PAGENAME}} }}'{{#if: {{{5eh|}}}|<!--nothing-->| AND (5eMonster.Hidden=0 OR 5eMonster.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.Challenge_Rating=CR,5eMonster.Monster_Features=Features,5eMonster.Legendary_Monster=Legendary,5eMonster.Has_Lair,5eMonster.NPC, 5eMonster.Canon,5eMonster.Pointer,5eMonster.Hidden,5eMonster.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.Challenge_Rating=CR,5eMonster.Monster_Features=Features,5eMonster.Legendary_Monster=Legendary,5eMonster.Has_Lair,5eMonster.NPC, 5eMonster.Canon,5eMonster.Pointer,5eMonster.Hidden,5eMonster.UA,Pages_Info.User,Pages_Info.Sources |
Revision as of 16:48, 15 March 2020
Syntax
{{5e Monster Data|optMonsterName}}
Note: For monster names with an apostrophe ('), you must double the apostrophe ('').
Monster data +
Error: No field named "Canon" found for the database table "5eMonster".
Monster data +
Error: No field named "Canon" found for the database table "5eMonster".