Difference between revisions of "Template:Color"

From Synfig Studio :: Documentation
Jump to: navigation, search
m
m
Line 1: Line 1:
 
{{#if:{{{1|}}}  
 
{{#if:{{{1|}}}  
 
   |{{#if:{{{2|}}}  
 
   |{{#if:{{{2|}}}  
     | <table style="width:18px; height:16px; linear-gradient(45deg, #{{{1}}} 0%, #{{{2}}} 100%);" border="0"><tr><td>&nbsp;</td></tr></table>
+
     | <table style="width:18px; height:16px; background: linear-gradient(45deg, #{{{1}}} 0%, #{{{2}}} 100%);" border="0"><tr><td>&nbsp;</td></tr></table>
 
     | <table style="width:18px; height:16px; background: #{{{1}}};" border="0"><tr><td>&nbsp;</td></tr></table>
 
     | <table style="width:18px; height:16px; background: #{{{1}}};" border="0"><tr><td>&nbsp;</td></tr></table>
 
     }}
 
     }}

Revision as of 19:05, 1 March 2017