From: PeterThoeny Date: Thu, 7 Mar 2002 22:55:00 +0000 (+0000) Subject: none X-Git-Url: https://git.openafs.org/?p=openafs-wiki.git;a=commitdiff_plain;h=d44f4032a4d88e0f43bdd84a1277886f70a91728;hp=8cc6f5ccd8d4969c1eefeafbc8537e651f89d13c none --- diff --git a/TWiki/TablePlugin.mdwn b/TWiki/TablePlugin.mdwn index 0b23689..0a8fd3e 100644 --- a/TWiki/TablePlugin.mdwn +++ b/TWiki/TablePlugin.mdwn @@ -27,6 +27,15 @@ Plugin settings are stored as preferences variables. To reference a plugin setti - Table cell spacing. Default: 1 - Set CELLSPACING = 1 +- Vertical alignment of cells. Set to: `top`, `middle`, `bottom` or `baseline`; default: (empty) + - Set VALIGN = + +- Table header cell alignment. Set to: `left`, `center`, `right` or `justify`; default: (empty) + - Set HEADERALIGN = + +- Table data cell alignment. Set to: `left`, `center`, `right` or `justify`; default: (empty) + - Set DATAALIGN = + - Color for header cells ('\*'s around text). Default: \#99CCCC - #Set HEADER\_BG = red @@ -89,15 +98,30 @@ On line before the table use `%TABLE{...}%`: Cell spacing (pixels) cellspacing="3" + + valign + Vertical alignment of cells, set to top, middle, bottom or baseline + valign="top" + + + headeralign + Header cell alignment, set to left, center, right or justify. Overrides individual cell settings + headeralign="left" + + + dataalign + Data cell alignment, set to left, center, right or justify. Overrides individual cell settings + dataalign="center" + All default to the global setting ## Examples -Line before table: `%TABLE{sort="on" tableborder="0" cellpadding="3" cellspacing="1" headerbg="#99CCCC" databg="#C8CB8F,#DBDDB5"}%` +Line before table: `%TABLE{sort="on" tableborder="0" cellpadding="1" cellspacing="3" headerbg="#99CCCC" databg="#C8CB8F,#DBDDB5"}%` - +
@@ -194,11 +218,11 @@ Line before table: `%TABLE{sort="on" tableborder="0" cellpadding="3" cellspacing - + - + @@ -224,4 +248,4 @@ Line before table: `%TABLE{sort="on" tableborder="0" cellpadding="3" cellspacing **_Related Topics:_** [[TWikiPreferences]], [[TWikiPlugins]] --- [[JohnTalintyre]] - 07 Oct 2001
-- [[PeterThoeny]] - 05 Jan 2002
+-- [[JohnTalintyre]] - 07 Oct 2001
-- [[PeterThoeny]] - 07 Mar 2002
Num Status
Plugin Version: 05 Jan 2002 07 Mar 2002
Change History: 05 Jan 2002 PTh: Fixed sorting bug of cells with leading white space
06 Dec 2001 PTh: Fixed date sorting bug
03 Dec 2001 PTh: Fixed sort="off" bug and more
29 Nov 2001: PTh fixed Perl warnings
16 Nov 2001: PTh added table border, cell spacing, cell padding, gif files
07 Oct 2001: Initial version
07 Mar 2002 PTh: Added valign, headeralign and dataalign; fixed swapped cellpadding/cellspacing bug
05 Jan 2002 PTh: Fixed sorting bug of cells with leading white space
06 Dec 2001 PTh: Fixed date sorting bug
03 Dec 2001 PTh: Fixed sort="off" bug and more
29 Nov 2001: PTh fixed Perl warnings
16 Nov 2001: PTh added table border, cell spacing, cell padding, gif files
07 Oct 2001: Initial version
CPAN Dependencies: