Template:DropsLine: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(correcting colors and values) |
m (not sure what color to use for unknown) |
||
Line 9: | Line 9: | ||
|rare = <td data-sort-value="256" class="table-bg-purple"><span>Rare</span></td> |
|rare = <td data-sort-value="256" class="table-bg-purple"><span>Rare</span></td> |
||
|epic = <td data-sort-value="1024" class="table-bg-yellow"><span>Epic</span></td> |
|epic = <td data-sort-value="1024" class="table-bg-yellow"><span>Epic</span></td> |
||
|#default = <td data-sort-value="65536" class="table-bg- |
|#default = <td data-sort-value="65536" class="table-bg-red"><span>Unknown</span></td> |
||
}}}}{{#if:{{{frequency|}}}|{{#switch:{{lc:{{{frequency|}}}}} |
}}}}{{#if:{{{frequency|}}}|{{#switch:{{lc:{{{frequency|}}}}} |
||
|always = <td data-sort-value="1" class="table-bg-grey"><span>Always</span></td> |
|always = <td data-sort-value="1" class="table-bg-grey"><span>Always</span></td> |
||
Line 16: | Line 16: | ||
|rare = <td data-sort-value="256" class="table-bg-purple"><span>Rare</span></td> |
|rare = <td data-sort-value="256" class="table-bg-purple"><span>Rare</span></td> |
||
|epic = <td data-sort-value="1024" class="table-bg-yellow"><span>Epic</span></td> |
|epic = <td data-sort-value="1024" class="table-bg-yellow"><span>Epic</span></td> |
||
|#default = <td data-sort-value="65536" class="table-bg- |
|#default = <td data-sort-value="65536" class="table-bg-red"><span>Unknown</span></td> |
||
}}}}{{#if:{{{frequency|}}}{{{rarity|}}}||<td data-sort-value="65536" class="table-bg- |
}}}}{{#if:{{{frequency|}}}{{{rarity|}}}||<td data-sort-value="65536" class="table-bg-red"><span>Unknown</span></td>}} |
||
<td>{{#vardefine:value|{{#ifeq:{{{name}}}|Coins|1|{{#ask:[[{{{name}}}]]|?Value=|mainlabel=-}}}}}}{{#if:{{#var:value}}|{{#if:{{{quantity|}}}|{{Currency|{{#expr:{{#var:value}}*{{{quantity}}}}}}}|{{Currency|{{#var:value}}}}}}|Unknown}}</td> |
<td>{{#vardefine:value|{{#ifeq:{{{name}}}|Coins|1|{{#ask:[[{{{name}}}]]|?Value=|mainlabel=-}}}}}}{{#if:{{#var:value}}|{{#if:{{{quantity|}}}|{{Currency|{{#expr:{{#var:value}}*{{{quantity}}}}}}}|{{Currency|{{#var:value}}}}}}|Unknown}}</td> |
||
</tr>{{#subobject:DROP_{{{name}}}_{{#if:{{{rarity|}}}|{{{rarity}}}|Unknown}}|Dropped from={{FULLPAGENAME}}|Dropped item={{{name}}}|Dropped quantity={{#if:{{{quantity|}}}|{{{quantity}}}|Unknown}}|Rarity={{#if:{{{frequency|}}}|{{{frequency}}}|Unknown}}}}</includeonly><noinclude>{{/doc}}</noinclude> |
</tr>{{#subobject:DROP_{{{name}}}_{{#if:{{{rarity|}}}|{{{rarity}}}|Unknown}}|Dropped from={{FULLPAGENAME}}|Dropped item={{{name}}}|Dropped quantity={{#if:{{{quantity|}}}|{{{quantity}}}|Unknown}}|Rarity={{#if:{{{frequency|}}}|{{{frequency}}}|Unknown}}}}</includeonly><noinclude>{{/doc}}</noinclude> |