Difference between revisions of "Template:ArmorsTable"

From Epic Paths
Jump to navigation Jump to search
 
Line 2: Line 2:
All lower-case
All lower-case


* 1: light armor / medium armor / heavy armor / shields / extras
* 1: light / medium / heavy / shield / extra
* 2: is variant armor (defaults "no", any value in this field is interpreted as "yes")
* 2: is variant armor (defaults "no", any value in this field is interpreted as "yes")


Line 15: Line 15:
-->{{#cargo_query:tables=Equipment_Items=Items,Equipment_Armors=Armors
-->{{#cargo_query:tables=Equipment_Items=Items,Equipment_Armors=Armors
   |join on=Items._pageName= Armors._pageName
   |join on=Items._pageName= Armors._pageName
|where=Proficiency="{{{1}}}" AND Variant="{{#if:{{{2|}}}|yes|no}}"
|where=Proficiency="{{{1}}}" AND Variant="{{#if:{{{2|}}}|1|0}}"
|order by=ACBonus,MaxDex,ACP,Name
|order by=ACBonus,MaxDex,ACP,Name
|fields=CONCAT( '[[', Armors._pageName, '|', Name, ']]' ) = Name,Cost,ACBonus = AC<br>Bonus,MaxDex = Maximum<br>Dex<br>Bonus,ACP = Armor<br>Check<br>Penalty,ASF = Arcane<br>Spell<br>Failure Chance,Speed,Weight
|fields=CONCAT( '[[', Armors._pageName, '|', Name, ']]' ) = Name,Cost,ACBonus = AC<br>Bonus,MaxDex = Maximum<br>Dex<br>Bonus,ACP = Armor<br>Check<br>Penalty,ASF = Arcane<br>Spell<br>Failure Chance,Speed,Weight
|format=table
|format=table
}}{{#if:{{{2|}}}|yes|no}}</includeonly>
}}</includeonly>

Latest revision as of 15:50, 29 January 2022

All lower-case

  • 1: light / medium / heavy / shield / extra
  • 2: is variant armor (defaults "no", any value in this field is interpreted as "yes")

Template:

  • {{ArmorsTable|medium}}
  • {{ArmorsTable|medium|variant}}