Шаблон:Prototype/reaction: различия между версиями
Материал из Space Station 14 Вики
Pok (обсуждение | вклад) Новая страница: «{{#invoke:Сущность|json|{{{reactants}}}|serialization/reactant}}» |
Pok (обсуждение | вклад) Нет описания правки |
||
| (не показаны 3 промежуточные версии этого же участника) | |||
| Строка 1: | Строка 1: | ||
{{#invoke:Сущность|json|{{{reactants}}}|serialization/reactant}} | {{ColoredTextFrame/ColorPalette|Неон|content= | ||
[[Файл:LargeBeaker.png|32px]] {{#invoke:Сущность|jsonList | |||
|{{{requiredMixerCategories|["DummyMix"]}}} | |||
|type = none | |||
|value_replace = <nowiki>{{ucfirst:{{loc|режим=GetRawString|{{#invoke:GetField|get|\1|prototype/mixingCategory.json|verbText}}}}}}</nowiki> | |||
}} | |||
<div style=" | |||
display: grid; | |||
gap: 8px; | |||
grid-template-columns: auto auto auto; | |||
align-items: center; | |||
justify-items: start; | |||
width: max-content; | |||
"> | |||
<div style=" | |||
display: flex; | |||
flex-direction: column; | |||
">{{#invoke:Сущность|json|{{{reactants}}}|serialization/reactant}}</div> | |||
<div style="font-size:20px; line-height:0;">→</div> | |||
<div>{{#ifeq: {{{products|}}} | {} | | | |||
{{#invoke:Сущность|jsonList | |||
|{{{products}}} | |||
|type = none | |||
|key_replace = <span></span> | |||
|value_replace = <nowiki></nowiki><span><nowiki>[[Химия#chem_\2|{{ucfirst:{{loc|режим=GetRawString|{{#invoke:GetField|get|\2|prototype/reagent.json|name}}}}}}]] \1</nowiki></span><nowiki></nowiki> | |||
}}</div> | |||
}} | |||
</div>}} | |||