Diferencia entre revisiones de «Plantilla:Style»
De Inkipedia
(Changed the activity colors.) |
(changed partial style to be readable. removed unused styles.) |
||
Línea 1: | Línea 1: | ||
<onlyinclude>{{#switch:{{{1}}} | <onlyinclude>{{#switch:{{{1}}} | ||
|no | |no=style="background-color:#ff9696; color:#960000;"{{!}}{{{2|No}}} | ||
|yes=style="background-color:#a9de00; color:#00661A;"{{!}}{{{2|}}} | |yes=style="background-color:#a9de00; color:#00661A;"{{!}}{{{2|}}} | ||
|?|unknown=style="background-color:#ececec; color:#daa520;"{{!}}{{{2|?}}} | |?|unknown=style="background-color:#ececec; color:#daa520;"{{!}}{{{2|?}}} | ||
|partial=style="background-color:# | |partial=style="background-color:#f90; color:#222;"{{!}}{{{2|Partial}}} | ||
|fullyactive=style="background-color:#378b00; color:white;"{{!}}{{{2|'''Fully Active'''}}} | |fullyactive=style="background-color:#378b00; color:white;"{{!}}{{{2|'''Fully Active'''}}} | ||
|partiallyactive=style="background-color:#F90;"{{!}}{{{2|'''Partially Active'''}}} | |partiallyactive=style="background-color:#F90;"{{!}}{{{2|'''Partially Active'''}}} | ||
Línea 25: | Línea 24: | ||
|{{Style|yes|Yes}} | |{{Style|yes|Yes}} | ||
|- | |- | ||
|<nowiki>{{Style|no | |<nowiki>{{Style|no}}</nowiki> | ||
|{{Style|no}} | |{{Style|no}} | ||
|- | |- | ||
|<nowiki>{{Style|no|No}}</nowiki> | |<nowiki>{{Style|no|No}}</nowiki> | ||
|{{Style|no|No}} | |{{Style|no|No}} | ||
|- | |- | ||
|<nowiki>{{Style|partial}}</nowiki> | |<nowiki>{{Style|partial}}</nowiki> |
Revisión del 23:16 11 ago 2018
This template allows styling of table cells.
Style usage | Style example |
---|---|
{{Style|yes}} | |
{{Style|yes|Yes}} | Yes |
{{Style|no}} | No |
{{Style|no|No}} | No |
{{Style|partial}} | Partial |
{{Style|partial|Can do x but not y}} | Can do x but not y |
{{Style|fullyactive}} | Fully Active |
{{Style|partiallyactive}} | Partially Active |
{{Style|inactive}} | Inactive |
{{Style|excused}} | Excused |