Template:Color box: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{| style="width:20px;height:19px;border: 1px solid black;background: {{{1|white}}};" | style="background: {{{1|white}}};" | |} <noinclude> Example usage:<pre> {{Color box|aqua}} </pre> Will result in: {{Color box|aqua}} </noinclude>") |
No edit summary |
||
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> | |||
<noinclude> | <noinclude> | ||
Line 9: | Line 7: | ||
Will result in: | Will result in: | ||
{{Color box|aqua}} | {{Color box|aqua}} | ||
<pre> | |||
{{Color box|orange|EXAMPLE|white}} | |||
</pre> | |||
Will result in: | |||
{{Color box|lime|EXAMPLE}} | |||
<pre> | |||
{{Color box|lime|EXAMPLE}} | |||
</pre> | |||
Will result in: | |||
{{Color box|orange|EXAMPLE|white}} | |||
</noinclude> | </noinclude> |
Revision as of 08:30, 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