Template:Color box: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
m (Fixed a bug)
Line 1: Line 1:
<span style="{{#if:{{{2|}}}|width:auto;|width:18px;}}height:17px;border: 1px solid black;background: {{{1|white}}};margin: 0;display: inline-block; color:{{{3|black}}};">{{{2|}}}</span>
<span style="{{#if:{{{2|}}}|width:auto;|width:18px;}}height:17px;border: 1px solid black;background: {{{1|white}}};margin: 0;display: inline-block; color:{{{3|black}}};">{{{2|}}}</span>


<noinclude>
<noinclude>

Revision as of 08:31, 12 August 2023


Example usage:

{{Color box|aqua}}

Will result in:


{{Color box|orange|EXAMPLE|white}}

Will result in: EXAMPLE


{{Color box|lime|EXAMPLE}}

Will result in: EXAMPLE