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

Материал из Space Station 14 Вики
мНет описания правки
Нет описания правки
Строка 2: Строка 2:
style="
style="
margin:{{{margin|12px 0}}};
margin:{{{margin|12px 0}}};
--label-r:{{{r|140}}};
--color:{{{color|var(--bg-color-grey-100)}}};
--label-g:{{{g|160}}};
--background-alpha:{{{background-alpha|20%}}};
--label-b:{{{b|170}}};
--background-alpha:{{{background-alpha|0.1}}};
--border-alpha:{{{border-alpha|0.1}}};
--lightness-threshold:{{{lightness-threshold|0.1}}};
>
>
{{#if:{{{title|}}}|<div class="сolored-frame-text__header">{{Anchor|{{{title}}}}}{{{title}}}</div>|}}
{{#if:{{{title}}}|<div class="сolored-frame-text__header">{{Anchor|{{{title}}}}}{{{title}}}</div>|}}
<div class="сolored-frame-text__content list-reset-margin">{{{content}}}</div>
<div class="сolored-frame-text__content list-reset-margin">{{{content}}}</div>
</div><!--
</div><!--


--><templatestyles src="ColoredTextFrame/styles.css" />
--><templatestyles src="ColoredTextFrame/styles.css" />

Версия от 16:51, 22 июня 2026

{{{title}}}
{{{content}}}