Wikka Documentation : TableActionInfo

HomePage :: Index :: RecentChanges :: Search :: Login/Register
[2030] Latest edit on 2009-08-19 07:41:34 by DarTar [layout]


Additions:
See also
  • For more flexible table generation use the table markup instead
    since 1.2
NOTE
This feature was supported until:
WikkaWiki 1.1.6.7
 

Deletions:
NOTE
This feature was supported until:
WikkaWiki 1.1.6.7
See also
  • For more flexible table generation use the table markup instead
    since 1.2



[2029] Edited on 2009-08-19 07:40:42 by DarTar [until box]


Additions:
NOTE
This feature was supported until:
WikkaWiki 1.1.6.7
See also

Deletions:
See also



[1937] Edited on 2009-02-28 07:53:09 by DarTar [1.1.7->1.2]


Additions:

  • For more flexible table generation use the table markup instead
    since 1.2

Deletions:

  • For more flexible table generation use the table markup instead
    since 1.1.7



[1884] Edited on 2009-01-31 02:04:48 by DarTar [Removed carriage return]


No Differences


[1351] Edited on 2008-11-01 23:23:06 by DarTar [Removed HomePage link]


Deletions:
HomePage


[1184] Edited on 2008-09-18 03:27:52 by DarTar [minor changes]


Additions:

This is the documentation page for the table action

Deletions:

This page should document the table action bundled with Wikka up to 1.1.6.4, not the proposed extension



[932] Edited on 2008-03-02 18:16:12 by NilsLindenberg [draft]


Additions:
To create a table, you can use the table action.
Example:
{{table columns="3" cellpadding="1" cells="BIG;GREEN;FROGS;yes;yes;no;no;no;###"}}
BIG GREEN FROGS
yes yes no
no no
Note that ### must be used to indicate an empty cell.
Complex tables can also be created by embedding HTML code in a wiki page.

Deletions:
Short description
Turns a simple list of cell contents into a (data) table.
Parameters
nametyperequired?defaultdescription
delimitercharoptionalsemicolon (;)delimiter that will be used to separate cells; must be a single character.
delimcharoptional;synonym of delimiter
captionstringoptionalnonetable caption
columnsintegeroptional1number of columns the table is to have.
colsintegeroptional1synonym of columns
borderintegeroptional1borderwidth of table.
cellpaddingintegeroptional3padding within cells in pixels.
cellspacingintegeroptional1space between cells in pixels.
stylestringoptionalnonein-line style for the table.
classstringoptionalnonealternative for style: use the class to style with the stylesheet.
summarystringoptionalnonesummary of what the table contains.
cellsstringrequiredcontent of the table with cells separated by the (defined) delimiter.

Long description
Wikka markup within cells is interpreted but HTML markup for cell contents is not possible.
There is only one required paramater: cells; if this is missing an error message will be displayed, along with the original action markup.
It is possible to define cell contents across multiple lines; surrounding whitespace is trimmed before generating output, embedded whitespace (including newlines) is retained.
Cell contents must be separated by a delimiter character; by default this is a semicolon, but if this would conflict with cell contents, a delimiter can be defined with the delimiter (or delim) parameter. Superfluous delimiters at the start and end of the cells parameter are discarded, so it's possible to write each cell row on a separate line, and end each cell with the delimiter: this makes it relatively easy to maintain table contents.
A caption can be defined, as well as a summary.
There is limited support for table headers (th cells): if cell content is embedded in sets of 2 to 5 '=' characters (as in heading markup) these will be discarded and a header cell (th) will be generated instead of a data cell (td). Row groups (thead, tfoot, tbody) are NOT supported.
The result is valid (data) table markup although accessibility will be limited.
Author
JavaWoman

Examples




[863] Edited on 2008-02-22 09:19:12 by DarTar [styling]


Additions:
""<table class="data" cellspacing="0" cellpadding="2" border="1">
Deletions:
""<table cellspacing="0" cellpadding="2" border="1">


[541] Edited on 2008-01-30 15:49:39 by DarTar [this page needs to be rewritten]


Additions:
See also
This page should document the table action bundled with Wikka up to 1.1.6.4, not the proposed extension

Deletions:
See also:
Development: TableAction.
This is the documentation page for the proposed extended Table action. The code is available on the TableAction page.
 

With Tormod's contribution, page must be massively rewritten, no?



[349] Edited on 2006-11-19 11:18:46 by YanB [page needs massive rewriting]


Additions:
HomePage
With Tormod's contribution, page must be massively rewritten, no?
CategoryEN - CategoryReview

Deletions:
Once the planned 'autodoc' feature for actions is "live", this page will contain the automatically-generated documentation by just including an action; for now, I've just manually created the text.
CategoryDocumentation



[64] The oldest known version of this page was created on 2005-03-06 22:27:20 by JavaWoman [clarification]

History of recent changes for TableActionInfo

Table Action Documentation


See also:
Development: TableAction.
This is the documentation page for the proposed extended Table action. The code is available on the TableAction page.
 

Once the planned 'autodoc' feature for actions is "live", this page will contain the automatically-generated documentation by just including an action; for now, I've just manually created the text.

Documentation


Short description
Turns a simple list of cell contents into a (data) table.

Parameters
nametyperequired?defaultdescription
delimitercharoptionalsemicolon (;)delimiter that will be used to separate cells; must be a single character.
delimcharoptional;synonym of delimiter
captionstringoptionalnonetable caption
columnsintegeroptional1number of columns the table is to have.
colsintegeroptional1synonym of columns
borderintegeroptional1borderwidth of table.
cellpaddingintegeroptional3padding within cells in pixels.
cellspacingintegeroptional1space between cells in pixels.
stylestringoptionalnonein-line style for the table.
classstringoptionalnonealternative for style: use the class to style with the stylesheet.
summarystringoptionalnonesummary of what the table contains.
cellsstringrequiredcontent of the table with cells separated by the (defined) delimiter.

Long description
Wikka markup within cells is interpreted but HTML markup for cell contents is not possible.

There is only one required paramater: cells; if this is missing an error message will be displayed, along with the original action markup.

It is possible to define cell contents across multiple lines; surrounding whitespace is trimmed before generating output, embedded whitespace (including newlines) is retained.

Cell contents must be separated by a delimiter character; by default this is a semicolon, but if this would conflict with cell contents, a delimiter can be defined with the delimiter (or delim) parameter. Superfluous delimiters at the start and end of the cells parameter are discarded, so it's possible to write each cell row on a separate line, and end each cell with the delimiter: this makes it relatively easy to maintain table contents.

A caption can be defined, as well as a summary.
There is limited support for table headers (th cells): if cell content is embedded in sets of 2 to 5 '=' characters (as in heading markup) these will be discarded and a header cell (th) will be generated instead of a data cell (td). Row groups (thead, tfoot, tbody) are NOT supported.
The result is valid (data) table markup although accessibility will be limited.

Author
JavaWoman

Examples




CategoryDocumentation
Creative Common Attribution-ShareAlike License
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0841 seconds