Template:Color panel: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Created page with "<includeonly><div class="color-panel">{{#if:{{{3|}}} | {{{1}}}: <span style="background-color:#{{{2}}}; display:inline-block; width:80px;"> </span> <span style="backgro...")
 
No edit summary
 
Line 1: Line 1:
<includeonly><div class="color-panel">{{#if:{{{3|}}}
<includeonly><div class="color-panel">{{#if:{{{3|}}}
   | {{{1}}}: <span style="background-color:#{{{2}}}; display:inline-block; width:80px;">&nbsp;</span> <span style="background-color:#{{{3}}}; display:inline-block; width:80px;">&nbsp;</span>
   | ''{{{1}}}'': <span style="background-color:#{{{2}}}; display:inline-block; width:80px;">&nbsp;</span> <span style="background-color:#{{{3}}}; display:inline-block; width:80px;">&nbsp;</span>
   | {{#if:{{{2|}}}
   | {{#if:{{{2|}}}
       | {{#if:{{hexnum|{{{1}}}|digits=6}}
       | {{#if:{{hexnum|{{{1}}}|digits=6}}
           | {{PAGENAME}}: <span style="background-color:#{{{1}}}; display:inline-block; width:80px;">&nbsp;</span> <span style="background-color:#{{{2}}}; display:inline-block; width:80px;">&nbsp;</span>
           | ''{{PAGENAME}}'': <span style="background-color:#{{{1}}}; display:inline-block; width:80px;">&nbsp;</span> <span style="background-color:#{{{2}}}; display:inline-block; width:80px;">&nbsp;</span>
           | {{{1}}}: <span style="background-color:#{{{2}}}; display:inline-block; width:80px;">&nbsp;</span>
           | ''{{{1}}}'': <span style="background-color:#{{{2}}}; display:inline-block; width:80px;">&nbsp;</span>
         }}
         }}
       | {{PAGENAME}}: <span style="background-color:#{{{1}}}; display:inline-block; width:80px;">&nbsp;</span>
       | ''{{PAGENAME}}'': <span style="background-color:#{{{1}}}; display:inline-block; width:80px;">&nbsp;</span>
     }}
     }}
}}</div></includeonly><noinclude>{{color panel|red|FF0000}}{{documentation}}</noinclude>
}}</div></includeonly><noinclude>{{color panel|red|FF0000}}{{documentation}}</noinclude>

Latest revision as of 17:16, 4 September 2021

red: