Actions

Template

Difference between revisions of "MonsterListAbreviated"

From Titan's Teeth

Line 4: Line 4:
 
* category: category that should be included (optional)
 
* category: category that should be included (optional)
 
* type: type that should be included (optional)
 
* type: type that should be included (optional)
 +
* custom: write a custom where query (optional, cannot be combined with category or type)
 
</noinclude><!--
 
</noinclude><!--
  
Line 9: Line 10:
  
 
-->{{#cargo_query:tables=Monster
 
-->{{#cargo_query:tables=Monster
|where={{#if:{{{category|}}}|Categories LIKE "%{{{category}}}%"|}}{{IfAnd|{{{category|}}}|{{{type|}}}|<wbr> AND <wbr>}}{{#if:{{{type|}}}|Type LIKE "%{{{type}}}%"|}} AND StandardActions != "\{\{\{StandardActions\}\}\}"
+
|where={{#if:{{{category|}}}|Categories LIKE "%{{{category}}}%"|}}{{IfAnd|{{{category|}}}|{{{type|}}}|<wbr> AND <wbr>}}{{#if:{{{type|}}}|Type LIKE "%{{{type}}}%"|}}{{#if:{{{custom|}}}|{{{custom}}}|}} AND StandardActions != "\{\{\{StandardActions\}\}\}"
 
|order by=XP,Name
 
|order by=XP,Name
 
|fields=_pageName = Page,Name,Fluff,Alignment,Size,Type,SubTypes,CR,XP,Init,Perception,Senses,Speed,hp,hpBonus,AC,TouchAC=Touch,FlatfootedAC=FF,ACBonus,Fort,Ref,Will,saveBonus,CMB,AltCMB,CMD,AltCMD,MMD,AltMMD,TEN,AltTenacity,Immune,StandardActions,FullroundActions,MoveActions,SwiftActions,ImmediateActions,FreeActions,SpecialAbilities,SpecialQualities,SP,MSB,AltMSB,MSD,AltMSD,Concentration,Skills,Strength=Str,Dexterity=Dex,Constitution=Con,Intelligence=Int,Wisdom=Wis,Charisma=Cha,Equipment
 
|fields=_pageName = Page,Name,Fluff,Alignment,Size,Type,SubTypes,CR,XP,Init,Perception,Senses,Speed,hp,hpBonus,AC,TouchAC=Touch,FlatfootedAC=FF,ACBonus,Fort,Ref,Will,saveBonus,CMB,AltCMB,CMD,AltCMD,MMD,AltMMD,TEN,AltTenacity,Immune,StandardActions,FullroundActions,MoveActions,SwiftActions,ImmediateActions,FreeActions,SpecialAbilities,SpecialQualities,SP,MSB,AltMSB,MSD,AltMSD,Concentration,Skills,Strength=Str,Dexterity=Dex,Constitution=Con,Intelligence=Int,Wisdom=Wis,Charisma=Cha,Equipment

Revision as of 13:01, 29 December 2019

All lower-case

  • category: category that should be included (optional)
  • type: type that should be included (optional)
  • custom: write a custom where query (optional, cannot be combined with category or type)