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 | Inside a cell of a table: | ||
<nowiki>{{cellcolors|background color|font color}} cell text</nowiki> | |||
==Examples== | ==Examples== | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| {{cellcolors|black|white}} cell text | |||
| {{cellcolors|black|white}} cell text | |||
|- | |- | ||
| {{cellcolors| | | {{cellcolors|black|lime}} cell text | ||
|- | |- | ||
| {{cellcolors| | | {{cellcolors|blue|white}} cell text | ||
|- | |- | ||
| {{cellcolors| | | {{cellcolors|blue|yellow}} cell text | ||
|- | |- | ||
| {{cellcolors|| | | {{cellcolors|ffcccc|ccccff}} in RGB | ||
|- | |- | ||
| {{cellcolors}} no colors specifyed, default | | {{cellcolors}} no colors specifyed, default | ||
|} | |} | ||
[[Category:templates]]</noinclude> | [[Category:templates]]</noinclude> |