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; background: linear-gradient(45deg, #{{{1}}} 0%, #{{{2}}} 100%);" border="0"><tr><td>&nbsp;</td></tr></table>
+
     | <table style="width:95%; height:16px; background: linear-gradient(90deg, #{{{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:95%; height:16px; background: #{{{1}}};" border="0"><tr><td>&nbsp;</td></tr></table>
 
     }}
 
     }}
 
   |{{#if:{{{2|}}}  
 
   |{{#if:{{{2|}}}  
     | <table style="width:18px; height:16px; background: #{{{2}}};" border="0"><tr><td>&nbsp;</td></tr></table>
+
     | <table style="width:95%; height:16px; background: #{{{2}}};" border="0"><tr><td>&nbsp;</td></tr></table>
     | <table style="width:18px; height:16px;" border="0"><tr><td>&nbsp;</td></tr></table>
+
     | <table style="width:95%; height:16px;" border="0"><tr><td>&nbsp;</td></tr></table>
 
     }}
 
     }}
 
}}
 
}}

Revision as of 19:06, 1 March 2017