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