Template:Colored box: Difference between revisions

From Bondix Wiki
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 3: Line 3:
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{Text}}
{{Colored_box|Text=The text you need in a box.}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude>
</noinclude>
<includeonly>{| class="wikitable" style="box-sizing: border-box;
<includeonly>{| class="mw-tpl-colorbox"
margin: 0.5em 0.5em 1em 0.5em;
! ⚠️
border-radius: 0.2em;
background: #FFC300;
box-shadow: 0 0 0.2em #999999;"
! ⚠️
| {{{Text}}}
| {{{Text}}}
|}
|}
</includeonly>
</includeonly>

Latest revision as of 15:42, 15 February 2023

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

{{Colored_box|Text=The text you need in a box.}}

Edit the page to see the template text.