Transforms texts into tables. No attributes required.
- rowseparator="string" (newline)
-
Defines the rowseparator.
- cellseparator="string" (tab)
-
Defines the cellseparator.
<tablify cellseparator=','>
Country, Population
Sweden, 8 911 296
Denmark, 5 356 845
Norway, 4 438 547
Iceland, 272 512
Finland, 5 158 372
</tablify>
|
|
Country | Population |
Sweden |
8 911 296 |
Denmark |
5 356 845 |
Norway |
4 438 547 |
Iceland |
272 512 |
Finland |
5 158 372 |
|
|
- border="number"
-
Defines the width of the border. Default is 2 in nice and nicer
modes. Otherwise undefined.
- cellspacing="number"
-
Defines the cellspacing attribute. Default is 0 in nice and nicer
modes. Otherwise undefined.
- cellpadding="number"
-
Defines the cellpadding attribute. Default is 4 in nice and nicer
modes. Otherwise undefined.
- interactive-sort
-
Makes it possible for the user to sort the table with respect to any
column.
- sortcol="number"
-
Defines which column to sort the table with respect to. The leftmost
column is number 1. Negative value indicate reverse sort order.
- min="number"
-
Indicates which of the input rows should be the first to be
displayed. The first row is number 1.
- max="number"
-
Indicates which of the input rows should be the last to be
displayed.
- negativecolor="color" (#ff0000)
-
The color of negative values in economic fields.
- cellalign="{left, center, right}"
-
Defines how the cell contents should be align by default.
- cellvalign="{top, middle, bottom}"
-
Defines how the cell contents should be verically aligned.
- width="number"
-
Defines the width of the table.
- nice
-
Add some extra layout to the table. All attributes below only applies
in nice or nicer mode.
<tablify nice='' cellseparator=',' modulo='2'>
Country, Population
Sweden, 8 911 296
Denmark, 5 356 845
Norway, 4 438 547
Iceland, 272 512
Finland, 5 158 372
</tablify>
|
|
Country | Population |
Sweden |
8 911 296 |
Denmark |
5 356 845 |
Norway |
4 438 547 |
Iceland |
272 512 |
Finland |
5 158 372 |
|
|
|
- grid="number"
-
Draws a grid with the thickness given.
- notitle
-
Don't add a title to each column.
- bordercolor="color" (#000000)
-
The color of the border.
- titlebgcolor="color" (#112266)
-
The background color of the title.
- titlecolor="color" (#ffffff)
-
The color of the title.
- modulo="number"
-
Defines how many rows in a row should have the same color.
- oddbgcolor="color" (#ffffff)
-
The first background color.
- evenbgcolor="color" (#ddeeff)
-
The second background color.
- nicer
-
Add some extra extra layout to the table. All attributes below only
applies in nicer mode. Nicer requires the gtext module.
- noxml
-
Don't terminate the gifs with slashes.
- font="text" (lucida)
-
Gtext font to write the column titles with.
- scale="float" (0.36)
-
Size of the gtext font to write the column titles with.
- textcolor="color" (#000000)
-
The color of the text. This will also work with economic fields in
any mode.
- size="number" (2)
-
The size of the table text.
- font="string" (helvetica,arial)
-
The font of the table text.
<tablify nicer='' cellseparator=',' font='andover' scale='1.0'>
Country, Population
Sweden, 8 911 296
Denmark, 5 356 845
Norway, 4 438 547
Iceland, 272 512
Finland, 5 158 372
</tablify>
|
|
| |
Sweden | 8 911 296 |
Denmark | 5 356 845 |
Norway | 4 438 547 |
Iceland | 272 512 |
Finland | 5 158 372 |
|
|
|