Template:Color box: Difference between revisions

m Fixed a bug
updated the documentation
Line 2: Line 2:


<noinclude>
<noinclude>
<div style="background: #ECFCF4;border: 1px solid #A2A9B1;text-overflow: ellipsis;">
<div style="margin-left:15px;margin-bottom:16px;text-overflow: ellipsis;">
== Template documentation ==
Example usage:<pre>
Example usage:<pre>
{{Color box|aqua}}
{{Color box|aqua}}
Line 8: Line 11:
{{Color box|aqua}}
{{Color box|aqua}}
<pre>
<pre>
{{Color box|orange|EXAMPLE|white}}
{{Color box|lime|EXAMPLE}}
</pre>
</pre>
Will result in:
Will result in:
{{Color box|lime|EXAMPLE}}
{{Color box|lime|EXAMPLE}}
<pre>
<pre>
{{Color box|lime|EXAMPLE}}
{{Color box|orange|EXAMPLE|white}}
</pre>
</pre>
Will result in:
Will result in:
{{Color box|orange|EXAMPLE|white}}
{{Color box|orange|EXAMPLE|white}}
</div>
</div>
</noinclude>
</noinclude>