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( | COALESCE(CONCAT("+", speed_base, "%"), "—") = Speed, | ||
COALESCE(CONCAT( | COALESCE(CONCAT("+", range_base), "—") = Range, | ||
COALESCE(CONCAT( | COALESCE(CONCAT("+", damage_base), "—") = Damage, | ||
COALESCE(CONCAT( | COALESCE(CONCAT("+", pierce_base), "—") = Pierce, | ||
COALESCE(special, "No special properties") = Special properties | |||
|order by=( | |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 | ||