Difference between revisions of "Template:Colort/ColorShort"

From blackwiki
Jump to navigation Jump to search
imported>Weegaweek
(better tooltip with line breaks and capitalised RGB and HSV labels)
imported>Weegaweek
(changed cursor)
Line 4: Line 4:
 
           padding:5px;margin:auto;
 
           padding:5px;margin:auto;
 
           background-color:rgb({{{r|0}}},{{{g|0}}},{{{b|0}}});
 
           background-color:rgb({{{r|0}}},{{{g|0}}},{{{b|0}}});
           border: solid 1px #ccc;text-align:right;">
+
           border:solid 1px #ccc;text-align:right;cursor:help;">
 
   <span title="Web-safe" style="font-weight:bold; font-size:100%; color:#f00;">{{#ifeq:{{{web_safe|}}}|Yes|<span class="Unicode">&#x2713;</span>| }}</span>
 
   <span title="Web-safe" style="font-weight:bold; font-size:100%; color:#f00;">{{#ifeq:{{{web_safe|}}}|Yes|<span class="Unicode">&#x2713;</span>| }}</span>
 
</p>
 
</p>

Revision as of 18:16, 30 November 2018

<p title="HSV (Expression error: Unrecognized punctuation character "[".° Expression error: Unrecognized punctuation character "[".% Expression error: Unrecognized punctuation character "[".%) RGB (0 0 0) #000000 "

  style="width:10em;height:1em;
         padding:5px;margin:auto;
         background-color:rgb(0,0,0);
         border:solid 1px #ccc;text-align:right;cursor:help;">
  

{{{name}}}