Шаблон:Prototype/reaction/wrapper: различия между версиями
Материал из Space Station 14 Вики
Pok (обсуждение | вклад) Нет описания правки |
Pok (обсуждение | вклад) м Pok переименовал страницу Шаблон:Prototype/reaction в Шаблон:Prototype/reaction/wrapper |
||
| (не показаны 4 промежуточные версии этого же участника) | |||
| Строка 1: | Строка 1: | ||
{{ | {{GradientBlock | ||
{{#invoke:Сущность|jsonList | |margin = 0 | ||
|{{{requiredMixerCategories|["DummyMix"]}}} | |header = {{#invoke:Сущность|jsonList | ||
|type = none | |{{{requiredMixerCategories|["DummyMix"]}}} | ||
|value_replace = <nowiki>{{serialization/mixingCategory|\1}}</nowiki> | |type = none | ||
|value_replace = <nowiki>{{serialization/mixingCategory|\1}}</nowiki> | |||
}} | }} | ||
|body = | |||
<div style=" | <div style=" | ||
display: grid; | display: grid; | ||
| Строка 15: | Строка 17: | ||
gap: 0 4px; | gap: 0 4px; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
justify-content: space-evenly; | |||
">{{#invoke:Сущность|json|{{{reactants}}}|serialization/reactant}}</div> | ">{{#invoke:Сущность|json|{{{reactants}}}|serialization/reactant}}</div> | ||
<div style="font-size:20px; line-height:0; text-align:center;">↓</div> | <div style="font-size:20px; line-height:0; text-align:center;">↓</div> | ||
| Строка 21: | Строка 24: | ||
gap: 0 4px; | gap: 0 4px; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
justify-content: space-evenly; | |||
">{{#if: {{{products|}}} | | ">{{#if: {{{products|}}} | | ||
{{#invoke:Сущность|jsonList | {{#invoke:Сущность|jsonList | ||
| Строка 29: | Строка 33: | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{effects|}}} | {{#invoke:Сущность|json|{{{effects}}}|serialization/EntityEffect}} }}</div> | -->{{#if: {{{effects|}}} | {{#invoke:Сущность|json|{{{effects}}}|{{#tag:nowiki|serialization/EntityEffect{{!}}prefix=}}}} }}</div> | ||
</div> | </div> | ||
}} | }} | ||