Template:Cellcolors: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Examples) |
||
Line 26: | Line 26: | ||
| {{cellcolors|#ff3333|#3333ff}} in RGB || | | {{cellcolors|#ff3333|#3333ff}} in RGB || | ||
|- | |- | ||
| {{cellcolors|lightgrey}} only background (in lightgrey intended for disabled/unused cells) || | | {{cellcolors|lightgrey}} only background (in lightgrey intended for disabled/unused cells) || the kind of cells usually marked as '''N/A''' | ||
|- | |- | ||
| {{cellcolors}} no colors specifyed, default || | | {{cellcolors}} no colors specifyed, default || | ||
|- {{cellcolors|yellow|blue}} | |- {{cellcolors|yellow|blue}} | ||
| usable in full rows || | | usable in full rows too || and to create full row empty separators as the examples below | ||
|- {{cellcolors|lightgrey}} | |||
| colspan="2" | | |||
|- | |||
| colspan="2" | | |||
|- {{cellcolors|lightgrey}} | |||
| colspan="2" | | |||
|} | |} | ||
[[Category:templates]]</noinclude> | [[Category:templates]]</noinclude> |
Revision as of 15:56, 15 May 2017
style="background-color:white; color:black;" |
Usage
Inside a table cell:
{{cellcolors|<background color>|<font color>}} text
{{cellcolors|red|blue}} text
{{cellcolors|#ff0000|#0000ff}} text
Examples
cell text | |
cell text | |
cell text | |
cell text | |
cell text | |
in RGB | |
only background (in lightgrey intended for disabled/unused cells) | the kind of cells usually marked as N/A |
no colors specifyed, default | |
usable in full rows too | and to create full row empty separators as the examples below |