Template:DropsLine/doc: Difference between revisions
no edit summary
No edit summary |
PinnacleHigh (talk | contribs) No edit summary |
||
Line 80:
A manual configuration of the item's image. Only use this parameter when the image name (minus extension) does not exactly match the item name. Casing is important, so be sure the <code>name</code> parameter also leads directly to the item's page. Do not add square brackets and the "File:" prefix. Just use "Name.png".
<includeonly><tr>
<td style="border: 1px solid #cccccc;">{{#if:{{{image|}}}|[[File:{{{image}}}|30px|link={{{name}}}]]|[[File:{{{name}}}.png|30px]]}}</td>
<td style="border: 1px solid #cccccc;">{{#if:{{{displayname|}}}|[[{{{name}}}|{{{displayname}}}]]|[[{{{name}}}]]}}</td>
<td style="border: 1px solid #cccccc;">{{#if:{{{quantity|}}}|{{{quantity}}}|Unknown}}</td>
<td style="border: 1px solid #cccccc;">{{#if:{{{frequency|}}}|{{{frequency}}}|Unknown}}</td>
<td style="border: 1px solid #cccccc;">{{#if:{{{rarity|}}}|{{{rarity}}}|Unknown}}</td>
<td style="border: 1px solid #cccccc;">{{#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></includeonly><noinclude>{{/doc}}</noinclude>
|