TableEdit

From Kwartzlab
(Difference between revisions)
Jump to: navigation, search
m (Sandbox)
 
Line 20: Line 20:
 
== Sandbox ==
 
== Sandbox ==
 
Here is a table you can play with. If you break it, feel free to delete and start again.
 
Here is a table you can play with. If you break it, feel free to delete and start again.
 +
 +
  
 
<!--box uid=d41d8cd98f00b204e9800998ecf8427e.507.K4fe0b3337ed5e-->
 
<!--box uid=d41d8cd98f00b204e9800998ecf8427e.507.K4fe0b3337ed5e-->

Latest revision as of 17:45, 19 June 2012

TableEdit makes for some friendly table editing, although its not entirely intuitive to use. Some notes to ease frustration (documentation is also available):

Creating Tables

Gotcha: Tables cannot be created during page creation. You can save the newtable code in the new page, but the table won't get generated until the new page has been saved, re-opened for editing, and then saved again.

To create a new table, you just need to define a series of column headings, like so:

    <newTableEdit>
    Heading1
    Heading2
    Heading3
    </newTableEdit>

Once saved, TableEdit will generate the appropriate mw table code, along with some javascript references. Table data is distributed between this generated snippet and TableEdit's backend tables, so editing this snippet directly probably won't have the desired effect, and may break your table.

Editing Tables

Once your table is created, it can be updated by using the "edit table" link, which appears in the last row of the table.

Sandbox

Here is a table you can play with. If you break it, feel free to delete and start again.


Heading1 Heading2 Heading3
Personal tools
Navigation