Template:Cellcolors: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
Inside a cell | Inside a table cell: | ||
<nowiki>{{cellcolors|<background color>|<font color>}} text</nowiki> | |||
<nowiki>{{cellcolors|red|blue}} text</nowiki> | |||
<nowiki>{{cellcolors|#ff0000|#0000ff}} text</nowiki> | |||
==Examples== | ==Examples== | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |||
| {{cellcolors|green}} cell text || | |||
|- | |- | ||
| {{cellcolors|black|white}} cell text || | | {{cellcolors|black|white}} cell text || |
Revision as of 15:51, 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) | |
no colors specifyed, default | |
usable in full rows | too |