Template:Colored box: Difference between revisions

From Bondix Wiki
No edit summary
No edit summary
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="color: #000000;
<includeonly>{| class="tpl-colorbox"
    font-size: 1.2em;
    background: #ffc300;
    border: solid #eaecf0;
    border-width: 1px 1px 0.2em;
    padding: 1.25em 1.75em;
    box-shadow: 0 1px 2px 1px rgb(0 0 0 / 2%);"
! ⚠️
! ⚠️
| {{{Text}}}
| {{{Text}}}
|}
|}
</includeonly>
</includeonly>

Revision as of 14:23, 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.