Template:Weapon type page: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 52: Line 52:
<h2> List of {{{type}}} </h2>
<h2> List of {{{type}}} </h2>


{{#cargo_query:
{{#cargo_query: tables = weapons
tables = weapons
| fields =
| fields = CONCAT('[[File:', image, '|frameless|100px|link=', name, ']] <br> [[', name, '{{!}}{', '{RarityColor{{!}}', rarity, '{{!}}', name, '}', '}]]') = Weapon, enchantment = Enchantment, damage = Damage, CONCAT(weight_kg, '{{nbts}}kg / ', weight_lb, '{{nbts}}lb') = Weight, price = Price, special = Special
  CONCAT('<div style="text-align: center;">',
        '[[File:', image, '|frameless|100px|link=', name, ']] <br>',
        '[[', name, '{{!}}{', '{RarityColor{{!}}', rarity, '{{!}}', name, '}', '}]]',
        '</div>'
        ) = Weapon,
  enchantment = Enchantment,
  damage = Damage,
  CONCAT(weight_kg, '{{nbts}}kg / ', weight_lb, '{{nbts}}lb') = Weight,
  price = Price,
  special = Special
| order by = rarity_order, name
| order by = rarity_order, name
| where = type = "{{{type}}}" and name != ""
| where = type = "{{{type}}}" and name != ""

Navigation menu