Template:Mapcolor
From Wikimedia Commons, the free media repository
[edit]
Documentation
(this part of the documentation is only available in some languages)
This template allow to display a color with is colometric informations.
Usage
{{Mapcolor|r=|v=|b=|hex=}}
(this part of the documentation is only available in some languages)
- 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.
Parameters
| Parameter name | Description (this part of the documentation is only available in some languages) | Default value | required or optional? |
|---|---|---|---|
| r | value between 0 and 255 for Red (DDD) | empty | required |
| v | value between 0 and 255 for Green (DDD) | empty | required |
| b | value between 0 and 255 for Blue (DDD) | empty | required |
| hex | hexadecimal value corresponding to the 3 previous data (#HHHHHH) | empty | required |
Additional information
The template is intended to be used in the following namespaces:
- all namespaces
The template is intended to be used by the following user groups: