slitaz-dev-tools diff tazwikiss/rootfs/var/www/wiki/pages/HelpTables.txt @ rev 257

slitaz-dev-tools/tazwikiss: small fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 26 09:49:07 2016 +0200 (2016-05-26)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tazwikiss/rootfs/var/www/wiki/pages/HelpTables.txt	Thu May 26 09:49:07 2016 +0200
     1.3 @@ -0,0 +1,70 @@
     1.4 +! Help on the table syntax
     1.5 +
     1.6 +!! Table creation
     1.7 +Tables are defined with the pipe character |
     1.8 +
     1.9 +Basically you just need to draw the table :
    1.10 +
    1.11 +{{|cell 1|cell 2|
    1.12 +|cell 3|cell 4|
    1.13 +}}
    1.14 +
    1.15 +will be displayed as :
    1.16 +|cell 1|cell 2|
    1.17 +|cell 3|cell 4|
    1.18 +
    1.19 +You can also format your cell. For that, add some characters at the beginning :
    1.20 +
    1.21 +* a '''h''' if the cell is a header
    1.22 +* more letters followed by a space to defined alignment :
    1.23 +** t : vertically aligned on top
    1.24 +** b : vertically aligned on bottom
    1.25 +** l : horizontally aligned on left
    1.26 +** r : horizontally aligned on right
    1.27 +* two numbers can be added to connect cells
    1.28 +** first one to give how many columns has to be connected
    1.29 +** second one, after a comma connects lines
    1.30 +
    1.31 +{{
    1.32 +|hl Title on left|hr Title on right|
    1.33 +|r right         |l    left    |
    1.34 +|2 Two columns                 |
    1.35 +|t ,2 Two lines  | A |
    1.36 +                 | B |
    1.37 +|,2 two lines    | C |
    1.38 +                 | D |}}
    1.39 +
    1.40 +|hl Title on left|hr title on right|
    1.41 +|r right       |l    left    |
    1.42 +|2 Two columns                |
    1.43 +|t ,2 Two lines  | A |
    1.44 +                 | B |
    1.45 +|,2 two lines    | C |
    1.46 +                 | D |
    1.47 +
    1.48 +!! Other syntax included in a table
    1.49 +
    1.50 +|h 3 Supported wiki syntax |
    1.51 +|ht ,7 Formatting | ^''italic^'' | ''italic'' |
    1.52 +                     |  '^''bold'^''  |  '''bold'''  |
    1.53 +                     |'^'^'^''bold italic'^'^'^''|'''''bold italic'''''|
    1.54 +                     |^'--stroked--'|'--stroked--'|
    1.55 +                     |^'__underlined__'|'__underlined__'|
    1.56 +                     | Special chars | (c) (r) --> &lt;-- |
    1.57 +                     |^{{code}}|{{code}}|
    1.58 +|ht ,3 Links         |^[WikiLink] | [WikiLink] |
    1.59 +                     |^[Link 2^|?page=Link]| [Link 2|?page=Link] |
    1.60 +                     |^[?Wikipedia]| [?Wikipedia] |
    1.61 +|ht ,4 Images        |^[^http://wikiss.tuxfamily.org/img/logo_100.png]|[http://wikiss.tuxfamily.org/img/logo_100.png]|
    1.62 +    |^[/logo_100.png^|^http://wikiss.tuxfamily.org/]|[http://wikiss.tuxfamily.org/img/logo_100.png|http://wikiss.tuxfamily.org/]|
    1.63 +    |^[^http://wikiss.tuxfamily.org/img/logo_100.png^|right] | [http://wikiss.tuxfamily.org/img/logo_100.png|right]|
    1.64 +    |^[/logo_100.png^|^http://wikiss.tuxfamily.org/^|left] | [http://wikiss.tuxfamily.org/img/logo_100.png|http://wikiss.tuxfamily.org/|left]|
    1.65 +
    1.66 +and
    1.67 +
    1.68 +|h 2 Not supported syntax|
    1.69 +|Titles   | !! Titles|
    1.70 +|,2 Lists | * non ordered |
    1.71 +          | # ordered |
    1.72 +|Lines    |----|
    1.73 +