Diferencia entre revisiones de «Plantilla:Style»

De Inkipedia
m (Matching color and text color for activity)
m (common noun, changed partial to lately inactive to be more fitting to the status guideline)
Línea 3: Línea 3:
|yes=style="background-color:#a9de00; color:#00661A;"{{!}}{{{2|}}}
|yes=style="background-color:#a9de00; color:#00661A;"{{!}}{{{2|}}}
|partial=style="background-color:#f90; color:#222;"{{!}}{{{2|Partial}}}
|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; color:white;"{{!}}{{{2|'''Partially Active'''}}}
|latelyinactive=style="background-color:#ffa500; color:white;"{{!}}{{{2|'''Lately inactive'''}}}
|inactive=style="background-color:#FF0000; color:white;"{{!}}{{{2|'''Inactive'''}}}
|inactive=style="background-color:#ff3232; color:white;"{{!}}{{{2|'''Inactive'''}}}
|excused=style="background-color:grey; color:white;"{{!}}{{{2|'''Excused'''}}}
|excused=style="background-color:grey; color:white;"{{!}}{{{2|'''Excused'''}}}
|'''<span style="color:#ff3030;">Unknown style</span>'''}}</onlyinclude>
|'''<span style="color:#ff3030;">Unknown style</span>'''}}</onlyinclude>
Línea 38: Línea 38:
|{{Style|fullyactive}}
|{{Style|fullyactive}}
|-
|-
|<nowiki>{{Style|partiallyactive}}</nowiki>
|<nowiki>{{Style|latelyinactive}}</nowiki>
|{{Style|partiallyactive}}
|{{Style|latelyinactive}}
|-
|-
|<nowiki>{{Style|inactive}}</nowiki>
|<nowiki>{{Style|inactive}}</nowiki>

Revisión del 08:08 15 oct 2021

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}}
{{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|latelyinactive}} Lately inactive
{{Style|inactive}} Inactive
{{Style|excused}} Excused