Template:Mapcolor: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
m Using English in English Wikipedia |
||
(13 intermediate revisions by 10 users not shown) | |||
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}}} |
<div style="width:120px; background-color:white; float:left">R:{{{r}}} G:{{{g|{{{v}}}}}} B:{{{b}}}</div>{{clear}}</div></includeonly><noinclude>{{Commons|Template:Mapcolor}} |
||
{{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. |
||
;Usage : <code><nowiki>{{Mapcolor|r=DDD| |
;Usage : <code><nowiki>{{Mapcolor|r=DDD|g=DDD|b=DDD|hex=#HHHHHH}}</nowiki></code> |
||
:* DDD : value between 0 and 255 for Red, Green, and Blue (ALL REQUIRED). |
:* DDD : value between 0 and 255 for Red, Green, and Blue (ALL REQUIRED). |
||
:* #HHHHHH : hexadécimale value corresponding to the 3 previous data (REQUIRED). |
:* #HHHHHH : hexadécimale value corresponding to the 3 previous data (REQUIRED). |
||
;Example : <code><nowiki>{{Mapcolor|r=244| |
;Example : <code><nowiki>{{Mapcolor|r=244|g=226|b=186|hex=#F4E2BA}}</nowiki></code> produce |
||
{{Mapcolor|r=244| |
{{Mapcolor|r=244|g=226|b=186|hex=#F4E2BA}} |
||
Note: please, time by time, check on '''[[:fr: |
Note: please, time by time, check on '''[[:fr:Modèle:Cartecouleur]]''' if the template have been update. |
||
[[Category:Color templates]] |
|||
[[fr:template:Mapcolor]] |
|||
[[commons:template:Mapcolor]] |
|||
[[de:template:Mapcolor]] |
|||
[[es:template:Mapcolor]] |
|||
[[pl:template:Mapcolor]] |
|||
[[ja:template:Mapcolor]] |
|||
[[it:template:Mapcolor]] |
|||
[[nl:template:Mapcolor]] |
|||
[[zh:template:Mapcolor]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 12:25, 11 December 2023
Wikimedia Commons has media related to Template:Mapcolor.
- Description
- this template allow to display a color with is colometric informations.
- Usage
{{Mapcolor|r=DDD|g=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|g=226|b=186|hex=#F4E2BA}}
produce
#F4E2BA
R:244 G:226 B:186
Note: please, time by time, check on fr:Modèle:Cartecouleur if the template have been update.