]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FOldStyleTablePlugin
Add "Help/Adobe Flash" to PhpWikiManual
[SourceForge/phpwiki.git] / pgsrc / Help%2FOldStyleTablePlugin
1 Date: Thu, 16 Dec 2010 12:53:03 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1)
3 X-Rcs-Id: $Id$
4 Content-Type: application/x-phpwiki;
5   pagename=Help%2FOldStyleTablePlugin;
6   flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
7   markup=2;
8   charset=UTF-8
9 Content-Transfer-Encoding: binary
10
11 The **~OldStyleTable** [[Help:WikiPlugin|plugin]] can be used to include tables within a wiki
12 page using the old-style markup syntax for tables.
13
14 This plugin is included for legacy only. We recommand to
15 use [[Help:Wikicreole#Tables|Wikicreole tables]]
16 or [[Help:MediawikiTablePlugin|Mediawiki tables]] instead.
17
18 == Usage ==
19
20 {{{
21 <<OldStyleTable caption="OldStyleTable" border||=2
22 ||^  *Name*                |v *Cost*   |v *Notes*
23 | *First*     | *Last*
24 |> Jeff       |< Dairiki   |^  Cheap   |< Not worth it
25 |> Marco      |< Polo      | Cheaper   |< Not available
26 >>
27 }}}
28
29 will get you
30
31 <<OldStyleTable caption="OldStyleTable" border||=2
32 ||^  *Name*                |v *Cost*   |v *Notes*
33 | *First*     | *Last*
34 |> Jeff       |< Dairiki   |^  Cheap   |< Not worth it
35 |> Marco      |< Polo      | Cheaper   |< Not available
36 >>
37
38 Note that multiple **|**s lead to spanned columns, and **v**s can be
39 used to span rows.  A **>** generates a right justified column, **<**
40 a left justified column and **^** a centered column (which is the
41 default.)
42
43 == Arguments ==
44
45 {| class="bordered"
46 |-
47 ! Argument
48 ! Description
49 ! Default value
50 |-
51 | **caption**
52 | Any string
53 | Empty string
54 |-
55 | **border**
56 | Any number
57 | 1
58 |-
59 | **cellspacing**
60 | Any number
61 | 1
62 |-
63 | **cellpadding**
64 | Any number
65 | 1
66 |-
67 | **summary**
68 | Any string
69 | Empty string
70 |}
71
72 == Syntax ==
73
74 Note that within each table cell, //new-style// markup is used.  You can
75 only use inline markup --- no block level markup is allowed within
76 table cells.
77
78 (Using old-style markup wouldn't make much sense, since one can't
79 include multi-line plugin invocations using the old-style markup
80 rules.)
81
82 <noinclude>
83 ----
84 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
85 </noinclude>