Шаблон:Component/lathe/wrapper: различия между версиями
Pok (обсуждение | вклад) Нет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 4: | Строка 4: | ||
<div class="ts-Component-lathe__header"> | <div class="ts-Component-lathe__header"> | ||
<div class="ts-Component-lathe__product-and-info-text"> | <div class="ts-Component-lathe__product-and-info-text"> | ||
<div class="ts-Component-lathe__product">{{#if: {{{resultReagents|}}} | {{serialization/reagent|{{{resultReagents}}}|sep=<nowiki> </nowiki>|prefix=}} | {{предмет|link=|{{{result}}}}} }} </div> | <div class="ts-Component-lathe__product">{{#if: {{{resultReagents|}}} | {{serialization/reagent|{{{resultReagents}}}|sep=<nowiki> </nowiki>|prefix=}} | {{предмет|link=|{{{result}}}}} }}</div> | ||
{{#vardefine:technology|{{#invoke:GetField|searchId|{{{id}}}|prototype/technology.json|recipeUnlocks}}}} | {{#vardefine:technology|{{#invoke:GetField|searchId|{{{id}}}|prototype/technology.json|recipeUnlocks}}}} | ||
<div class="ts-Component-lathe__info-text"> | {{#if: {{#var:technology}} | <div class="ts-Component-lathe__info-text">{{#invoke:GetField|jsonList|type=enum|{{#var:technology}}|value_replace=<nowiki>[[Файл:{{#invoke:GetField|get|\1|prototype/technology.json|discipline}}.png|16x16px|link=]] [[Исследования|{{loc|режим=GetRawString|{{#invoke:GetField|get|\1|prototype/technology.json|name}}}}]] уровень: {{#invoke:GetField|get|\1|prototype/technology.json|tier}}</nowiki>}}</div> }}</div> | ||
<div class="ts-Component-lathe__info-icons"><!-- | <div class="ts-Component-lathe__info-icons"><!-- | ||
-->{{#if: {{#var:technology}} | {{AltTooltip|[[File:JobIconResearchDirector.png|24px|link=]]|Рецепт становится доступным после исследования определённой технологии.|posX=left}} }}<!-- | -->{{#if: {{#var:technology}} | {{AltTooltip|[[File:JobIconResearchDirector.png|24px|link=]]|Рецепт становится доступным после исследования определённой технологии.|posX=left}} }}<!-- | ||