Difference between revisions of "Template:MonsterListAbreviated"

From Epic Paths
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
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)
* subtype: subtype that should be included (optional)
* custom: write a custom where query (optional, cannot be combined with category, type or subtype)
</noinclude><!--
</noinclude><!--


--><includeonly>{{#vardefine:TEN-None|{{GM:Tenacity|id=None}}}}{{#vardefine:TEN-Fearless|{{:M:Tenacity|id=Fearless}}}}{{#vardefine:TEN-Brave|{{GM:Tenacity|id=Brave}}}}{{#vardefine:TEN-Steady|{{GM:Tenacity|id=Steady}}}}{{#vardefine:TEN-Nervous|{{GM:Tenacity|id=Nervous}}}}{{#vardefine:TEN-Cowardly|{{GM:Tenacity|id=Cowardly}}}}<!--
--><includeonly>{{#vardefine:TEN-None|{{GM:Tenacity|id=None}}}}{{#vardefine:TEN-Fearless|{{:GM:Tenacity|id=Fearless}}}}{{#vardefine:TEN-Brave|{{GM:Tenacity|id=Brave}}}}{{#vardefine:TEN-Steady|{{GM:Tenacity|id=Steady}}}}{{#vardefine:TEN-Nervous|{{GM:Tenacity|id=Nervous}}}}{{#vardefine:TEN-Cowardly|{{GM:Tenacity|id=Cowardly}}}}<!--


-->{{#cargo_query:tables=Monsters
-->{{#cargo_query:tables=Monsters
|where={{#if:{{{category|}}}|Categories LIKE "%{{{category}}}%"|}}{{#if:{{{type|}}}|Type LIKE "%{{{type}}}%"|}}{{#if:{{{custom|}}}|{{{custom}}}|}}
|where={{#if:{{{category|}}}|Categories LIKE "%{{{category}}}%"|}}{{#if:{{{type|}}}|Type LIKE "%{{{type}}}%"|}}{{#if: {{{subtype|}}}|Subtypes HOLDS "{{{subtype}}}"|}}{{#if:{{{custom|}}}|{{{custom}}}|}}
|order by=XP,Name
|order by=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,Reflex,Will,saveBonus,SR,DR,CMB,AltCMB,CMD,AltCMD,MMD,AltMMD,Tenacity=TEN,AltTenacity,SP,MSB,AltMSB,MSD,AltMSD,Concentration,Immune,StandardActions,FullroundActions,MoveActions,SwiftActions,ImmediateActions,FreeActions,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,FlatfootedAC,ACBonus,Fort,Reflex,Will,saveBonus,SR,DR,CMB,AltCMB,CMD,AltCMD,MMD,AltMMD,Tenacity,AltTenacity,SP,MSB,AltMSB,MSD,AltMSD,Concentration,Immune,StandardActions,FullroundActions,MoveActions,SwiftActions,ImmediateActions,FreeActions,SpecialQualities,SP,MSB,AltMSB,MSD,AltMSD,Concentration,Skills,Strength=Str,Dexterity=Dex,Constitution=Con,Intelligence=Int,Wisdom=Wis,Charisma=Cha,Equipment
|group by=Name
|format=template
|format=template
|template=MonsterListAbreviatedItem
|template=MonsterListAbreviatedItem
|named args=yes
|named args=yes
}}</includeonly>
|no html}}</includeonly>

Latest revision as of 10:57, 1 February 2022

All lower-case

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