Template:Cellcolors: Difference between revisions
Jump to navigation
Jump to search
m (→Examples) |
m (test) |
||
Line 1: | Line 1: | ||
style="background-color:{{{1|white}}}; color:{{{2|black}}};" |<noinclude> | style="background-color:{{{1|white}}}; color:{{{2|black}}}; text-align:{{{3|left}}};" |<noinclude> | ||
==Usage== | ==Usage== | ||
Line 18: | Line 18: | ||
| {{cellcolors|black|white}} cell text || | | {{cellcolors|black|white}} cell text || | ||
|- | |- | ||
| {{cellcolors|black|lime}} cell text || | | {{cellcolors|black|lime|center}} cell text, centered || | ||
|- | |- | ||
| {{cellcolors|blue|white}} cell text || | | {{cellcolors|blue|white|right}} cell text, aligned right || | ||
|- | |- | ||
| {{cellcolors|blue|yellow}} cell text || | | {{cellcolors|blue|yellow}} cell text || |
Revision as of 17:07, 27 August 2017
style="background-color:white; color:black; text-align:left;" |
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, 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 |