Table Width plugin

Compatible with DokuWiki

  • 2012-01-25 "Angua" yes
  • 2011-05-25 "Rincewind" yes
  • 2010-11-07 "Anteater" yes

plugin Allows to specify width of table columns

Last updated on
2010-11-18
Provides
Syntax
Repository
Source

Similar to wrap

Tagged with tables

The plugin allows to specify width for a DokuWiki table and its columns. This is a simple extension to the original table syntax, not a full-fledged rework of the syntax.

Download and Installation

Download and install the plugin using the Plugin Manager using the following URL. Refer to Plugins on how to install plugins manually.

Syntax

The width has to be specified at the start of a line before the table. The first value is used as width of the table, the rest is for columns. If you want to omit some value use a dash instead. The widths can be specified in any CSS units:

|< 100% 50px - 5em 10em 10% >|
^ A  ^  B  ^  C  ^  D  ^  E  ^
| 1  |  2  |  3  |  4  |  5  |

If there are more columns in the table than there are values in the width specification, the width will be applied to the columns from left to right:

|< 50em 20% >|
^ 20%              ^ 80%                          ^
| Specified width  | The rest of the table width  |

Version History

2010-11-18

  • Fixed compatibility issue with DokuWiki 2010-11-07

2009-02-14

  • First public release

Discussion

Only a remark: when a word, which is longer then the given size of the column, is used within the table the word wont break (like for instance when a sentence is longer then the column). So, in spite of giving the table fixed sizes, it still will change it's size.

Grtz, Theo

Same table cell height control wanted

Compatibility

I am using this plugin with 2011-05-25a “Rincewind” and have no problems. Confirmation?
- I'm using it also without any problems on Rincewind. (Taggic)

plugin/tablewidth.txt · Last modified: 2012/02/26 17:36 by 77.34.110.96
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate