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 34: | 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) || | ||
|- | |- | ||
| {{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 | ||
|} | |} | ||
[[Category:templates]]</noinclude> | [[Category:templates]]</noinclude> |