Difference between revisions of "WeaponsLists"
From P6 Spheres
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>Creates a weapons table, containing the weapons pulled with the provided where string | <noinclude>Creates a weapons table, containing the weapons pulled with the provided where string | ||
| − | '''Required Fields:''' | + | '''Required Fields:''' where (sql where string) |
</noinclude><includeonly>{{#cargo_query:tables=Base_Items,Items_Weapons | </noinclude><includeonly>{{#cargo_query:tables=Base_Items,Items_Weapons | ||
|join on=Base_Items._pageName = Items_Weapons._pageName | |join on=Base_Items._pageName = Items_Weapons._pageName | ||
| − | |where={{{ | + | |where={{{where}}} |
|order by=SortName | |order by=SortName | ||
|fields=CONCAT( '[[', Base_Items._pageName, '|', SortName, ']]' ) = Name,PrettyPrice = Cost,Damage,Critical,RangeInc = Range,PrettyWeight = Weight,DamageTypes = Type,Short = Special,Proficiency | |fields=CONCAT( '[[', Base_Items._pageName, '|', SortName, ']]' ) = Name,PrettyPrice = Cost,Damage,Critical,RangeInc = Range,PrettyWeight = Weight,DamageTypes = Type,Short = Special,Proficiency | ||
|format=table | |format=table | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 08:53, 16 March 2020
Creates a weapons table, containing the weapons pulled with the provided where string
Required Fields: where (sql where string)