More actions
Creating template |
m Change color to design-token. |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div style="margin: 1em auto; border: | <div style=" | ||
<noinclude>{{documentation}}</noinclude> | display: flex; | ||
justify-content: space-between; | |||
column-gap: 0.5em; | |||
align-items: center; | |||
margin: 1em auto; | |||
border: 1.5px solid {{{border|{{{color|var(--color-error)}}}}}}; | |||
border-radius: 8px; | |||
padding: 0.5em; | |||
width: 85%; | |||
background-color: {{{color|transparent}}}; | |||
color: {{{text|inherit}}}; | |||
"> | |||
<div> {{#if: {{{icon|}}} |{{{icon}}} }} </div> | |||
<div style=" | |||
flex-basis: 100%; | |||
text-align: {{#if: {{{align|}}} | {{{align}}} | center }}; | |||
"> | |||
{{#if: {{{1|}}} | {{{1}}} | {{Co|var(--color-error)|Content is missing!}} }} </div> | |||
<div> {{#ifeq: {{{icon-both|}}} | yes | {{{icon}}} }} </div> | |||
</div> | |||
<noinclude> | |||
{{documentation}} | |||
</noinclude> | |||