Diferencia entre revisiones de «Plantilla:Style»
De Inkipedia
(Removed default text on yes and no; colour fixing) |
m (colours) |
||
Línea 1: | Línea 1: | ||
<onlyinclude>{{#switch:{{{1}}} | <onlyinclude>{{#switch:{{{1}}} | ||
|no|no1=style="background-color:#ececec;"{{!}}<font color="# | |no|no1=style="background-color:#ececec;"{{!}}<font color="#C90000">{{{2|}}}</font> | ||
|no2=style="background-color:# | |no2=style="background-color:#ff9696;"{{!}}<font color="#960000">{{{2|No}}}</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="# | |partial=style="background-color:#ececec;"{{!}}<font color="#ae8800">{{{2|Partial}}}</font> | ||
|'''<font color="#ff3030">Unknown style</font>'''}}</onlyinclude> | |'''<font color="#ff3030">Unknown style</font>'''}}</onlyinclude> | ||
Revisión del 15:49 11 jul 2015
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}} | 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 |