Шаблон:FlatCardWithHeader: различия между версиями
Материал из Space Station 14 Вики
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) м Замена текста — «--theme-bg-color-300» на «--theme-bg-color-250» |
||
| (не показано 16 промежуточных версий этого же участника) | |||
| Строка 1: | Строка 1: | ||
<div class="flat-card-with-header" style=" | <div class="flat-card-with-header" style=" | ||
--bg-color: {{{background-color|var(--theme-bg-color-250)}}}; | |||
margin:{{{margin|16px 0px}}}; | |||
"> | |||
{{#if:{{{title|}}}| | {{#if:{{{title|}}}| | ||
<div class="flat-card-with-header__header" style=" | <div class="flat-card-with-header__header" style="{{#if:{{{picture|}}}||justify-content:center}}> | ||
{{#if:{{{picture|}}}|<div class="flat-card-with-header__header-img">[[файл:{{{picture|BikeHorn.png}}}|{{{pixel|32x32px}}}|link=]]</div>}} | {{#if:{{{picture|}}}|<div class="flat-card-with-header__header-img">[[файл:{{{picture|BikeHorn.png}}}|{{{pixel|32x32px}}}|link=]]</div>}} | ||
<div style="margin-left:4px;">'''{{{title}}}'''</div> | <div style="margin-left:4px;">'''{{{title}}}'''</div> | ||
| Строка 8: | Строка 11: | ||
<div class="flat-card-with-header__content no-margin-edges" style="padding:{{{padding|8px}}};{{{style}}}>{{{content}}}</div></div><!-- | <div class="flat-card-with-header__content no-margin-edges" style="padding:{{{padding|8px}}};{{{style}}}>{{{content}}}</div></div><!-- | ||
--> | --><templatestyles src="FlatCardWithHeader/styles.css" /> | ||
Текущая версия от 12:57, 12 мая 2025
{{{content}}}