Difference between revisions of "Template:Mapcolor"
Jump to navigation
Jump to search
imported>Addbot m (Bot: Migrating interwiki links, now provided by Wikidata on d:q14334375) |
imported>Sardanaphalus (template position, category) |
||
| 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>{{clear}}</div></includeonly><noinclude> | + | <div style="width:120px; background-color:white; float:left">R:{{{r}}} V:{{{v}}} B:{{{b}}}</div>{{clear}}</div></includeonly><noinclude>{{Commons|Template:Mapcolor}} |
;Description : this template allow to display a color with is colometric informations. | ;Description : this template allow to display a color with is colometric informations. | ||
| Line 13: | Line 13: | ||
Note: please, time by time, check on '''[[:fr:Modèle:Couleur]]''' if the template have been update. | Note: please, time by time, check on '''[[:fr:Modèle:Couleur]]''' if the template have been update. | ||
| − | + | [[Category:Color templates]] | |
| − | + | </noinclude> | |
| − | |||
| − | |||
| − | [[Category: | ||
Latest revision as of 21:50, 16 November 2014
- 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:Modèle:Couleur if the template have been update.