Template:DropsLine: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 12:
}}
<td>{{#vardefine:value|{{#ifeq:{{{name}}}|Coins|1|{{#ask:[[{{#if:{{{name|}}}|{{{name}}}|Project:No page}}]]|?Value #=|mainlabel=-}}}}}}{{#if:{{#var:value}}|{{#if:{{{quantity|}}}|{{#ifeq:{{#rpos:{{{quantity}}}|-}}|-1|{{Currency|{{#var:value}}*{{{quantity}}}}}|{{Currency|{{#var:value}}*{{#explode:{{{quantity}}}|-|0}}}} – {{Currency|{{#var:value}}*{{#explode:{{{quantity}}}|-|1}}}}}}|{{Currency|{{#var:value}}}}}}|Unknown}}</td>
</tr>{{#subobject:DROP_{{{name}}}_{{#if:{{{frequency|}}}|{{{frequency}}}|Unknown}}|Dropped from={{FULLPAGENAME}}|Dropped item={{{name}}}|Dropped quantity={{#if:{{{quantity|}}}|{{{quantity}}}|Unknown}}|Rarity={{#if:{{{frequency|}}}|{{{frequency}}}|Unknown}}}}</includeonly><noinclude>{{/doc}}</noinclude>!--
-->{{Drop JSON
|Dropped from = {{FULLPAGENAME}}
|Dropped item = {{{name|}}}
|Dropped quantity = {{{quantity|}}}
|Freqeuncy = {{{frequency|}}}
|subobject = DROP_{{{name}}}_{{#if:{{{frequency|}}}|{{{frequency}}}|Unknown}}
}}</includeonly><noinclude>{{/doc}}</noinclude>