Difference between revisions of "Template:Color"

From RimWorld Wiki
Jump to navigation Jump to search
m (Undo revision 148859 by JuliaCat (talk))
Tag: Undo
m (replace sandbox with doc)
Line 28: Line 28:
  
 
Draw the square
 
Draw the square
--> <div style="width:{{{size|16px}}};height:{{{size|16px}}};background-color:rgba({{#var:red}},{{#var:green}},{{#var:blue}},{{#if:{{#var:alpha}}|{{#var:alpha}}|255}});display:inline-block;border:1px solid black;vertical-align:middle;"></div><span></includeonly><!-- FIXME: Add doc, remove sandbox --><noinclude>{{Template:Color/sandbox}}</noinclude>
+
--> <div style="width:{{{size|16px}}};height:{{{size|16px}}};background-color:rgba({{#var:red}},{{#var:green}},{{#var:blue}},{{#if:{{#var:alpha}}|{{#var:alpha}}|255}});display:inline-block;border:1px solid black;vertical-align:middle;"></div><span></includeonly>

Revision as of 19:05, 8 August 2024