At line 3 added 27 lines |
!!! Summary as of 1 Dec 2006 |
|
!! Purely single pipes to separate cells |
|
*Instiki |
*PBWiki |
*TWiki |
*TiddlyWiki |
*XWiki |
|
!! Single pipes for content, Other for headers |
|
*Confluence (uses || to separate headers) |
*DokuWiki (uses ^ to separate headers) |
*JSPWiki (uses || to separate headers) |
*MicKI ( use |# to separate headers) |
|
!! Purely double pipes to separate cells |
|
*FlexWiki |
*MoinMoin |
*Oddmuse |
*PmWiki |
*TracWiki |
*UseMod |
|
|
At line 88 added 4 lines |
|
|
|
|
At line 93 added 62 lines |
|
There are two ways for describing Tables. |
|
!use "|" as delimiter |
Example: |
{{{ |
| row1-column1 | row1-columun2 | |
| row2-column1 | row2-columun2 | |
}}} |
|
There are some commands to control table of elements. |
"LEFT: CENTER: RIGHT: BGCOLOR(color): COLOR(color): SIZE(num): " |
|
Example: |
{{{ |
|LEFT:row1-column1 |RIGHT:row1-columun2 | |
}}} |
|
* You can control the formats of line with character "c" at the end. The commands to control elements are the same as avobe. |
* You can make the line as header line (thead) with character "h" at the end. |
* You can make the line as footer line (tfoot) with character "f" at the end. |
* You can make the elements as a header (th) with character "~" in front of an element. |
* Single element ">" means column-span, unite it to the right cell. |
* Single element "~" means row-span, unite it to the upper cell. |
|
|
|
!use CSV format |
Example: |
{{{ |
,row1-column1,row1-columun2, |
,row2-column1,row2-columun2, |
}}} |
|
You can also write elements with double-quotation("). |
{{{ |
,"row1-column1","row1-columun2", |
,"row2-column1","row2-columun2", |
}}} |
|
* Single element "==" means column-span, unite it to the right cell. |
* You can move the side of the elements with a space insert at the side. |
Left side: |
{{{ |
,left , |
}}} |
Centering: |
{{{ |
, center , |
}}} |
Right side: |
{{{ |
, right, |
}}} |
|
|
|
|
|
|
|
|
At line 203 added one line |
|
At line 289 added 6 lines |
{{{ |
||Containers||(n)|| |
||MIL||(y)|| |
||Managed Code||(b)|| |
||After work||(d)|| |
}}} |
At line 296 added 4 lines |
{{{ |
|a|table|row| |
|b|table|row| |
}}} |
At line 302 added 4 lines |
{{{ |
||Cell 1||Cell 2||Cell 3|| |
||Cell 4||Cell 5||Cell 6|| |
}}} |
At line 307 added 16 lines |
!![ProWiki] |
|
The simple example uses the "|" as default separator string which can be redefined. ProWiki uses CDML syntax for tables. |
|
{{{ |
[[table] |
January | February | March | April |
Max | 37.5 | 32.7 | 28.0 | 25.3 |
Min | 31.3 | 26.8 | 25.1 | 18.7 |
] |
}}} |
|
More complex examples can be created by adding parameters that work for the table or specifying properties of cells individually. |
|
[ProWiki 17 table parameters|http://www.prowiki.org/prowiki/wiki.cgi?CdmlTable] |
|
At line 202 removed one line |
With Table plugin: [http://confluence.atlassian.com/display/CONFEXT/Table-plus+macro] |
At line 205 changed 2 lines |
{table-plus} |
|| || January || February || March || April || |
|| || January || February || March || April || |
At line 209 changed one line |
{table-plus} |
|
The double pipes are only required if you'd like nice grey backgrounds as table headers |
|
At line 227 changed 2 lines |
!![WikkaWiki] |
[WikkaWiki table syntax|http://www.wikicreole.org/wiki/Talk.Tables#section-Talk.Tables-WikkaMarkupForAccessibleTables]: |
!![MicKI] |
[MicKI help|http://michai.dyndns.org/cgi-bin/micki?help] (including [table syntax and examples|http://michai.dyndns.org/cgi-bin/micki?help#21]) |
{{{ |
|# Heading 1 |# Heading 2 | |
| Cell 1.1 | Cell 1.2 | |
| Cell 2.1 | Cell 2.2 | |
}}} |
At line 359 added 2 lines |
Note that '|#' notation is not exclusively reserved for headers; use it on any cell to make it stand out from the rest. Color schemes are defined through configuration file. |
|
At line 371 added 3 lines |
!![WikkaWiki] |
[WikkaWiki table syntax|http://www.wikicreole.org/wiki/Talk.Tables#section-Talk.Tables-WikkaMarkupForAccessibleTables]: |
|
At line 381 added 35 lines |
|
!!Org-mode (Emacs) |
{{{ |
| Name | Phone | Age | |
|-------+-------+-----| |
| Peter | 1234 | 17 | |
| Anna | 4321 | 25 | |
}}} |
|
[Org-mode|http://staff.science.uva.nl/~dominik/Tools/org/]'s table editor is available as a "minor mode" that can be used in just about any text document. |
|
!!Emacs-wiki and Muse mode |
{{{ |
Double bars || Separate header fields |
Single bars | Separate body fields |
Here are more | body fields |
Triple bars ||| Separate footer fields |
}}} |
|
[Emacs wiki|http://www.emacswiki.org/cgi-bin/wiki/EmacsWikiMode] has been superceded by [Muse|http://www.emacswiki.org/cgi-bin/wiki/EmacsMuse]. |
|
!!Comma-Separated Values (CSV) |
|
Defined at [RFC:4189]. |
|
Very popular and widespread markup. Practically every spreadsheet has an option of importing/exporting it. MoinMoin wiki supports in default configuration (Note: Name implies commas as the field separators. In practice any predefined character can be used including pipe "|" -- but the semicolon is most common and widespread). See also [Wikipedia:Comma-separated_values]. |
|
Example: |
{{{ |
Heading 1, Heading 2 |
Cell 1.1, "Cell 1.2 containing a , comma" |
Cell 2.1, "Cell 2.2 containing a "" double quote" |
"Cell 3.1 containing a |
line break", "Cell 3.2 containing a trailing space " |
}}} |