Trinket: Difference between revisions

Pymonkibot (talk | contribs)
m Text replacement - "Name / description" to "Text"
mNo edit summary
Line 4: Line 4:
<div class="center-col-1 center-col-3 center-col-4 center-col-5 center-col-6 center-col-7">
<div class="center-col-1 center-col-3 center-col-4 center-col-5 center-col-6 center-col-7">
{{#cargo_query:table=battd_trinkets
{{#cargo_query:table=battd_trinkets
|fields=CONCAT("[[File:", image, "|50px|link=", _pageName, "]]") = Icon,
|fields=CONCAT("[[File:", image, "|50px|Icon of ", name, "|link=", _pageName, "]]") = Icon,
CONCAT("[[",_pageName, "|", name, "]]<br>", description) = Text,
CONCAT("'''[[",_pageName, "|", name, "]]'''<br>", description) = Text,
rarity = Rarity,
rarity = Rarity,
COALESCE(CONCAT('+', speed_base, '%'), '—') = Speed,
COALESCE(CONCAT("+", speed_base, "%"), "—") = Speed,
COALESCE(CONCAT('+', range_base), '—') = Range,
COALESCE(CONCAT("+", range_base), "—") = Range,
COALESCE(CONCAT('+', damage_base), '—') = Damage,
COALESCE(CONCAT("+", damage_base), "—") = Damage,
COALESCE(CONCAT('+', pierce_base), '—') = Pierce
COALESCE(CONCAT("+", pierce_base), "—") = Pierce,
COALESCE(special, "No special properties") = Special properties


|order by=(case rarity when 'Common' then 0 when 'Uncommon' then 1 when 'Rare' then 2 when 'Super Rare' then 3 when 'Epic' then 4 when 'Martian' then 5 end),
|order by=(CASE rarity WHEN "Common" THEN 0 WHEN "Uncommon" THEN 1 WHEN "Rare" THEN 2 WHEN "Super Rare" THEN 3 WHEN "Epic" THEN 4 WHEN "Martian" THEN 5 END),
name
name