[ewiki] table markup: small addition: colspan
- From: massenmensch <kontakt@xxxxxxxxxxxxxxx>
- To: ewiki@xxxxxxxxxxxxx
- Date: Thu, 26 Feb 2004 17:32:28 +0100
Hi there!
Since I don't find plugins/markup/complextbl.php (decription see bottom) very
intuitive for lay users, I want to suggest to extend the table markup to
include the option for colspan as realized in phpwiki.
There is a lot you can change in tables, but if you have a nice default
layout, then what it mostly need are IMHO to things: COLSPAN!=1 and
ROWSPAN!=1. (A header e.g. can just be done by "| __making__ | __the first
row__ | __bold__ |").
I havn't seen an intuitive markup for handling rowspanning, but colspan as in
phpwiki i find intuitive:
(to be view in fixed width)
| this | is | a |
||| table |
| yes || indeed |
will look like this (please view with fixed width font):
+------+----+---+
| this | is | a |
+------+----+---+
| table |
+------+--------+
| yes | indeed |
+------+--------+
Have you thought of implementing it?
Have you seen intuitive rowspan-markups?
Asks with greetings,
Timm
P.S.: The section about the above mentioned plugin from README:
plugins/markup_complextbl
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
ewiki allows you to use tables with the || | characters in the wiki
page source. However the html code for the table layout is
hardcoded and cannot be changed on a per-page basis.
This plugin intercepts the wiki source formation process to allow
you to specify html tag attributes inside a table definition like:
|{ border=0 cellspacing=10} here is | the table | content |
| 2nd line | 2nd line |{ rowspan=2} fills two table rows |
|{ colspan=2} 3rd line |
Note, the opening "{" must follow the "|" character immediately.
This code was provided by Hans B Pufal.
It may be a security risk to include it per default, as this allows
to add SomethingScript references as well.
- Follow-Ups:
- [ewiki] Re: table markup: small addition: colspan
- From: Mario Salzer
Other related posts:
- » [ewiki] table markup: small addition: colspan
- » [ewiki] Re: table markup: small addition: colspan
- [ewiki] Re: table markup: small addition: colspan
- From: Mario Salzer