Строка 7: |
Строка 7: |
| {{!}}colspan="2" style="padding-bottom: 5px;"{{!}} [[File:{{{eng|Blank icon}}}.png|center]] | | {{!}}colspan="2" style="padding-bottom: 5px;"{{!}} [[File:{{{eng|Blank icon}}}.png|center]] |
| {{!}}- | | {{!}}- |
− | {{!}} colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;" {{!}} {{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} | + | {{!}} colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic; padding-right: 3px;" {{!}} {{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} |
| {{!}}- | | {{!}}- |
| {{!}} colspan="2" id="infoboxsection" style="text-align:center; padding-left: 0; padding-right: 0;" {{!}} Информация | | {{!}} colspan="2" id="infoboxsection" style="text-align:center; padding-left: 0; padding-right: 0;" {{!}} Информация |
Строка 52: |
Строка 52: |
| {{!}} id="infoboxsection" {{!}} Длина (см) | | {{!}} id="infoboxsection" {{!}} Длина (см) |
| {{!}} id="infoboxdetail" {{!}} {{#switch:{{uc:{{CONTENTLANG}}}} | | {{!}} id="infoboxdetail" {{!}} {{#switch:{{uc:{{CONTENTLANG}}}} |
− | |EN = {{{size|}}} | + | |EN = {{#replace:{{{size|}}}|-|–}} |
− | |#default= {{#if:{{#pos:{{{size|}}}|-}} | + | |#default = {{#if:{{#pos:{{{size|}}}|-}} |
| |{{#expr:{{#explode:{{{size|}}}|-|0}}*2.54 round 0}}—{{#expr:{{#explode:{{{size|}}}|-|-1}}*2.54 round 0}} | | |{{#expr:{{#explode:{{{size|}}}|-|0}}*2.54 round 0}}—{{#expr:{{#explode:{{{size|}}}|-|-1}}*2.54 round 0}} |
| |{{#expr:{{{size|}}}*2.54 round 0}} }} }} | | |{{#expr:{{{size|}}}*2.54 round 0}} }} }} |
Строка 73: |
Строка 73: |
| {{!}} id="infoboxsection" {{!}} Энергия | | {{!}} id="infoboxsection" {{!}} Энергия |
| {{!}} id="infoboxdetail" {{!}} ''Несъедобный'' | | {{!}} id="infoboxdetail" {{!}} ''Несъедобный'' |
− | |#default = {{#ifexpr:{{#expr:{{{edibility|}}}>-300 and {{{edibility|}}}<0}} |<nowiki /> | + | |#default = |
− | {{!}} id="infoboxsection" {{!}} Энергия
| + | {{!}} id="infoboxsection" {{!}} [[Энергия]] / [[Здоровье]] |
− | {{!}} id="infoboxdetail" {{!}}
| + | {{!}} id="infoboxdetail" {{!}} {{EdibilityGrid|{{{eng|}}}|{{{edibility|}}}|dsv=false}} |
− | <table style="margin: 0; padding: 0; border-spacing: 0;">
| + | }} }}{{#ifeq:{{{professions|}}} | false |<nowiki /> |
− | <tr>
| + | {{!}}- |
− | <td> [[File:Poison.png|24px|link=]]</td>
| |
− | <td> {{#replace:{{#expr:ceil({{{edibility|}}}*2.5)}}|-|−}} [[Энергия]]</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td style="vertical-align: top;"><div id="qualitycontainersm"><div id="qualityimage">[[File:Poison.png|24px|link=]]<div class="qualityindicator">[[File:Silver Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td>{{#replace:{{#expr:trunc(ceil({{{edibility|}}}*2.5)+{{{edibility|}}})}}|-|−}} [[Энергия]]</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><div id="qualitycontainersm"><div id="qualityimage">[[File:Poison.png|24px|link=]]<div class="qualityindicator">[[File:Gold Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td> {{#replace:{{#expr:trunc(ceil({{{edibility|}}}*2.5)+{{{edibility|}}}*2)}}|-|−}} [[Энергия]]</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><div id="qualitycontainersm"><div id="qualityimage">[[File:Poison.png|24px|link=]]<div class="qualityindicator">[[File:Iridium Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td> {{#replace:{{#expr:trunc(ceil({{{edibility|}}}*2.5)+{{{edibility|}}}*4)}}|-|−}} [[Энергия]]</td>
| |
− | </tr>
| |
− | </table>
| |
− | }}{{#ifexpr:{{#expr:{{{edibility|}}}>0}} |<nowiki />
| |
− | {{!}} id="infoboxsection" {{!}} [[Энергия|<span style="color: white;">Энергия</span>]] / [[Здоровье|<span style="color: white;">Здоровье</span>]] | |
− | {{!}} id="infoboxdetail" {{!}} | |
− | {{{!}} style="padding: 0; margin: 0 0 2px 0; border-spacing: 0;"
| |
− | {{!}}-
| |
− | {{!}}style="padding: 0;"{{!}} [[File:Energy.png|24px|link=]]
| |
− | {{!}}class="no-wrap" style="text-align: right;" {{!}}{{#expr:ceil({{{edibility|}}}*2.5)}}
| |
− | {{!}}style="width: 12px;" {{!}}
| |
− | {{!}}style="padding: 0;"{{!}}[[File:Health.png|24px|link=]]
| |
− | {{!}}class="no-wrap" style="text-align: right;" {{!}}{{#expr:trunc(ceil({{{edibility|}}}*2.5)*0.45)}}
| |
− | {{!}}-
| |
− | {{#switch:{{lc:{{{quality|}}}}}
| |
− | |false|normal=
| |
− | |#default=
| |
− | {{!}}style="padding: 0;"{{!}}<div id="qualitycontainersm"><div id="qualityimage">[[File:Energy.png|24px|link=]]<div class="qualityindicator">[[File:Silver Quality Icon.png|24px|link=]]</div></div></div>
| |
− | {{!}}class="no-wrap" style="padding: 0; text-align: right;"{{!}}{{#expr:trunc(ceil({{{edibility|}}}*2.5)+{{{edibility|}}})}}
| |
− | {{!}} style="width: 4px; padding: 0;" {{!}}
| |
− | {{!}}style="padding: 0;"{{!}}<div id="qualitycontainersm"><div id="qualityimage">[[File:Health.png|24px|link=]]<div class="qualityindicator">[[File:Silver Quality Icon.png|24px|link=]]</div></div></div>
| |
− | {{!}}class="no-wrap" style="padding: 0; text-align: right;"{{!}}
| |
− | {{#expr:trunc(trunc(ceil({{{edibility|}}}*2.5)+{{{edibility|}}})*0.45)}}
| |
− | {{!}}-
| |
− | {{!}}style="padding: 0;"{{!}}<div id="qualitycontainersm"><div id="qualityimage">[[File:Energy.png|24px|link=]]<div class="qualityindicator">[[File:Gold Quality Icon.png|24px|link=]]</div></div></div>
| |
− | {{!}}class="no-wrap" style="padding: 0; text-align: right;"{{!}}{{#expr:trunc(ceil({{{edibility|}}}*2.5)+{{{edibility|}}}*2)}}
| |
− | {{!}}
| |
− | {{!}}style="padding: 0;"{{!}}<div id="qualitycontainersm"><div id="qualityimage">[[File:Health.png|24px|link=]]<div class="qualityindicator">[[File:Gold Quality Icon.png|24px|link=]]</div></div></div>
| |
− | {{!}}class="no-wrap" style="padding: 0; text-align: right;"{{!}}{{#expr:trunc(trunc(ceil({{{edibility|}}}*2.5)+{{{edibility|}}}*2)*0.45)}}
| |
− | {{!}}-
| |
− | {{!}}style="padding: 0;"{{!}}<div id="qualitycontainersm"><div id="qualityimage">[[File:Energy.png|24px|link=]]<div class="qualityindicator">[[File:Iridium Quality Icon.png|24px|link=]]</div></div></div>
| |
− | {{!}}class="no-wrap" style="padding: 0; text-align: right;"{{!}}{{#expr:trunc(ceil({{{edibility|}}}*2.5)+{{{edibility|}}}*4)}}
| |
− | {{!}}
| |
− | {{!}}style="padding: 0;"{{!}}<div id="qualitycontainersm"><div id="qualityimage">[[File:Health.png|24px|link=]]<div class="qualityindicator">[[File:Iridium Quality Icon.png|24px|link=]]</div></div></div>
| |
− | {{!}} class="no-wrap" style="padding: 0; text-align: right;" {{!}}{{#expr:trunc(trunc(ceil({{{edibility|}}}*2.5)+{{{edibility|}}}*4)*0.45)}}
| |
− | }}
| |
− | {{!}}-
| |
− | {{!}}}
| |
− | }} }} }}{{#ifeq:{{{professions|}}} | false |<nowiki />
| |
− | {{!}}- | |
| {{!}} id="infoboxsection" {{!}} Цена продажи | | {{!}} id="infoboxsection" {{!}} Цена продажи |
| {{!}} id="infoboxdetail" {{!}} {{#switch: {{lc:{{{quality|}}}}} | | {{!}} id="infoboxdetail" {{!}} {{#switch: {{lc:{{{quality|}}}}} |
− | |normal|false = {{Price|{{{price|}}}}} | + | |normal|false = {{Price|{{{price|}}}}} |
− | |#default= | + | |#default = {{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|dsv=false}} |
− | <table style="margin: 0; padding: 0; border-spacing: 0;">
| |
− | <tr>
| |
− | <td>[[File:{{{eng|Blank icon}}}.png|24px|link=]]</td>
| |
− | <td>{{formatnum:{{#expr:trunc(10 * {{{price|}}} / 10) }}}} з.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><div id="qualitycontainersm"><div id="qualityimage">[[File:{{{eng|Blank icon}}}.png|24px|link=]]<div class="qualityindicator">[[File:Silver Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc( 10 * trunc ( 1.25 * trunc({{{price|}}}) ) ) / 10) }}}} з.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><div id="qualitycontainersm"><div id="qualityimage">[[File:{{{eng|Blank icon}}}.png|24px|link=]]<div class="qualityindicator">[[File:Gold Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc( 10 * trunc ( 1.5 * trunc({{{price|}}}) ) ) / 10) }}}} з.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><div id="qualitycontainersm"><div id="qualityimage">[[File:{{{eng|Blank icon}}}.png|24px|link=]]<div class="qualityindicator">[[File:Iridium Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc( 10 * trunc ( 2 * trunc({{{price|}}}) ) ) / 10) }}}} з.</td>
| |
− | </tr>
| |
− | </table>
| |
| }} | | }} |
| |<!-- professions != false --><nowiki /> | | |<!-- professions != false --><nowiki /> |
| {{!}}- | | {{!}}- |
| {{!}} colspan="2" style="padding: 0; border: 0;"{{!}} | | {{!}} colspan="2" style="padding: 0; border: 0;"{{!}} |
− | <table colspan="3" style="width: 101%; margin-top: -2px; margin-left: -2px;">
| + | <table style="width: 101%; margin-top: -2px; margin-left: -2px;"> |
− | <tr>
| + | <tr> |
| <td id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0; padding-right: 0;">Цены продажи</td> | | <td id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0; padding-right: 0;">Цены продажи</td> |
− | </tr>
| + | </tr> |
− | <tr>
| + | <tr> |
| <td id="infoboxsection">Базовая цена</td> | | <td id="infoboxsection">Базовая цена</td> |
| <td id="infoboxsection">[[File:Fisher.png|24px|link=]] [[Навыки#Рыбная ловля|<span style="color: white;">Рыбак</span>]] ''(+25%)''</td> | | <td id="infoboxsection">[[File:Fisher.png|24px|link=]] [[Навыки#Рыбная ловля|<span style="color: white;">Рыбак</span>]] ''(+25%)''</td> |
| <td id="infoboxsection">[[File:Angler Icon.png|24px|link=]] [[Навыки#Рыбная ловля|<span style="color: white;">Рыболов</span>]] ''(+50%)'' </td> | | <td id="infoboxsection">[[File:Angler Icon.png|24px|link=]] [[Навыки#Рыбная ловля|<span style="color: white;">Рыболов</span>]] ''(+50%)'' </td> |
− | </tr>
| + | </tr> |
− | <tr>
| + | <tr> |
− | {{#switch: {{lc:{{{quality|}}}}}
| + | {{#switch: {{lc:{{{quality|}}}}} |
− | |normal|false =
| + | |normal|false = |
− | <td style="vertical-align: top;">
| + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|quality=normal|dsv=false}}</td> |
− | <table style="margin: 0; padding: 0; border-spacing: 0;">
| + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|quality=normal|pm=1.25|dsv=false}}</td> |
− | <tr>
| + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|quality=normal|pm=1.5|dsv=false}}</td> |
− | <td>[[File:{{{eng|Blank icon}}}.png|24px|link=]]</td>
| + | |#default = {{#switch:{{lc:{{NAMESPACE}}}} | шаблон | template = |#default= |
− | <td>{{formatnum:{{#expr:trunc(trunc(10 * {{{price|}}}) / 10) }} }} з.</td>
| + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|dsv=false}}</td> |
− | </tr>
| + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|pm=1.25|dsv=false}}</td> |
− | </table>
| + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|pm=1.5|dsv=false}}</td> |
− | </td>
| + | }} }} |
− | <td style="vertical-align: top;">
| |
− | <table style="margin: 0; padding: 0; border-spacing: 0;">
| |
− | <tr>
| |
− | <td>[[File:{{{eng|Blank icon}}}.png|24px|link=]]</td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc(1.25 * 10 * {{{price|}}}) / 10) }} }} з.</td>
| |
− | </tr>
| |
− | </table>
| |
− | </td>
| |
− | <td style="vertical-align: top;">
| |
− | <table style="margin: 0; padding: 0; border-spacing: 0;">
| |
− | <tr>
| |
− | <td>[[File:{{{eng|Blank icon}}}.png|24px|link=]]</td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc(1.5 * 10 * {{{price|}}}) / 10) }} }} з.</td>
| |
− | </tr>
| |
− | </table>
| |
− | </td>
| |
− | |#default = {{#switch:{{lc:{{NAMESPACE}}}} | шаблон | template = |#default=
| |
− | <td style="vertical-align: top;">
| |
− | <table style="margin: 0; padding: 0; border-spacing: 0;">
| |
− | <tr>
| |
− | <td>[[File:{{{eng|Blank icon}}}.png|24px|link=]]</td>
| |
− | <td>{{formatnum:{{#expr:trunc(10 * {{{price|}}} / 10) }}}} з.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><div id="qualitycontainersm"><div id="qualityimage">[[File:{{{eng|Blank icon}}}.png|24px|link=]]<div class="qualityindicator">[[File:Silver Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc( 10 * trunc ( 1.25 * trunc({{{price|}}}) ) ) / 10) }}}} з.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><div id="qualitycontainersm"><div id="qualityimage">[[File:{{{eng|Blank icon}}}.png|24px|link=]]<div class="qualityindicator">[[File:Gold Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc( 10 * trunc ( 1.5 * trunc({{{price|}}}) ) ) / 10) }}}} з.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><div id="qualitycontainersm"><div id="qualityimage">[[File:{{{eng|Blank icon}}}.png|24px|link=]]<div class="qualityindicator">[[File:Iridium Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc( 10 * trunc ( 2 * trunc({{{price|}}}) ) ) / 10) }}}} з.</td>
| |
− | </tr>
| |
− | </table>
| |
− | </td>
| |
− | <td style="vertical-align: top;">
| |
− | <table style="margin: 0; padding: 0; border-spacing: 0;">
| |
− | <tr>
| |
− | <td>[[File:{{{eng|Blank icon}}}.png|24px|link=]]</td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc(1.25 * 10 * {{{price|}}}) / 10)}} }} з.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><div id="qualitycontainersm"><div id="qualityimage">[[File:{{{eng|Blank icon}}}.png|24px|link=]]<div class="qualityindicator">[[File:Silver Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc(1.25 * 10 * trunc(1.25 * {{{price|}}})) / 10)}} }} з.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><div id="qualitycontainersm"><div id="qualityimage">[[File:{{{eng|Blank icon}}}.png|24px|link=]]<div class="qualityindicator">[[File:Gold Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc(1.25 * 10 * trunc(1.5 * {{{price|}}})) / 10) }} }} з.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><div id="qualitycontainersm"><div id="qualityimage">[[File:{{{eng|Blank icon}}}.png|24px|link=]]<div class="qualityindicator">[[File:Iridium Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc(1.25 * 10 * trunc(2 * {{{price|}}})) / 10) }} }} з.</td>
| |
− | </tr>
| |
− | </table>
| |
− | </td>
| |
− | <td style="vertical-align: top;">
| |
− | <table style="margin: 0; padding: 0; border-spacing: 0;">
| |
− | <tr>
| |
− | <td>[[File:{{{eng|Blank icon}}}.png|24px|link=]]</td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc(1.5 * 10 * {{{price|}}}) / 10)}} }} з.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><div id="qualitycontainersm"><div id="qualityimage">[[File:{{{eng|Blank icon}}}.png|24px|link=]]<div class="qualityindicator">[[File:Silver Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc(1.5 * 10 * trunc(1.25 * {{{price|}}})) / 10) }} }} з.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><div id="qualitycontainersm"><div id="qualityimage">[[File:{{{eng|Blank icon}}}.png|24px|link=]]<div class="qualityindicator">[[File:Gold Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td>{{formatnum:{{#expr:trunc(trunc(1.5 * 10 * trunc(1.5 * {{{price|}}})) / 10) }} }} з.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><div id="qualitycontainersm"><div id="qualityimage">[[File:{{{eng|Blank icon}}}.png|24px|link=]]<div class="qualityindicator">[[File:Iridium Quality Icon.png|24px|link=]]</div></div></div></td>
| |
− | <td>{{formatnum: {{#expr:trunc(trunc(1.5 * 10 * trunc(2 * {{{price|}}})) / 10) }} }} з.</td>
| |
− | </tr>
| |
− | </table>
| |
− | </td>
| |
− | }} }}
| |
| </tr> | | </tr> |
| </table> | | </table> |
Строка 267: |
Строка 118: |
| {{!}} id="infoboxsection" {{!}} {{#ifeq:{{{eng|}}}|Sturgeon|Черная икра|Вяленая икра}} | | {{!}} id="infoboxsection" {{!}} {{#ifeq:{{{eng|}}}|Sturgeon|Черная икра|Вяленая икра}} |
| {{!}} id="infoboxsection" {{!}} [[File:Artisan.png|24px|link=]] {{#ifeq:{{{eng|}}}|Sturgeon|Черная икра|Вяленая<br />икра}} ''(+40%)'' | | {{!}} id="infoboxsection" {{!}} [[File:Artisan.png|24px|link=]] {{#ifeq:{{{eng|}}}|Sturgeon|Черная икра|Вяленая<br />икра}} ''(+40%)'' |
− | {{!}}- | + | {{!}}- |
− | {{!}} style="vertical-align: top;" {{!}} [[File:{{{roe|}}} Roe.png|24px|link=]] {{#expr:30+trunc({{{price|}}}/2)}} з. | + | {{!}} style="vertical-align: top;" {{!}} {{Qualityprice|{{{roe|}}} Roe|{{{price|}}}|quality=normal|dsv=false}} |
| {{!}} style="vertical-align: top;" {{!}} {{#switch:{{{eng|}}} | | {{!}} style="vertical-align: top;" {{!}} {{#switch:{{{eng|}}} |
− | |Sturgeon = [[File:Caviar.png|24px|link=]] 500 з. | + | |Sturgeon = {{Qualityprice|Caviar|500|quality=normal|dsv=false}} |
− | |#default = [[File:{{{roe|}}} Aged Roe.png|24px|link=]] {{#expr:2*trunc(30+trunc({{{price|}}}/2))}} з.}} | + | |#default = {{Qualityprice|{{{roe|}}} Aged Roe|{{{price|}}}|quality=normal|dsv=false}} }} |
| {{!}} style="vertical-align: top;" {{!}} {{#switch:{{{eng|}}} | | {{!}} style="vertical-align: top;" {{!}} {{#switch:{{{eng|}}} |
− | |Sturgeon = [[File:Caviar.png|24px|link=]] 700 з. | + | |Sturgeon = {{Qualityprice|Caviar|500|quality=normal|pm=1.4|dsv=false}} |
− | |#default = [[File:{{{roe|}}} Aged Roe.png|24px|link=]] {{formatnum:{{#expr:trunc(trunc (28 * trunc({{#expr:30+trunc({{{price|}}}/2)}})) / 10 )}}}} з.}} | + | |#default = {{Qualityprice|{{{roe|}}} Aged Roe|{{{price|}}}|quality=normal|pm=1.4|dsv=false}} }} |
| {{!}}- | | {{!}}- |
| {{!}}} | | {{!}}} |