]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FOldStyleTablePlugin
Harmonize documentation
[SourceForge/phpwiki.git] / pgsrc / Help%2FOldStyleTablePlugin
1 Date: Mon, 16 Jun 2008 14:15:24 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
3 X-Rcs-Id: $Id: Help%2FOldStyleTablePlugin,v 1.3 2008-06-18 01:12:39 vargenau Exp $
4 Content-Type: application/x-phpwiki;
5   pagename=Help%2FOldStyleTablePlugin;
6   flags=PAGE_LOCKED;
7   markup=2;
8   charset=iso-8859-1
9 Content-Transfer-Encoding: binary
10
11 The *~OldStyleTable* plugin can be used to include tables within a wiki
12 page using the old-style markup syntax for tables.
13
14 !!! Usage
15
16 <verbatim>
17 <?plugin OldStyleTable caption="OldStyleTable" border||=2
18 ||^  *Name*                |v *Cost*   |v *Notes*
19 | *First*     | *Last*
20 |> Jeff       |< Dairiki   |^  Cheap   |< Not worth it
21 |> Marco      |< Polo      | Cheaper   |< Not available
22 ?>
23 </verbatim>
24
25 will get you
26
27 <?plugin OldStyleTable caption="OldStyleTable" border||=2
28 ||^  *Name*                |v *Cost*   |v *Notes*
29 | *First*     | *Last*
30 |> Jeff       |< Dairiki   |^  Cheap   |< Not worth it
31 |> Marco      |< Polo      | Cheaper   |< Not available
32 ?>
33
34 Note that multiple __|__s lead to spanned columns, and __v__s can be
35 used to span rows.  A __>__ generates a right justified column, __<__
36 a left justified column and __^__ a centered column (which is the
37 default.)
38
39 !!! Arguments
40
41 __caption__:
42
43   Any string. Default: ""
44
45 __border__:
46
47   Any number. Default: 1
48
49 __cellspacing__:
50
51   Any number. Default: 1
52
53 __cellpadding__:
54
55   Any number. Default: 1
56
57 __summary__:
58
59   Any string. Default: ""
60
61 ----
62
63 Note that within each table cell, _new-style_ markup is used.  You can
64 only use inline markup --- no block level markup is allowed within
65 table cells.
66
67 (Using old-style markup wouldn't make much sense, since one can't
68 include multi-line plugin invocations using the old-style markup
69 rules.)
70
71 -------------
72
73 [PhpWikiDocumentation] [CategoryWikiPlugin]