help_-_tables
{include:subpage help}
{tags:Help, Syntax, Lionwiki}
{TOC}
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 |
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 | (c) (r) --> <-- |
|^{{code}}|{{code}}|
|ht ,3 Links |^Link ]] |
|^[[?page=Link|Link 2^]]| [[?page=Link|Link 2]] |
|^[[ [[?Wikipedia|?Wikipedia]]]] |
|ht ,4 Images |^^http://lionwiki.0o.cz/lion.jpg]]|
|^[[^http://lionwiki.0o.cz/|/logo_100.png^]]|[[http://lionwiki.0o.cz/|http://lionwiki.0o.cz/lion.jpg]]|
|^[[right|^http://lionwiki.0o.cz/lion.jpg^]] | [[right|http://lionwiki.0o.cz/lion.jpg]]|
|^[[^http://lionwiki.0o.cz/^|left|/logo_100.png^]] | [[http://lionwiki.0o.cz/|left|http://lionwiki.0o.cz/lion.jpg]]|
h 2 Not supported syntax | |
Headings | !! Headings |
,2 Lists | * unordered |
| # ordered |
|Horizontal line |—-|
help_-_tables.txt · Last modified: 2024/04/02 18:09 by 127.0.0.1