Template:Item: Difference between revisions
No edit summary |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|Name=String | |Name=String | ||
|InternalID=Integer | |InternalID=Integer | ||
| | |Price=Integer | ||
|Crime=Integer | |Crime=Integer | ||
|Accuracy=Integer | |Accuracy=Integer | ||
Line 142: | Line 139: | ||
}} | }} | ||
}} | }} | ||
{{#if: {{{generalsell|}}} | | |||
<tr> | <tr> | ||
<th colspan="2" style="background: var(--bg-contrast) !important;">Prices</th> | <th colspan="2" style="background: var(--bg-contrast) !important;">Prices</th> | ||
Line 154: | Line 152: | ||
<tr> | <tr> | ||
<td style="padding-left: 10px; white-space: nowrap; vertical-align: top; padding-right: 8px;">[[File:Sell_icon.png|16px|link=|class=noviewer]] Sell To</td> | <td style="padding-left: 10px; white-space: nowrap; vertical-align: top; padding-right: 8px;">[[File:Sell_icon.png|16px|link=|class=noviewer]] Sell To</td> | ||
<td style="border-left: 2px solid var(--border-color-base) !important; width:100%; padding-left: 10px;">{{#iferror:{{formatnum:{{{ | <td style="border-left: 2px solid var(--border-color-base) !important; width:100%; padding-left: 10px;">{{#iferror:{{formatnum:{{#invoke:PriceCalculator|calculate|price={{{generalsell}}}|type=sell}}|en}}|{{#invoke:PriceCalculator|calculate|price={{{generalsell}}}|type=sell}}}} {{CoinIcon}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="white-space: nowrap; vertical-align: top; padding-right: 8px;"><b>[[Aurum Minor]]</b></td> | <td style="white-space: nowrap; vertical-align: top; padding-right: 8px;"><b>[[Aurum Minor]]</b></td> | ||
<td style="border-left: 2px solid var(--border-color-base) !important; width:100%; padding-left: 10px;">{{#iferror:{{formatnum:{{{ | <td style="border-left: 2px solid var(--border-color-base) !important; width:100%; padding-left: 10px;">{{#iferror:{{formatnum:{{#invoke:PriceCalculator|calculate|price={{{generalsell}}}|type=minor}}|en}}|{{#invoke:PriceCalculator|calculate|price={{{generalsell}}}|type=minor}}}} {{CoinIcon}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="white-space: nowrap; vertical-align: top; padding-right: 8px;"><b>[[Aurum Majora]]</b></td> | <td style="white-space: nowrap; vertical-align: top; padding-right: 8px;"><b>[[Aurum Majora]]</b></td> | ||
<td style="border-left: 2px solid var(--border-color-base) !important; width:100%; padding-left: 10px;">{{#iferror:{{formatnum:{{{ | <td style="border-left: 2px solid var(--border-color-base) !important; width:100%; padding-left: 10px;">{{#iferror:{{formatnum:{{#invoke:PriceCalculator|calculate|price={{{generalsell}}}|type=major}}|en}}|{{#invoke:PriceCalculator|calculate|price={{{generalsell}}}|type=major}}}} {{CoinIcon}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if:{{{xPos|}}}{{{yPos|}}}| | {{#if:{{{xPos|}}}{{{yPos|}}}| | ||
<tr> | <tr> | ||
Line 178: | Line 177: | ||
|Name={{{name|{{PAGENAME}}}}} | |Name={{{name|{{PAGENAME}}}}} | ||
|InternalID={{{_id|0}}} | |InternalID={{{_id|0}}} | ||
| | |Price={{{generalsell|2}}} | ||
|Crime={{{crime|}}} | |Crime={{{crime|}}} | ||
|Accuracy={{{accuracy|}}} | |Accuracy={{{accuracy|}}} |