Template:DropsLine: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "<includeonly><tr> <td>{{#if:{{{image|}}}|[[File:{{{image}}}|30px|link={{{name}}}]]|[[File:{{{name}}}.png|30px]]}}</td> <td>{{#if:{{{displayname|}}}|[[{{{name}}}|{{{displayname}}}]]|[[{{{name}}}]]}}</td> <td>{{#if:{{{quantity|}}}|{{{quantity}}}|Unknown}}</td> {{#switch:{{lc:{{{rarity|}}}}} |always = <td data-sort-value="1" class="table-bg-blue"><span>Always</span></td> |common = <td data-sort-value="16" class="table-bg-green"><span>Common</span></td> |uncommon = <td data-...")
 
(Nope that was wrong)
 
(13 intermediate revisions by 2 users not shown)
Line 8:
|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>
|scarcevery rare = <td data-sort-value="1024" class="table-bg-red"><span>ScarceVery rare</span></td>
|#default = <td data-sort-value="65536" class="table-bg-grey"><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>
</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