Difference between revisions of "Template:ArmorsTable"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* 1: light armor / medium armor / heavy armor / shields / extras | * 1: light armor / medium armor / heavy armor / shields / extras | ||
* 2: is variant armor (defaults "no", any value in this field is interpreted as "yes") | |||
<hr> | <hr> | ||
Line 9: | Line 10: | ||
* <nowiki>{{</nowiki>ArmorsTable|medium<nowiki>}}</nowiki> | * <nowiki>{{</nowiki>ArmorsTable|medium<nowiki>}}</nowiki> | ||
* <nowiki>{{</nowiki>ArmorsTable|medium|variant<nowiki>}}</nowiki> | |||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
-->{{#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}}}" | |where=Proficiency="{{{1}}}" AND Variant={{#if:{{{2|}}}|Yes|No}} | ||
|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> |
Revision as of 15:45, 29 January 2022
All lower-case
- 1: light armor / medium armor / heavy armor / shields / extras
- 2: is variant armor (defaults "no", any value in this field is interpreted as "yes")
Template:
- {{ArmorsTable|medium}}
- {{ArmorsTable|medium|variant}}