Difference between revisions of "Template:Color"

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

Revision as of 18:57, 1 March 2017