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