cn::de::es::fr::gr::hu::it::ja::kr::nl::pl::pt::ru::se::us::vn:: |
HomePage > WikiIndex Wiki Index
Using Tables in the Wiki
There are two styles of using Wikka's table mark up codes. The compact one-row-per-line and the expansive one-cell-per-line. The next row is always signaled by the double pipe followed by return ||. This can be confusing if a space is left after the pipes.
Plain, Cell Style and Global Style
one | two | three |
puppy | linux | sfs |
funky | chunky | monkey |
one | two | three |
---|---|---|
cells | are | styled |
funky | chunky | monkey |
one | two | three |
---|---|---|
puppy | linux | sfs |
has | global | style |
Both of the code examples below result in the tables above. The expansive code can be useful, especially if there many columns or column with a lot of text. Note, there is nothing to stop you mixing the code styles, for an example see the 'big list'.
Compact code:
||one||two||three|| ||puppy||linux||sfs|| ||funky||chunky||monkey|| |=|one|=|two|=|three|| ||{background:blue}cells||{background:lightblue}are||{background:#eeeeff}styled|| ||{background-row:lightblue}funky||chunky||monkey|| |!|{border:3px solid blue; background-color:lightblue} |=|one|=|two|=|three|| ||{background:blue}puppy||{background:lightblue}linux||{background:#eeeeff}sfs|| ||{background-row:lightblue}has||global||style||
expansive code:
||one ||two ||three || ||puppy ||linux ||sfs || ||funky ||chunky ||monkey || |=|one |=|two |=|three || ||{background:blue}cells ||{background:lightblue}are ||{background:#eeeeff}styled || ||{background-row:lightblue}funky ||chunky ||monkey || |!|{border:3px solid blue; background-color:lightblue} |=|one |=|two |=|three || ||{background:blue}puppy ||{background:lightblue}linux ||{background:#eeeeff}sfs || ||{background-row:lightblue}has ||global ||style ||