Template:Colored box: Difference between revisions

From Bondix Wiki
(Created page with ".mw-tpl-colorbox { box-sizing: border-box; margin: 0.5em 0.5em 1em 0.5em; border-radius: 0.2em; background: #FFC300; box-shadow: 0 0 0.2em #999999; }")
 
No edit summary
Line 1: Line 1:
.mw-tpl-colorbox {
<noinclude>
box-sizing: border-box;
This is the "colored box" template.
margin: 0.5em 0.5em 1em 0.5em;
It should be called in the following format:
border-radius: 0.2em;
<pre>
background: #FFC300;
{{Text}}
box-shadow: 0 0 0.2em #999999;
</pre>
}
Edit the page to see the template text.
</noinclude>
<includeonly>{| class="wikitable"
! ⚠️
| {{{Text|}}}
|}
</includeonly>

Revision as of 13:59, 15 February 2023

This is the "colored box" template. It should be called in the following format:

{{Text}}

Edit the page to see the template text.