Modèle:MesCouleurs

 

Un article de Livingstone.

(Différences entre les versions)
Version actuelle (3 mai 2016 à 12:44) (modifier) (défaire)
 
(Une révision intermédiaire masquée)
Ligne 4 : Ligne 4 :
{{ #ifeq: {{{type}}}|light | ccc |
{{ #ifeq: {{{type}}}|light | ccc |
{{ #ifeq: {{{type}}}|dark | 666 | 999 }}
{{ #ifeq: {{{type}}}|dark | 666 | 999 }}
-
<!--
+
 
{{ #switch: {{{group|}}}
{{ #switch: {{{group|}}}
Ligne 56 : Ligne 56 :
}}
}}
}}<noinclude> &lArr;
}}<noinclude> &lArr;
-
[[Catégorie:Modèle:Chartes graphiques]]</noinclude-->
+
[[Catégorie:Chartes graphiques]]</noinclude>

Version actuelle

{{ #if: {{{type}}} | {{ #ifeq: {{{type}}}|bg | fff | {{ #ifeq: {{{type}}}|fg | 000 | {{ #ifeq: {{{type}}}|light | ccc | {{ #ifeq: {{{type}}}|dark | 666 | 999 }}


{{ #switch: | rouge =fed | jaune =efd | vert =dfe | cyan =def | bleu =edf | magenta =fde | #default =fff }} | fg = {{ #switch: | rouge =630 | jaune =360 | vert =063 | cyan =036 | bleu =306 | magenta =603 | #default =000 }} | light = {{ #switch: | rouge =fc9 | jaune =cf9 | vert =9fc | cyan =9cf | bleu =c9f | magenta =f9c | #default =fff }} | dark = {{ #switch: | rouge =c60 | jaune =6c0 | vert =0c6 | cyan =06c | bleu =60c | magenta =c06 | #default =666 }} | #default = {{ #switch: | rouge =f00 | jaune =ff0 | vert =0f0 | cyan =f0f | bleu =00f | magenta =f0f | #default =999 }} }} ⇐