Diferencia entre revisiones de «Plantilla:Style»

De Inkipedia
(Undo revision 110869 by Shachar700 (talk) ya was created by Heddy)
(Changed the activity colors.)
Línea 1: Línea 1:
<onlyinclude>{{#switch:{{{1}}}
<onlyinclude>{{#switch:{{{1}}}
|no|no1=style="background-color:#ececec;"{{!}}<font color="#C90000">{{{2|}}}</font>
|no|no1=style="background-color:#ececec; color:#C90000;"{{!}}{{{2|}}}
|no2=style="background-color:#ff9696;"{{!}}<font color="#960000">{{{2|No}}}</font>
|no2=style="background-color:#ff9696; color:#960000;"{{!}}{{{2|No}}}
|yes=style="background-color:#a9de00;"{{!}}<font color="#00661A">{{{2|}}}</font>
|yes=style="background-color:#a9de00; color:#00661A;"{{!}}{{{2|}}}
|?|unknown=style="background-color:#ececec;"{{!}}<font color="#daa520">{{{2|?}}}</font>
|?|unknown=style="background-color:#ececec; color:#daa520;"{{!}}{{{2|?}}}
|partial=style="background-color:#ececec;"{{!}}<font color="#ae8800">{{{2|Partial}}}</font>
|partial=style="background-color:#ececec; color:#ae8800;"{{!}}{{{2|Partial}}}
|fullyactive=style="background:lime"{{!}}{{{2|Fully Active}}}
|fullyactive=style="background-color:#378b00; color:white;"{{!}}{{{2|'''Fully Active'''}}}
|partiallyactive=style="background:yellow"{{!}}{{{2|'''Partially Active'''}}}
|partiallyactive=style="background-color:#F90;"{{!}}{{{2|'''Partially Active'''}}}
|inactive=style="background:red;color:white"{{!}}{{{2|'''Inactive'''}}}
|inactive=style="background-color:#FF9090;"{{!}}{{{2|'''Inactive'''}}}
|excused=style="background:grey;color:white"{{!}}{{{2|'''Excused'''}}}
|excused=style="background-color:grey; color:white;"{{!}}{{{2|'''Excused'''}}}
|'''<font color="#ff3030">Unknown style</font>'''}}</onlyinclude>
|'''<span style="color:#ff3030;">Unknown style</span>'''}}</onlyinclude>
 
== Usage ==
This template allows styling of table cells.
This template allows styling of table cells.
* {{t|Style|style}}
* {{t|Style|style}}
Línea 19: Línea 17:
|+ Current styles
|+ Current styles
!Style usage
!Style usage
!Style Example
!Style example
|-
|-
|<nowiki>{{Style|yes}}</nowiki>
|<nowiki>{{Style|yes}}</nowiki>

Revisión del 08:40 1 feb 2018

This template allows styling of table cells.

  • {{Style|<style>}}
  • {{Style|<style>|<custom text output>}}
Current styles
Style usage Style example
{{Style|yes}}
{{Style|yes|Yes}} Yes
{{Style|no}} or {{Style|no1}}
{{Style|no|No}} No
{{Style|no2}} No
{{Style|no2|No}} No
{{Style|unknown}} or {{Style|?}} ?
{{Style|?|Not Available}} or {{Style|?}} Not Available
{{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