Шаблон:Prototypes/Машина/Станок/base: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 3: | Строка 3: | ||
|header = | |header = | ||
<div class="станок__header"> | <div class="станок__header"> | ||
<div class="станок__product-and-info-text"> | <div class="станок__product-and-info-text">{{#if: {{{|no-product}}} | | <div class="станок__product">{{#if: {{{mode-chem|}}} | {{#invoke:Entity Lookup|createimagetooltip|File:LargeBeaker.png|LargeBeaker|Мета=32x32px,link=}} {{{amount|1}}} {{{product|Plant-B-gone}}} | {{#invoke:Entity Lookup|createimagetooltip|File:{{{product|PortableFlasher}}}.png|{{{product|PortableFlasher}}}|Мета=32x32px,link=}} {{{amount|1}}} {{#invoke:Entity Lookup|getname|{{{product|PortableFlasher}}}}} }} </div> }} | ||
{{#if: {{{no-product | |||
{{#if: {{{info|}}}|<div class="станок__info-text">{{{info}}}</div>}} | {{#if: {{{info|}}}|<div class="станок__info-text">{{{info}}}</div>}} | ||
</div> | </div> | ||
| Строка 28: | Строка 27: | ||
display: grid; | display: grid; | ||
gap: 4px; | gap: 4px; | ||
padding: 6px; | |||
} | |||
.станок__product-and-info-text:empty { | |||
display: none; | |||
} | |||
.gradient-block__header { | |||
padding: 0; | |||
} | } | ||