Template:Color box: Difference between revisions

From EarthMC
Jump to navigation Jump to search
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>

Revision as of 08:38, 12 August 2023


Template documentation

Example usage:
{{Color box|aqua}}

Will result in:


{{Color box|lime|EXAMPLE}}

Will result in: EXAMPLE


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

Will result in: EXAMPLE