65,581
editsAd placeholder
Template:Weapons table: Difference between revisions
Jump to navigation
Jump to search
m
no edit summary
HiddenDragon (talk | contribs) (Query weapon_passives instead of passives) |
HiddenDragon (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#cargo_query: tables = weapons | ||
{{#cargo_query: tables = weapons | |||
| fields = _pageName=page, icon, name, uid, image, rarity, enchantment, damage, damage_type, extra_damage, extra_damage_type, extra_damage_2, extra_damage_2_type, weight_kg, weight_lb, price, weapon_passives, passives_main_hand, passives_off_hand, special, special_weapon_actions | | fields = _pageName=page, icon, name, uid, image, rarity, enchantment, damage, damage_type, extra_damage, extra_damage_type, extra_damage_2, extra_damage_2_type, weight_kg, weight_lb, price, weapon_passives, passives_main_hand, passives_off_hand, special, special_weapon_actions | ||
| order by = rarity_order, name | | order by = rarity_order, name | ||
| where = {{{where}}} | | where = {{{where}}} | ||
| default = {{WeaponsTableEmpty}} | | default = {{WeaponsTableEmpty}} | ||
| intro = {{WeaponsTableHeader}} | |||
| outro = {{WeaponsTableFooter}} | |||
| format = template | | format = template | ||
| template = WeaponsTableRow | | template = WeaponsTableRow | ||
| named args = yes | | named args = yes | ||
| limit = 150 | | limit = 150 | ||
}} | }}</includeonly><noinclude> | ||
</includeonly><noinclude> | |||
This template generates a table filled with weapons that satisfy the provided condition. It requires some knowledge of SQL to operate. | This template generates a table filled with weapons that satisfy the provided condition. It requires some knowledge of SQL to operate. | ||