Template:Cellcolors

From PS3 Developer wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

style="background-color:inherit; color:inherit; text-align:left;" |

Usage

Inside a table cell:

{{cellcolors|<background color>|<font color>|<alignment>}} text

{{cellcolors|red}} text

{{cellcolors|red|blue}} text

{{cellcolors|red|blue|center}} text

{{cellcolors|#ff0000|#00f|right}} text

{{cellcolors||rgba(256, 0, 0, 0.5)}} text

{{cellcolors|||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
example with font color only at 50% alpha
no colors specifyed, default
usable in full rows too and to create full row empty separators as the examples below