nice :)
no more XHTML for tables ;)
On Thu, Aug 28, 2008 at 2:55 PM, Vincent Massol <vincent(a)massol.net> wrote:
This is for Pascal Voitot... ;)
So the answer is yes...
Thanks
-Vincent
Begin forwarded message:
From: "Mikhail Kotelnikov"
<mikhail.kotelnikov(a)gmail.com>
Date: August 28, 2008 2:49:46 PM CEDT
To: wikimodel-users(a)googlegroups.com
Subject: Re: Table without headers?
Reply-To: wikimodel-users(a)googlegroups.com
Hi!
Is it possible in the common syntax to have a table without headers?
Yes.
Table headers: "||" or "!!"
Table cells: "|" or "::"
So you can create a table containing only simple cells (td) or only
headers (th). And, of course, you can mix them; header cells can be
insterted everywhere you want in a table.
A table with cells only:
| Cell 1.1 | Cell 1.2 | Cell 1.3
| Cell 2.1 | Cell 2.2 | Cell 2.3
| Cell 3.1 | Cell 3.2 | Cell 3.3
OR:
:: Cell 1.1 :: Cell 1.2 :: Cell 1.3
:: Cell 2.1 :: Cell 2.2 :: Cell 2.3
:: Cell 3.1 :: Cell 3.2 :: Cell 3.3
A table with headers only:
|| Header 1.1 || Header 1.2 || Header 1.3
|| Header 2.1 || Header 2.2 || Header 2.3
|| Header 3.1 || Header 3.2 || Header 3.3
OR:
!! Header 1.1 !! Header 1.2 !! Header 1.3
!! Header 2.1 !! Header 2.2 !! Header 2.3
!! Header 3.1 !! Header 3.2 !! Header 3.3
Mixture:
|| Header 1.1 || Header 1.2 || Header 1.3
|| Header 2.1 | Cell 2.2 | Cell 2.3
|| Header 3.1 | Cell 3.2 | Cell 3.3
OR:
!! Header 1.1 !! Header 1.2 !! Header 1.3
!! Header 2.1 :: Cell 2.2 :: Cell 2.3
!! Header 3.1 :: Cell 3.2 :: Cell 3.3
Delimiters "::" and "!!" for cells and headers respectively are used
for non-english keyboard layouts (like russian) where pipe symbols
("|") does not exist. Table creation with pipes in russian is very
very painful - you have to swich keybord layout every time when you
need to create a new cell or a header. With "::" and "!!" there is
no problem!
Best regards,
Mikhail
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs