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

Материал из Space Station 14 Вики
м Cнял защиту с «Шаблон:Chem Recipe Component»
Нет описания правки
 
(не показаны 3 промежуточные версии 2 участников)
Строка 1: Строка 1:
<div style="width: 8em; display: flex; flex-direction: rows; background: #27272e; padding: 0 0.5em; margin-top: 0; margin-bottom: 0;"><div class="recipeimg" style="width: 40px">[[File:Beaker.png|32px]]</div><div style="text-align: right; display: inline-block; width: 100%">[[#chem_{{{reagent}}}|'''{{#invoke:Chemistry Lookup|readscalar|{{{reagent}}}|name}} [{{{amount|1}}}]''']]</div></div>
 
<div style="flex-basis:12em;flex-grow:1;min-width:24%;margin:3px;"><span style="display: flex;height: 100%;box-sizing: border-box;">{{LinkСard
| SideStyle = 1
| background-color = #cbcbff0a
| image-full = {{#if:{{{image|}}}|[[{{{image}}}]]|'''?'''}}
| name = [[#chem_{{{reagent}}}|'''{{#invoke:Chemistry Lookup|readscalar|{{{reagent}}}|name}} [{{{amount|1}}}]''']]
}}</span></div>

Текущая версия от 18:07, 17 марта 2025