Template:DropsLine: Difference between revisions

correcting colors and values
mNo edit summary
(correcting colors and values)
Line 4:
<td>{{#if:{{{quantity|}}}|{{{quantity}}}|Unknown}}</td>
{{#if:{{{rarity|}}}|[[Category:Page with deprecated rarity tag]]{{#switch:{{lc:{{{rarity|}}}}}
|always = <td data-sort-value="1" class="table-bg-bluegrey"><span>Always</span></td>
|common = <td data-sort-value="16" class="table-bg-green"><span>Common</span></td>
|uncommon = <td data-sort-value="64" class="table-bg-yellowblue"><span>Uncommon</span></td>
|rare = <td data-sort-value="256" class="table-bg-orangepurple"><span>Rare</span></td>
|very rareepic = <td data-sort-value="1024" class="table-bg-redyellow"><span>Very rareEpic</span></td>
|#default = <td data-sort-value="65536" class="table-bg-grey"><span>Unknown</span></td>
}}}}{{#if:{{{frequency|}}}|{{#switch:{{lc:{{{frequency|}}}}}
|always = <td data-sort-value="1" class="table-bg-bluegrey"><span>Always</span></td>
|common = <td data-sort-value="16" class="table-bg-green"><span>Common</span></td>
|uncommon = <td data-sort-value="64" class="table-bg-yellowblue"><span>Uncommon</span></td>
|rare = <td data-sort-value="256" class="table-bg-orangepurple"><span>Rare</span></td>
|very rareepic = <td data-sort-value="1024" class="table-bg-redyellow"><span>Very rareEpic</span></td>
|#default = <td data-sort-value="65536" class="table-bg-grey"><span>Unknown</span></td>
}}}}{{#if:{{{frequency|}}}{{{rarity|}}}||<td data-sort-value="65536" class="table-bg-grey"><span>Unknown</span></td>}}
2,453

edits