locus sonus > audio in art





locus sonus > Help Tables

Last changed: 2009/02/03 22:58

 

{tags:Help, Syntax, Lionwiki}

Creating table

You can create very simple table using | character for separating columns and newlines for separating rows of table:

|case 1|case 2|
|case 3|case 4|

result:

|case 1|case 2|

|case 3|case 4|

More advanced features are availiable through control characters placed on the beginning of cells:

  • characters influencing content of cell
    • h - cell is (part of) heading
    • t - vertical alignment to the top
    • b - vertical alignment to the bottom
    • l - horizontal alignment to the left
    • r - horizontal alignment to the right
  • numbers influencing column and row spanning (separated by comma)
    • first number indicates column spanning
    • second number indicates row spanning


|hl First header      |hr Second header  |
|r First column       |l    Second column|
|2 Double column                         |
|t ,2 Double row aligned to the top  | A |
                                     | B |
|,2 Double row                       | C |
                                     | D |

|hl First header |hr Second header |

|r First column |l Second column|

|2 Double column |

|t ,2 Double row aligned to the top | A |

| B |

|,2 Double row | C |

| D |

Using LionWiki syntax in tables

|h 3 Supported syntax|

|ht ,7 Text syntax | ^'italic^' | italic |

| '^'bold'^' | bold |

|'^^^'bold italic'^^^'|bold italic|

|^-strikethrough-'|strikethrough|

|^__underline__'|underline|

| Special characters | © ® → ← |

|^{code}}|

code
|

|ht ,3 Links |^Link] | Link |

|^Link 2^?page=Link]| Link 2 |

|^?Wikipedia]| Wikipedia |

|ht ,4 Images |^^ttp://lionwiki.0o.cz/lion.jpg]|http://lionwiki.0o.cz/lion.jpg|

|^/logo_100.png^^ttp://lionwiki.0o.cz/]|http://lionwiki.0o.cz/|

|^^ttp://lionwiki.0o.cz/lion.jpg^right] | http://lionwiki.0o.cz/lion.jpg|

|^/logo_100.png^^ttp://lionwiki.0o.cz/^left] | http://lionwiki.0o.cz/|

|h 2 Not supported syntax|

|Headings | !! Headings|

|,2 Lists | * unordered |

| # ordered |

|Horizontal line |


|