Editing Template:Cellcolors
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
style="background-color:{{{1| | style="background-color:{{{1|white}}}; color:{{{2|black}}};" |<noinclude> | ||
==Usage== | ==Usage== | ||
Inside a table cell: | Inside a table cell: | ||
<nowiki>{{cellcolors|<background color>|<font color> | <nowiki>{{cellcolors|<background color>|<font color>}} text</nowiki> | ||
<nowiki>{{cellcolors|red|blue}} text</nowiki> | <nowiki>{{cellcolors|red|blue}} text</nowiki> | ||
<nowiki>{{cellcolors|#ff0000|#0000ff}} text</nowiki> | |||
<nowiki>{{cellcolors|#ff0000|# | |||
Line 26: | Line 18: | ||
| {{cellcolors|black|white}} cell text || | | {{cellcolors|black|white}} cell text || | ||
|- | |- | ||
| {{cellcolors|black|lime | | {{cellcolors|black|lime}} cell text || | ||
|- | |- | ||
| {{cellcolors|blue|white | | {{cellcolors|blue|white}} cell text || | ||
|- | |- | ||
| {{cellcolors|blue|yellow}} cell text || | | {{cellcolors|blue|yellow}} cell text || | ||
Line 35: | Line 27: | ||
|- | |- | ||
| {{cellcolors|lightgrey}} only background (in lightgrey intended for disabled/unused cells) || the kind of cells usually marked as '''N/A''' | | {{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 || |