Vorlage:Colored box: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Admin (Diskussion | Beiträge) K (1 Version importiert) |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<div | <div style="box-shadow: 0 0 0.2em #999999; border-radius: 0.2em; margin: 0.5em 0.5em 1em 0.5em; background: {{{background-content-color|#f8f9fa}}}; {{{style|}}};"> | ||
<!-- CSS for icon and background --> | |||
<div style="background: {{{background-title-color|#eaecf0}}}; border-radius: 0.2em 0.2em 0 0; padding: 0.5em 1em 0.5em 1em;; display: flex; align-items: center;"> | |||
{{#if:{{{icon|}}}|<span style="opacity: 0.8; display: flex; align-items: center; margin-right: 0.5em; line-height: 20px;">[[File:{{{icon}}}|20px|left|link=|alt=]]</span> }} | |||
{{{style|}}} | <div style="color: {{{title-color|#000000}}}; font-weight: bold; line-height: 20px;">{{{title}}}</div> | ||
"> | <!-- Link div --> | ||
--><div | {{#if:{{{link|}}}|<div style="float: right; font-size: 0.7em;">[[{{{link}}}|<span style="color: {{{link-color|{{{title-color|#000000}}}}}};">{{{Link-text|{{{link-text|Link}}}}}}</span>]]</div>}} | ||
</div> | |||
<!-- CSS for the content --> | |||
<div style="padding: 1em; padding-left: 1em;"> | |||
{{{content}}}{{clr}} | |||
</div> | |||
-->{{#if: | |||
|<div | |||
</div> | |||
</div> | </div> | ||
<noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Aktuelle Version vom 2. März 2024, 19:19 Uhr
{{#if:|[[File:{{{icon}}}|20px|left|link=|alt=]] }}
{{{title}}}
{{#if:|[[{{{link}}}|Link]]
}}
{{{content}}}Vorlage:Clr