Line: 1 to 1 | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Added: | |||||||||||||||||||||||||||||||||
> > |
Matrix PluginGenerates a matrix in table form. Input are two lists, containing the values for the x and y axis. The lists may be given directly, or as TWiki variables. In effect, it is similar to a nested use of the FOREACH variable (see ForEachPlugin), but it will work better for complex substitutions in the cell content, since there is only one "replace". Also, it is easier to use.
Basic Usage
Using the two lists %MATRIX{ x="%X%" y="%Y%" xtext="Eins, Zwei, Drei" ytext="Aa,Bb,Cc" corner="Letter \ Digit" cell="$x:$y" }% This gives %MATRIX{ x="1,2,3" y="a,b,c" corner="Letter \ Digit" cell="$x:$y" xtext="Eins, Zwei, Drei" ytext="Aa,Bb,Cc"}%
Parameters
The parameters prefixed with $ will be provided for the templates, whenever it makes sense from the context. In particular, in the
Additionally, to allow delayed rendering of generated TWiki variable calls, the variable $percnt can be used.
-- RuedigerPlantiko - 2012-11-09 |