Annotated edit history of
OldStyleTablePlugin version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
CraigBox |
1 |
The OldStyleTablePlugin can be used to include tables within a wiki |
|
|
2 |
page using the old-style markup syntax for tables. |
|
|
3 |
|
|
|
4 |
<verbatim> |
|
|
5 |
<?plugin OldStyleTable |
|
|
6 |
||^ *Name* |v *Cost* |v *Notes* |
|
|
7 |
| *First* | *Last* |
|
|
8 |
|> Jeff |< Dairiki |^ Cheap |< Not worth it |
|
|
9 |
|> Marco |< Polo | Cheaper |< Not available |
|
|
10 |
?> |
|
|
11 |
</verbatim> |
|
|
12 |
|
|
|
13 |
will get you |
|
|
14 |
|
|
|
15 |
<?plugin OldStyleTable |
|
|
16 |
||^ *Name* |v *Cost* |v *Notes* |
|
|
17 |
| *First* | *Last* |
|
|
18 |
|> Jeff |< Dairiki |^ Cheap |< Not worth it |
|
|
19 |
|> Marco |< Polo | Cheaper |< Not available |
|
|
20 |
?> |
|
|
21 |
|
|
|
22 |
Note that multiple __|__s lead to spanned columns, and __v__s can be |
|
|
23 |
used to span rows. A __>__ generates a right justified column, __<__ |
|
|
24 |
a left justified column and __^__ a centered column (which is the |
|
|
25 |
default.) |
|
|
26 |
|
|
|
27 |
---- |
|
|
28 |
|
|
|
29 |
Note that within each table cell, _new-style_ markup is used. You can |
|
|
30 |
only use inline markup --- no block level markup is allowed within |
|
|
31 |
table cells. |
|
|
32 |
|
|
|
33 |
(Using old-style markup wouldn't make much sense, since one can't |
|
|
34 |
include multi-line plugin invocations using the old-style markup |
|
|
35 |
rules.) |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
----- |
|
|
39 |
PhpWikiDocumentation |