Template:DropsLine: Difference between revisions

No edit summary
(Nope that was wrong)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
|#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>{{#vardefine:value|{{#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:{{{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