6,366
editsAd placeholder
Template:Drop table row: Difference between revisions
Jump to navigation
Jump to search
add icon override
(Use rarity icon, combine icon cell and item name cell) |
(add icon override) |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly><tr> | <onlyinclude><includeonly><tr> | ||
<!-- handle override --> | |||
<th style="text-align: left; padding: 0.8rem" colspan="2"> | <th style="text-align: left; padding: 0.8rem" colspan="2">{{#if: {{{icon|}}} |{{ItemIcon|name={{{item}}}|override_icon={{{icon}}}|override_rarity={{{override_rarity|common}}}|show_rarity=true|no_padding=true}} | ||
<!-- otherwise fetch icon with cargo --> | <!-- otherwise fetch icon with cargo --> | ||
|{{ItemIcon|name={{{item}}}|show_rarity=true|no_padding=true}} | |{{ItemIcon|name={{{item}}}|show_rarity=true|no_padding=true}} |