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