Actions

Template

Difference between revisions of "WeaponsLists"

From P6 Spheres

Line 4: Line 4:
 
</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={{{1|}}}
+
|where={{{1}}}
 
|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>

Revision as of 08:51, 16 March 2020

Creates a weapons table, containing the weapons pulled with the provided where string

Required Fields: 1 (sql where string)