Difference between revisions of "Template:Specs-Economy"
(Created page with "<includeonly><div class="specs_info"> <div class="specs_char"> {{#ifexpr: ( {{#unit: {{#var: me }} | ремонт | рб | мин }} = {{#unit: {{#var: me }} | ремонт |...") |
|||
Line 3: | Line 3: | ||
{{#ifexpr: ( {{#unit: {{#var: me }} | ремонт | рб | мин }} = {{#unit: {{#var: me }} | ремонт | рб | макс }} ) | {{#ifexpr: ( {{#unit: {{#var: me }} | ремонт | рб | мин }} = {{#unit: {{#var: me }} | ремонт | рб | макс }} ) | ||
|<div class="specs_char_block"> | |<div class="specs_char_block"> | ||
− | <div class="specs_char_line head"><span class="name"> | + | <div class="specs_char_line head"><span class="name">Repair cost</span><span class="value"></span></div> |
− | <div class="specs_char_line indent"><span class="name"> | + | <div class="specs_char_line indent"><span class="name">AB</span><span class="value">{{#ifexpr: {{#unit: {{#var: me }} | ремонт | аб | макс }} != 0 |{{#unit: {{#var: me }} | ремонт | аб | макс | format=1 }} {{Sl}}|free}}</span></div> |
− | <div class="specs_char_line indent"><span class="name"> | + | <div class="specs_char_line indent"><span class="name">RB</span><span class="value">{{#ifexpr: {{#unit: {{#var: me }} | ремонт | рб | макс }} != 0 |{{#unit: {{#var: me }} | ремонт | рб | макс | format=1 }} {{Sl}}|free}}</span></div> |
− | {{#ifexpr: {{#unit: {{#var: me }} | тип }} != 3 |<div class="specs_char_line indent"><span class="name"> | + | {{#ifexpr: {{#unit: {{#var: me }} | тип }} != 3 |<div class="specs_char_line indent"><span class="name">SB</span><span class="value">{{#ifexpr: {{#unit: {{#var: me }} | ремонт | сб | макс }} != 0 |{{#unit: {{#var: me }} | ремонт | сб | макс | format=1 }} {{Sl}}|free}}</span></div>}} |
</div> | </div> | ||
|<div class="specs_char_block"> | |<div class="specs_char_block"> | ||
− | <div class="specs_char_line head"><span class="name"> | + | <div class="specs_char_line head"><span class="name">Repair cost</span><span class="value">начальная → эталоная</span></div> |
− | <div class="specs_char_line indent"><span class="name"> | + | <div class="specs_char_line indent"><span class="name">AB</span><span class="value">{{#unit: {{#var: me }} | ремонт | аб | мин | format=1 }} → {{#unit: {{#var: me }} | ремонт | аб | макс | format=1 }} {{Sl}}</span></div> |
− | <div class="specs_char_line indent"><span class="name"> | + | <div class="specs_char_line indent"><span class="name">RB</span><span class="value">{{#unit: {{#var: me }} | ремонт | рб | мин | format=1 }} → {{#unit: {{#var: me }} | ремонт | рб | макс | format=1 }} {{Sl}}</span></div> |
− | {{#ifexpr: {{#unit: {{#var: me }} | тип }} != 3 |<div class="specs_char_line indent"><span class="name"> | + | {{#ifexpr: {{#unit: {{#var: me }} | тип }} != 3 |<div class="specs_char_line indent"><span class="name">SB</span><span class="value">{{#unit: {{#var: me }} | ремонт | сб | мин | format=1 }} → {{#unit: {{#var: me }} | ремонт | сб | макс | format=1 }} {{Sl}}</span></div>}} |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{#unit: {{#var: me }} | модификации | стоимость | опыт }} | | -->{{#if: {{#unit: {{#var: me }} | модификации | стоимость | опыт }} | | ||
<div class="specs_char_block"> | <div class="specs_char_block"> | ||
− | <div class="specs_char_line head"><span class="name"> | + | <div class="specs_char_line head"><span class="name">Total cost of modifications</span><span class="value">{{#unit: {{#var: me }} | модификации | стоимость | опыт | format=1 }} {{Rp}}</span></div> |
<div class="specs_char_line indent"><span class="name"></span><span class="value">{{#unit: {{#var: me }} | модификации | стоимость | серебро | format=1 }} {{Sl}}</span></div> | <div class="specs_char_line indent"><span class="name"></span><span class="value">{{#unit: {{#var: me }} | модификации | стоимость | серебро | format=1 }} {{Sl}}</span></div> | ||
</div> | </div> | ||
Line 23: | Line 23: | ||
-->{{#ifexpr: {{#unit: {{#var: me }} | талисман }} != 0 | | -->{{#ifexpr: {{#unit: {{#var: me }} | талисман }} != 0 | | ||
<div class="specs_char_block"> | <div class="specs_char_block"> | ||
− | <div class="specs_char_line head"><span class="name"> | + | <div class="specs_char_line head"><span class="name">Talisman cost</span><span class="value">{{#unit: {{#var: me }} | талисман | format=1 }} {{Ge}}</span></div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
--><div class="specs_char_block"> | --><div class="specs_char_block"> | ||
− | <div class="specs_char_line head"><span class="name"> | + | <div class="specs_char_line head"><span class="name">Crew training</span><span class="value">{{#ifexpr: {{#unit: {{#var: me }} | экипаж | базовая }} != 0 | {{#unit: {{#var: me }} | экипаж | базовая | format=1 }} {{Rp}} | free }}</span></div> |
− | <div class="specs_char_line indent"><span class="name"> | + | <div class="specs_char_line indent"><span class="name">Experts</span><span class="value">{{#unit: {{#var: me }} | экипаж | эксперты | format=1 }} {{Sl}}</span></div> |
− | <div class="specs_char_line indent"><span class="name"> | + | <div class="specs_char_line indent"><span class="name">Aces</span><span class="value">{{#unit: {{#var: me }} | экипаж | асы | format=1 }} {{Ge}}</span></div> |
− | <div class="specs_char_line indent"><span class="name"> | + | <div class="specs_char_line indent"><span class="name">Research Aces</span><span class="value">{{#unit: {{#var: me }} | экипаж | прокачка_асов | format=1 }} {{Rp}}</span></div> |
</div> | </div> | ||
<div class="specs_char_block"> | <div class="specs_char_block"> | ||
− | <div class="specs_char_line head"><span class="name"> | + | <div class="specs_char_line head"><span class="name">Reward for battle</span><span class="value">AB / RB / SB</span></div> |
− | <div class="specs_char_line indent"><span class="name"></span><span class="value">{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1 |[[ | + | <div class="specs_char_line indent"><span class="name"></span><span class="value">{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1 |[[File:Talisman.png|18px|class=ttx-img-talisman|link=]] 2 × }}{{#unit: {{#var: me }} | коэф_львы | аб }} / {{#unit: {{#var: me }} | коэф_львы | рб }} / {{#unit: {{#var: me }} | коэф_львы | сб }} % {{Sl}}</span></div> |
− | <div class="specs_char_line indent"><span class="name"></span><span class="value">{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1 |[[ | + | <div class="specs_char_line indent"><span class="name"></span><span class="value">{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1 |[[File:Talisman.png|18px|class=ttx-img-talisman|link=]] 2 × }}{{#unit: {{#var: me }} | коэф_опыт | аб }} / {{#unit: {{#var: me }} | коэф_опыт | рб }} / {{#unit: {{#var: me }} | коэф_опыт | сб }} % {{Rp}}</span></div> |
</div> | </div> | ||
</div> | </div> | ||
Line 41: | Line 41: | ||
<div class="specs_mod view hide"></div> | <div class="specs_mod view hide"></div> | ||
<div class="specs_mods specs_slider"> | <div class="specs_mods specs_slider"> | ||
− | <div class="specs_slider_title"> | + | <div class="specs_slider_title">Modifications</div> |
<div class="specs_slider_container"> | <div class="specs_slider_container"> | ||
<table rules="cols"> | <table rules="cols"> | ||
Line 47: | Line 47: | ||
<th>{{#switch: | <th>{{#switch: | ||
{{#unit:{{#var: me }}|тип}} | {{#unit:{{#var: me }}|тип}} | ||
− | |1= | + | |1=Flight performance |
− | |2= | + | |2=Mobility |
− | |3= | + | |3=Seakeeping |
− | |4= | + | |4=Flight performance |
}}</th> | }}</th> | ||
<th>{{#switch: | <th>{{#switch: | ||
{{#unit:{{#var: me }}|тип}} | {{#unit:{{#var: me }}|тип}} | ||
− | |1= | + | |1=Survivability |
− | |2= | + | |2=Protection |
− | |3= | + | |3=Unsinkability |
− | |4= | + | |4=Survivability |
}}</th> | }}</th> | ||
<th>{{#switch: | <th>{{#switch: | ||
{{#unit:{{#var: me }}|тип}} | {{#unit:{{#var: me }}|тип}} | ||
− | |1= | + | |1=Weaponry |
− | |2= | + | |2=Firepower |
− | |3= | + | |3=Firepower |
− | |4= | + | |4=Weaponry |
}}</th> | }}</th> | ||
</tr> | </tr> | ||
Line 84: | Line 84: | ||
{{#if: {{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|опыт}} | {{#if: {{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|опыт}} | ||
| <div class="specs_mod_prices"> | | <div class="specs_mod_prices"> | ||
− | <div class="specs_mod_prices_line"><div class="name"> | + | <div class="specs_mod_prices_line"><div class="name">Research:</div><div class="value">{{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|опыт|format=1}} {{Rp}}</div></div> |
− | <div class="specs_mod_prices_line"><div class="name"> | + | <div class="specs_mod_prices_line"><div class="name">Cost:</div><div class="value">{{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|серебро|format=1}} {{Sl}}</div></div> |
<div class="specs_mod_prices_line"><div class="name"></div><div class="value">{{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|золото|format=1}} {{Ge}}</div></div> | <div class="specs_mod_prices_line"><div class="name"></div><div class="value">{{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|золото|format=1}} {{Ge}}</div></div> | ||
</div> | </div> | ||
Line 116: | Line 116: | ||
{{#if: {{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|опыт}} | {{#if: {{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|опыт}} | ||
| <div class="specs_mod_prices"> | | <div class="specs_mod_prices"> | ||
− | <div class="specs_mod_prices_line"><div class="name"> | + | <div class="specs_mod_prices_line"><div class="name">Research:</div><div class="value">{{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|опыт|format=1}} {{Rp}}</div></div> |
− | <div class="specs_mod_prices_line"><div class="name"> | + | <div class="specs_mod_prices_line"><div class="name">Cost:</div><div class="value">{{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|серебро|format=1}} {{Sl}}</div></div> |
<div class="specs_mod_prices_line"><div class="name"></div><div class="value">{{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|золото|format=1}} {{Ge}}</div></div> | <div class="specs_mod_prices_line"><div class="name"></div><div class="value">{{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|золото|format=1}} {{Ge}}</div></div> | ||
</div> | </div> | ||
Line 148: | Line 148: | ||
{{#if: {{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|опыт}} | {{#if: {{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|опыт}} | ||
| <div class="specs_mod_prices"> | | <div class="specs_mod_prices"> | ||
− | <div class="specs_mod_prices_line"><div class="name"> | + | <div class="specs_mod_prices_line"><div class="name">Research:</div><div class="value">{{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|опыт|format=1}} {{Rp}}</div></div> |
− | <div class="specs_mod_prices_line"><div class="name"> | + | <div class="specs_mod_prices_line"><div class="name">Cost:</div><div class="value">{{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|серебро|format=1}} {{Sl}}</div></div> |
<div class="specs_mod_prices_line"><div class="name"></div><div class="value">{{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|золото|format=1}} {{Ge}}</div></div> | <div class="specs_mod_prices_line"><div class="name"></div><div class="value">{{#unit:{{#var: me }}|модификации|{{#var: mod_class }}|{{#var: column }}|{{#var: row }}|золото|format=1}} {{Ge}}</div></div> | ||
</div> | </div> |