Difference between revisions of "Template:Mapcolor"

From blackwiki
Jump to navigation Jump to search
imported>Yug
(Created page with '<includeonly><div style="font-size: 80%; border:1px solid; width:200px; text-align: center"> <div style="width:80px; background-color:{{{hex}}}; color:{{{col}}}...')
 
imported>Yug
Line 1: Line 1:
 
<includeonly><div style="font-size: 80%; border:1px solid; width:200px; text-align: center">
 
<includeonly><div style="font-size: 80%; border:1px solid; width:200px; text-align: center">
 
     <div style="width:80px; background-color:{{{hex}}}; color:{{{col}}};float:left">{{{hex}}}</div>
 
     <div style="width:80px; background-color:{{{hex}}}; color:{{{col}}};float:left">{{{hex}}}</div>
     <div style="width:120px; background-color:white; float:left">R:{{{r}}} V:{{{v}}} B:{{{b}}}</div>{{clr}}</div></includeonly><noinclude>
+
     <div style="width:120px; background-color:white; float:left">R:{{{r}}} V:{{{v}}} B:{{{b}}}</div>{{clear}}</div></includeonly><noinclude>
 
{{Documentation modèle}}
 
{{Documentation modèle}}
 
;Description : this template allow to display a color with is colometric informations.
 
;Description : this template allow to display a color with is colometric informations.

Revision as of 12:52, 3 March 2008

Template:Documentation modèle

Description 
this template allow to display a color with is colometric informations.
Usage 
{{Mapcolor|r=DDD|v=DDD|b=DDD|hex=#HHHHHH}}
  • DDD : value between 0 and 255 for Red, Green, and Blue (ALL REQUIRED).
  • #HHHHHH : hexadécimale value corresponding to the 3 previous data (REQUIRED).
Example 
{{Mapcolor|r=244|v=226|b=186|hex=#F4E2BA}} produce
#F4E2BA
R:244 V:226 B:186

Note: please, time by time, check on fr:template:Mapcolor if the template have been update.

fr:template:Mapcolor en:template:Mapcolor de:template:Mapcolor es:template:Mapcolor pl:template:Mapcolor ja:template:Mapcolor it:template:Mapcolor nl:template:Mapcolor zh:template:Mapcolor