Difference between revisions of "Template:ArmorsTable"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
All lower-case | All lower-case | ||
* 1: light | * 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|}}}| | |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 | ||
}}</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}}