The OldStyleTablePlugin can be used to include tables within a wiki page using the old-style markup syntax for tables.


<?plugin OldStyleTable caption="OldStyleTable" border||=2
||^  *Name*                |v *Cost*   |v *Notes*
| *First*     | *Last*
|> Jeff       |< Dairiki   |^  Cheap   |< Not worth it
|> Marco      |< Polo      | Cheaper   |< Not available

will get you

 Name   Cost   Notes 
 First   Last 
 Jeff   Dairiki   Cheap   Not worth it 
 Marco   Polo   Cheaper   Not available 

Note that multiple |s lead to spanned columns, and vs can be used to span rows. A > generates a right justified column, < a left justified column and ^ a centered column (which is the default.)

Plugin Arguments

Any string. Default: ""
Any number. Default: 1
Any number. Default: 1
Any number. Default: 1
Any string. Default: ""

Note that within each table cell, new-style markup is used. You can only use inline markup --- no block level markup is allowed within table cells.

(Using old-style markup wouldn't make much sense, since one can't include multi-line plugin invocations using the old-style markup rules.)

PhpWikiDocumentation Help:WikiPlugin

This is a WIKI! Edit every page

ToolboxClick to hide/show

Recent Changes Click to hide/show

Favorite Categories Click to hide/show