Шаблон:Prototypes/Машина/Станок/base: различия между версиями

Материал из Space Station 14 Вики
мНет описания правки
 
(не показаны 2 промежуточные версии этого же участника)
Строка 3: Строка 3:
|header =
|header =
<div class="станок__header">
<div class="станок__header">
<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: {{{info|}}}|<div class="станок__info-text">{{{info}}}</div>}}</div>
<div class="станок__product-and-info-text">
<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:{{{info|}}}|<div class="станок__info-text">{{{info}}}</div>}}</div>
<div class="станок__info-icons"><!--
<div class="станок__info-icons"><!--
-->{{#if: {{{mode-research|}}} | {{AltTooltip|[[File:JobIconResearchDirector.png|24px|link=]]|Рецепт становится доступным после исследования определённой технологии.|posX=left}} }}<!--
-->{{#if: {{{mode-research|}}} | {{AltTooltip|[[File:JobIconResearchDirector.png|24px|link=]]|Рецепт становится доступным после исследования определённой технологии.|posX=left}} }}<!--
Строка 9: Строка 11:
-->{{#if: {{{mode-emag|}}}    | {{AltTooltip|[[File:Emag.png|32px|link=]]|Рецепт становится доступным после взлома с помощью криптографического секвенсора.|posX=left}} }}</div>
-->{{#if: {{{mode-emag|}}}    | {{AltTooltip|[[File:Emag.png|32px|link=]]|Рецепт становится доступным после взлома с помощью криптографического секвенсора.|posX=left}} }}</div>
</div>
</div>
|body  =
|body  =
<div class="станок__materials">{{{materials}}}</div>
<div class="станок__materials">{{{materials}}}</div>
<div class="станок__complete-time">[[Файл:Small_watch.png]] {{{complete-time|1 сек.}}}</div>
<div class="станок__complete-time">[[Файл:Small_watch.png]] {{{complete-time|1 сек.}}}</div>
|sub-body  =
{{#if: {{{method-container|}}} | <div class="станок__method-container">{{#invoke:Entity Lookup|createimagetooltip|File:{{{method-container|PortableFlasher}}}.png|{{{method-container|PortableFlasher}}}|Мета=32x32px,link=}} '''[[{{#invoke:Entity Lookup|getname|{{{method-container|PortableFlasher}}}}}|{{#invoke:Entity Lookup|getname|{{{method-container|PortableFlasher}}}}}]]'''</div>}}
}}<!--
}}<!--


-->{{#css:
--><templatestyles src="Prototypes/Машина/Станок/styles.css" />
.станок__header {
    display: grid;
    grid-template-columns: 1fr 0fr;
    gap: 6px;
}
 
.станок__product-and-info-text {
    display: grid;
    gap: 4px;
}
 
.станок__product-and-info-text, .станок__info-icons {
    padding: 6px;
}
 
.станок__product {
    font-weight: bold;
}
 
.станок__info-text {
    font-size: 14px;
    display: flex;
    align-items: center;
}
 
.станок__info-icons {   
    display: flex;
    flex-direction: column;
    align-items: center;
}
 
.станок__info-icons > * {
    width: 32px;
    height: 32px;
    text-align: center;
}
 
.станок__progression-symbol {
    color: gray;
    font-size: small;
    height: 0rem;
    line-height: 0;
    margin: 2px 0px;
}
 
.станок__materials {
    display: grid;
    gap: 4px;
}
 
.станок__complete-time {
    position: absolute;
    bottom: 4px;
    right: 4px;
    font-size: small;
    font-size: 12px;
}
 
.станок__mode-emag.gradient-block {
    border: 2px dashed hsla(0, 75%, 50%, 0.5);
}
 
.gradient-block__header {
    padding: 0 !important;
}
 
.станок__product-and-info-text:empty {
    display: none;
}
 
.станок__info-icons:empty {
    display: none;
}
}}

Текущая версия от 04:16, 15 апреля 2025

Переносная вспышка
Сверхъяркая лампочка с дистанционным триггером, полезная для создания зоны только для СБ.
1 Переносная вспышка
{{{materials}}}
1 сек.