TablesPlus

(redirected from Cookbook.AcmeTables)

Summary: A simpler yet more flexible markup for tables.
Version: 1.0
Prerequisites: PmWiki. :)
Status: First & only release April, 2007
Maintainer: (unsupported since 2008)
Categories: Markup Tables
Discussion: TablesPlus-Talk

Questions answered by this recipe

Q. Is there a markup for tables, that is simpler yet more flexible than the default tables--plus allows you to nest tables?
A. Certainly! Download, enable, and try the Acme Tables recipe!

Description

This recipe allows you to create tables like the following:

[t]
[r]
[c]
[c]
[r]
[c]
[c]
[t]

Or you can do tables like this (note each tag is preceded by two spaces):

  [t]
  [r]  [c]  [c]  [c]
  [r]  [c]  [c]  [c]
  [t]

Or you can nest tables. In this case the nested table tags all have one leading space. You could nest a second table inside of that by using two leading spaces to precede each tag in it.

[t]
[r]
[c]
[c] 
 [t]
 [r]
 [c]
 [c]
 [r]
 [c]
 [c]
 [t]
[c]
[t]

Watch the leading spaces or you could have a mess! Some instructions placed in the recipe code.

Almost all normal html attributes can be put in the tags, plus several one word optional shortcuts: left, right, center, top, middle, bottom. There are also a couple other optional parameter shortcut names: color(bgcolor), image(background), rows(rowspan), cols(colspan), padding(cellpadding), spacing(cellspacing).

Release Notes

April 28, 2007. Initial release

See Also

AdvancedTableDirectives Another recipe with a couple added features. Be sure to check it out.
SimplifiedAdvancedTableDirectives Borrowed much of the syntax idea from this recipe--though I use it differently...

Contributors

  • Caveman Click here to learn more about the story behind this recipe...
  • Many others who have suggested countless ideas along the way.

Comments

See discussion at TablesPlus-Talk

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.