Ad placeholder

Template:Drop table row: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(Added uid support)
mNo edit summary
Line 3: Line 3:
<th style="text-align: left; padding: 0.8rem" colspan="2">{{#if: {{{icon|}}} |{{ItemIcon|name={{{item}}}|uid={{{uid|}}}|override_icon={{{icon}}}|override_rarity={{{override_rarity|common}}}|show_rarity=true|no_padding=true}}
<th style="text-align: left; padding: 0.8rem" colspan="2">{{#if: {{{icon|}}} |{{ItemIcon|name={{{item}}}|uid={{{uid|}}}|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}}}|uid={{{uid|}}}|show_rarity=true|no_padding=true}}
|{{LgRarityItem|{{{item}}}|uid={{{uid|}}}|alias={{{alias|}}}}}
}} [[{{{item}}}{{#if:{{{alias|}}}|{{!}}{{{alias}}} }}]] {{#if: {{{note|}}}|{{{note}}} }}</th>
}} {{#if: {{{note|}}}|{{{note}}} }}</th>
<td style="text-align:center">{{{quantity}}}</td>
<td style="text-align:center">{{{quantity}}}</td>
{{#if:{{{skip_chance|}}}||<td style="text-align:center">{{{rarity|}}}{{{chance|}}}</td>}}</tr></includeonly></onlyinclude><noinclude>
{{#if:{{{skip_chance|}}}||<td style="text-align:center">{{{rarity|}}}{{{chance|}}}</td>}}</tr></includeonly></onlyinclude><noinclude>
{{DropTable}}
{{DropTable}}
</noinclude>
</noinclude>

Navigation menu