>> Header1 > column1, row1 > column1, row2 > column1, row3 >> Header2 > column2, row1 > column2, row2 > column2, row3
This is easy to cut and paste, doesn't interfere with long lines, line breaks or markup. It's easy to add rows and easy to add columns. Hard thing is to find the right row when there are lots of rows and few columns (row orientation might be better then). Harder to implement than row orientation, because HTML is row oriented. Multi row is easy
>,> rowspan 2
but column span is more difficult. Could be done with an empty line
Complicated: MediaWiki table syntax
| *L* | *C* | *R* | | A2 | 2 | 2 | | A3 | 3 | 3 | | multi span ||| | A4-6 | four | four | |^| five | five | |^| six | six |
||row1-column1|row1-column2||row2-column1|row2-column2||
||row1-column1|row1-column2 row2-column1|row2-column2||
There are two ways for describing Tables.
| 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 |
,row1-column1,row1-columun2, ,row2-column1,row2-columun2,
You can also write elements with double-quotation(").
,"row1-column1","row1-columun2", ,"row2-column1","row2-columun2",
,left ,Centering:
, center ,Right side:
, right,
||'''A'''||'''B'''||'''C'''|| ||1 ||2 ||3 ||Complicated MoinMoin tables
|| border=1 || cell 1 || cell 2 || cell 3 || || cell 1 || cell 2 || cell 3 |
Table directives, that helps to format tables in PmWiki
^Hading 1 ^ Heading 2 ^ |Cell 1.1 | 1.2 | |Cell 2.1 | 2.2 |DokuWiki table syntax
|!heading1|!heading2| |>| colspan | | rowspan |left| |~| right| |colored| center | |caption|c
|| Heading 1 || Heading 2 |Cell 1.1|1.2 |Cell 2.1|2.2
#| ||cell11|cell12|cell13|| ||cell21|cell22|| |#
#|| ||cell11|cell12|cell13|| ||cell21|cell22|| ||#
{table}
Category | Sales (K€)
Category 1 | 100
Category 2 | 50
Category 3 | 50
Total | =sum(B2:B4)
{table}
||'''Column A'''||'''Column B'''||'''Column C'''|| ||Entry for row 1, Column A||Entry for row 1, Column B||Entry for row 1, Column C|| ||Entry for row 2, Column A||Entry for row 2, Column B||Entry for row 2, Column C|| ||||Spanning entry|| Entry for row 3, Column C || ||||||More spanning||More details: UseMod Table Formatting
||'''A'''||'''B'''||'''C'''|| ||1 ||2 ||3 ||
Whitespace controls alignment (left, center, right). Empty cells are fused.
<table pos/r, country/l, oda/r> pos=Rank country=Country oda=%GNP pos=1 country=Norway oda=0.92 pos=2 country=Denmark oda=0.84 pos=3 country=Netherlands oda=0.81 pos/c=... pos=9 country=Switzerland oda=0.38 pos/c=... pos=22 country=United States oda/mark/r=0.14 ----
Result:
http://www.oddmuse.org/cgi-bin/oddmuse/download/Long_Table_Markup_Extension_Screenshot
Columns are labelled, cells are created by assigning to labels. Cells can contain multiple paragraphs, lists, etc. CSS classes can be added per table, per column, or per cell. Missing cells are fused with neighbours.
||Containers||(n)|| ||MIL||(y)|| ||Managed Code||(b)|| ||After work||(d)||
|a|table|row| |b|table|row|
||Cell 1||Cell 2||Cell 3|| ||Cell 4||Cell 5||Cell 6||
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.
|| || January || February || March || April || | Max | 37.5 | 32.7 | 28.0 | 25.3 | | Min | 31.3 | 26.8 | 25.1 | 18.7 | The double pipes are only required if you'd like nice grey backgrounds as table headers
|Look Mom!|A table!!| |a|b| |c|d|
(including table syntax and examples
)
|# Heading 1 |# Heading 2 | | Cell 1.1 | Cell 1.2 | | Cell 2.1 | Cell 2.2 |
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.
apples,, oranges,, mangos ____ 34,, 434,, 65 63,, 653,, 34 2,, 43,, 43
:
|a|table|row| |a|table|row|
| Name | Phone | Age | |-------+-------+-----| | Peter | 1234 | 17 | | Anna | 4321 | 25 |
Org-mode
's table editor is available as a "minor mode" that can be used in just about any text document.
Double bars || Separate header fields Single bars | Separate body fields Here are more | body fields Triple bars ||| Separate footer fields
Emacs wiki
has been superceded by Muse
.
Defined at No InterWiki reference defined in properties for Wiki called 'RFC'!).
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 "
Welcome Visitor
Log in