Template:Colorsquare: Difference between revisions

From Songs of Syx Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<div class="floatleft" style="background-color: {{{1}}}; height: 12px; width: 12px; margin-top: 2.5px; border: 2px solid {{{2}}};">&nbsp;</div>
<div class="floatleft" style="background-color: {{{1}}}; height: 12px; width: 12px; margin-top: 2.5px; border: 2px solid {{{2}}};">&nbsp;</div>
<noinclude><br /><br />The syntax of this template is as follows: <code><nowiki>{{colorsquare|box color|border color}}</nowiki></code>
<noinclude><br /><br />This template makes a little colored square, where the inside of the box as well as it's border can be customized with any color.<br />The syntax of this template is as follows: <code><nowiki>{{colorsquare|box color|border color}}</nowiki></code>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</br /><br /></noinclude>
 
<noinclude>{{colorsquare|red|orange}}Example 1 -
{{colorsquare|black|white}}Example 2 -
{{colorsquare|black|white}}Example 3 -</noinclude>

Revision as of 16:41, 2 July 2021

 



This template makes a little colored square, where the inside of the box as well as it's border can be customized with any color.
The syntax of this template is as follows: {{colorsquare|box color|border color}}

 


Example 1 -

 


Example 2 -

 


Example 3 -