« Modèle:Style » : différence entre les versions
Aller à la navigation
Aller à la recherche
(+fullyactive +partiallyactive +inactive) |
Aucun résumé des modifications |
||
(3 versions intermédiaires par 3 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<onlyinclude>{{#switch:{{{1}}} | <onlyinclude>{{#switch:{{{1}}} | ||
|no|no1=style="background-color:#ececec;"{{!}}<font color="#C90000">{{{2|}}}</font> | |no|no1=style="background-color:#ececec;"{{!}}<font color="#C90000">{{{2|}}}</font> | ||
|no2=style="background-color:#ff9696;"{{!}}<font color="#960000">{{{2| | |no2=style="background-color:#ff9696;"{{!}}<font color="#960000">{{{2|Non}}}</font> | ||
|yes=style="background-color:#a9de00;"{{!}}<font color="#00661A">{{{2|}}}</font> | |yes=style="background-color:#a9de00;"{{!}}<font color="#00661A">{{{2|}}}</font> | ||
|?|unknown=style="background-color:#ececec;"{{!}}<font color="#daa520">{{{2|?}}}</font> | |?|unknown=style="background-color:#ececec;"{{!}}<font color="#daa520">{{{2|?}}}</font> | ||
|partial=style="background-color:#ececec;"{{!}}<font color="#ae8800">{{{2| | |partial=style="background-color:#ececec;"{{!}}<font color="#ae8800">{{{2|Partiel}}}</font> | ||
|fullyactive=style="background:lime"{{!}}{{{2| | |fullyactive=style="background:lime"{{!}}{{{2|Actif à plein temps}}} | ||
|partiallyactive=style="background:yellow"{{!}}{{{2|''' | |partiallyactive=style="background:yellow"{{!}}{{{2|'''Actif partiellement'''}}} | ||
|inactive=style="background:red;color:white"{{!}}{{{2|''' | |inactive=style="background:red;color:white"{{!}}{{{2|'''Inactif'''}}} | ||
|'''<font color="#ff3030"> | |excused=style="background:grey;color:white"{{!}}{{{2|'''Excusé'''}}} | ||
|'''<font color="#ff3030">Style inconnu</font>'''}}</onlyinclude> | |||
== Usage == | == Usage == | ||
Ligne 58 : | Ligne 59 : | ||
|<nowiki>{{Style|inactive}}</nowiki> | |<nowiki>{{Style|inactive}}</nowiki> | ||
|{{Style|inactive}} | |{{Style|inactive}} | ||
|- | |||
|<nowiki>{{Style|excused}}</nowiki> | |||
|{{Style|excused}} | |||
|- | |- | ||
|} | |} |
Dernière version du 17 juillet 2016 à 12:58
Usage
This template allows styling of table cells.
Style usage | Style Example |
---|---|
{{Style|yes}} | |
{{Style|yes|Yes}} | Yes |
{{Style|no}} or {{Style|no1}} | |
{{Style|no|No}} | No |
{{Style|no2}} | Non |
{{Style|no2|No}} | No |
{{Style|unknown}} or {{Style|?}} | ? |
{{Style|?|Not Available}} or {{Style|?}} | Not Available |
{{Style|partial}} | Partiel |
{{Style|partial|Can do x but not y}} | Can do x but not y |
{{Style|fullyactive}} | Actif à plein temps |
{{Style|partiallyactive}} | Actif partiellement |
{{Style|inactive}} | Inactif |
{{Style|excused}} | Excusé |