Template:DropsLine: Difference between revisions

m (BlackHawk moved page User:BlackHawk/DropsLine to Template:DropsLine without leaving a redirect)
(Nope that was wrong)
 
(11 intermediate revisions by 2 users not shown)
Line 8: Line 8:
|uncommon = <td data-sort-value="64" class="table-bg-yellow"><span>Uncommon</span></td>
|uncommon = <td data-sort-value="64" class="table-bg-yellow"><span>Uncommon</span></td>
|rare = <td data-sort-value="256" class="table-bg-orange"><span>Rare</span></td>
|rare = <td data-sort-value="256" class="table-bg-orange"><span>Rare</span></td>
|scarce = <td data-sort-value="1024" class="table-bg-red"><span>Scarce</span></td>
|very rare = <td data-sort-value="1024" class="table-bg-red"><span>Very rare</span></td>
|#default = <td data-sort-value="65536" class="table-bg-grey"><span>Unknown</span></td>
|#default = <td data-sort-value="65536" class="table-bg-grey"><span>Unknown</span></td>
}}
}}
<td>{{Currency|{{#ask:[[{{{name}}}]]|?Value=|mainlabel=-}}}}</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}}}|Rarity={{#if:{{{rarity|}}}|{{{rarity}}}|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:{{{rarity|}}}|{{{rarity}}}|Unknown}}}}</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 11:28, 6 November 2024