Difference between revisions of "Template:Color"

From Synfig Studio :: Documentation
Jump to: navigation, search
(Created page with "{{#if: {{{1}}} | {{#if: {{{2}}} | <table style="width:18px; height:16px; linear-gradient(45deg, {{{1}}} 0%, {{{2}}} 100%);" border="0"><tr><td> </td></tr></table>...")
 
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>
+
     | {{{1}}} - {{{2}}}
     | <table style="width:18px; height:16px; background: {{{1}}};" border="0"><tr><td>&nbsp;</td></tr></table>
+
     | jenom {{{1}}}
 
   }}
 
   }}
   | <table style="width:18px; height:16px;" border="0"><tr><td>&nbsp;</td></tr></table>
+
   | nic
 
}}
 
}}

Revision as of 18:05, 1 March 2017

{{{1}}} - {{{2}}}