Difference between revisions of "Template:ArmorsTable"

From Epic Paths
Jump to navigation Jump to search
(Created page with "<noinclude> All lower-case * 1: light armor / medium armor / heavy armor / shields / extras <hr> '''Template:''' * <nowiki>{{</nowiki>ArmorsTable|medium<nowiki>}}</nowiki...")
 
 
(8 intermediate revisions by the same user not shown)
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")


<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><!--


-->=== {{ucfirst:{{{1}}}}} ===
-->{{#cargo_query:tables=Equipment_Items=Items,Equipment_Armors=Armors
{{#cargo_query:tables=Equipment_Armors
  |join on=Items._pageName= Armors._pageName
|where=Proficiency="{{{1}}}"
|where=Proficiency="{{{1}}}" AND Variant="{{#if:{{{2|}}}|1|0}}"
|order by=ACBonus,MaxDex DESC,Name
|order by=ACBonus,MaxDex,ACP,Name
|fields=CONCAT( '[[', _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}}