Loading...
 
Features / Usability

Features / Usability


Do I have to write my own {TABLE} plugin for colspan and rowspan to work?

posts: 55

Hi Jonny Bradley,

thanks for your quick response!

FANCYTABLE

Try fixing this table:

  • First and third columns should span over all rows
  • The last cell in each row should span over both last columns

{FANCYTABLE( head="Land|Fahrzeuge|Innerorts|Außerorts|Schnell/Expressstraße|Autobahn")} \\Deutschland|PKW und Fahrzeuge < 3,5 t|50 km/h|100 km/h|∞ 3,5 t bis < 7,5 t ausgenommen PKW| |80 km/h|80 km/h%%%Wohnmobil: 100 km/h {FANCYTABLE}

Land Fahrzeuge Innerorts Außerorts Schnell/Expressstraße Autobahn
Deutschland PKW und Fahrzeuge < 3,5 t 50 km/h 100 km/h
3,5 t bis < 7,5 t ausgenommen PKW 80 km/h 80 km/h
Wohnmobil: 100 km/h


In my opinion, this is not even possible to describe with this syntax.

Markdown

If I understand it right, Markdown is just another wiki syntax to use. I briefly consulted the Markdown specification and found only html tags with my full text search for "table" - so I guess it is not covered.

My Approach

Based on these two fails and the general direction of thoughts in your post, I would either add to the simple tiki table syntax (no further thouhts on how to do that so far), to the FANCYTABLE syntax, or build my own syntax (maybe {TABLE}?) - whatever is easiest for me as a beginner. If I add to tiki table syntax or FANCYTABLE, I would love to commit my changes to tiki 24 LTS, if wanted.

Can you help me gettin started with it, i. e. point to the files I need to have a look at?