Template:Cellcolors: Difference between revisions
Jump to navigation
Jump to search
m (test) |
m (worky) |
||
Line 4: | Line 4: | ||
Inside a table cell: | Inside a table cell: | ||
<nowiki>{{cellcolors|<background color>|<font color>}} text</nowiki> | <nowiki>{{cellcolors|<background color>|<font color>|<alignment>}} text</nowiki> | ||
<nowiki>{{cellcolors|red|blue}} text</nowiki> | <nowiki>{{cellcolors|red|blue|center}} text</nowiki> | ||
<nowiki>{{cellcolors|#ff0000|#0000ff}} text</nowiki> | <nowiki>{{cellcolors|#ff0000|#0000ff|right}} text</nowiki> | ||
Revision as of 17:09, 27 August 2017
style="background-color:white; color:black; text-align:left;" |
Usage
Inside a table cell:
{{cellcolors|<background color>|<font color>|<alignment>}} text
{{cellcolors|red|blue|center}} text
{{cellcolors|#ff0000|#0000ff|right}} text
Examples
cell text | |
cell text | |
cell text, centered | |
cell text, aligned right | |
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 |