Шаблон:ColoredTextFrame: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| (не показано 13 промежуточных версий этого же участника) | |||
| Строка 1: | Строка 1: | ||
<div class="frame-text" | <includeonly><div class="сolored-frame-text" | ||
style=" | style=" | ||
margin:{{{margin|12px 0}}}; | margin:{{{margin|12px 0}}}; | ||
-- | --color:{{{color|var(--bg-color-grey-100)}}}; | ||
-- | --background-alpha:{{{bg-alpha|25%}}}; | ||
-- | |||
--background-alpha:{{{ | |||
> | > | ||
<div class="frame-text__header">{{{title}}}</div> | {{#if:{{{title|}}}|<div class="сolored-frame-text__header">{{Anchor|{{{title}}}}}{{{title}}}</div>|}} | ||
<div class="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" /></includeonly><noinclude>{{doc}}</noinclude> | ||
}} | |||