Шаблон:Component/lathe/wrapper: различия между версиями
Pok (обсуждение | вклад) Нет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 2: | Строка 2: | ||
|class = {{#if: {{#var:lathe_mode_emag}} | станок__mode-emag }} | |class = {{#if: {{#var:lathe_mode_emag}} | станок__mode-emag }} | ||
|header = | |header = | ||
<div class=" | <div class="ts-Component-lathe__header"> | ||
<div class=" | <div class="ts-Component-lathe__product-and-info-text"> | ||
<div class=" | <div class="ts-Component-lathe__product">{{#if: {{{resultReagents|}}} | {{serialization/reagent|{{{resultReagents}}}|sep=<nowiki> </nowiki>|prefix=}} | {{предмет|link=|{{{result}}}}} }} </div> | ||
{{#if:{{{info|}}}|<div class=" | {{#if:{{{info|}}}|<div class="ts-Component-lathe__info-text">{{{info}}}</div>}}</div> | ||
<div class=" | <div class="ts-Component-lathe__info-icons"><!-- | ||
-->{{#if: {{#var:lathe_mode_research}} | {{AltTooltip|[[File:JobIconResearchDirector.png|24px|link=]]|Рецепт становится доступным после исследования определённой технологии.|posX=left}} }}<!-- | -->{{#if: {{#var:lathe_mode_research}} | {{AltTooltip|[[File:JobIconResearchDirector.png|24px|link=]]|Рецепт становится доступным после исследования определённой технологии.|posX=left}} }}<!-- | ||
-->{{#if: {{#var:lathe_mode_emag}} | {{#if: {{#var:lathe_mode_research}} | <span class=" | -->{{#if: {{#var:lathe_mode_emag}} | {{#if: {{#var:lathe_mode_research}} | <span class="ts-Component-lathe__progression-symbol">↓</span> | }} | }}<!-- | ||
-->{{#if: {{#var:lathe_mode_emag}} | {{AltTooltip|[[File:Emag.png|32px|link=]]|Рецепт становится доступным после взлома с помощью криптографического секвенсора.|posX=left}} }}</div> | -->{{#if: {{#var:lathe_mode_emag}} | {{AltTooltip|[[File:Emag.png|32px|link=]]|Рецепт становится доступным после взлома с помощью криптографического секвенсора.|posX=left}} }}</div> | ||
</div> | </div> | ||
|body = | |body = | ||
<span class=" | <span class="ts-Component-lathe__materials">{{serialization/materials|{{{materials}}}|type=none|replace=<b>\1</b>|value_replace='''{<nowiki/>{#expr: (\1 / 100) * {{#var:materialUseMultiplier|1}}}<nowiki/>}''' ед.}}</span> | ||
<div class=" | <div class="ts-Component-lathe__complete-time">[[Файл:Small_watch.png]] {{serialization/TimeSpan|{{#expr:{{{completetime}}} * {{#var:timeMultiplier|1}}}}}}</div> | ||
|sub-body = | |sub-body = | ||
{{#if: {{#var:lathe}} | <div class=" | {{#if: {{#var:lathe}} | <div class="ts-Component-lathe__method-container">'''{{предмет|{{#var:lathe}}|link=}}'''</div>}} | ||
}}<!-- | }}<!-- | ||
--><templatestyles src=" | --><templatestyles src=" Component/lathe/styles.css" /> | ||