Шаблон:Component/Lathe/wrapper: различия между версиями

Материал из Space Station 14 Вики
м Pok переименовал страницу Шаблон:Component/lathe/wrapper в Шаблон:Component/Lathe/wrapper без оставления перенаправления
Нет описания правки
Строка 5: Строка 5:
<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}}}}
{{#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>
{{#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}} }}<!--
Строка 21: Строка 21:
}}<!--
}}<!--


--><templatestyles src="Component/lathe/styles.css" />
--><templatestyles src="Component/{{subst:ucfirst:l}}athe/styles.css" />

Версия от 07:36, 23 июня 2026

[[Файл:{{{result}}}.png|32px|link=Не найдено]] Не найдено

0 сек.

Неверно задано название страницы в атрибуте src тега TemplateStyles.