Changes between Version 8 and Version 9 of TablePlugin/docs


Ignore:
Timestamp:
Aug 5, 2012, 4:24:54 PM (12 years ago)
Author:
jonny
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TablePlugin/docs

    v8 v9  
    4242#!All comment lines begin with #!
    4343
    44 #!-- First, we need to setup our column names, using the @column keyword, so that we can add data to them.
     44#!-- First, we need to tell the table that it should be styled using the default style.
     45
     46@table (@default)
     47
     48#!-- Next, we need to setup our column names, using the @column keyword, so that we can add data to them.
    4549#!-- Define the three columns to use: task, details, status
    4650
     
    5054
    5155#!-- Using the column names above (task, details, status), we can add the data.
    52 #!--
     56#!-- As mentioned in the keywords list above, these names can be anything you want.
     57#!-- This first row will be the headers for the table.
    5358
    5459@task: Task
     
    5661@status: Status
    5762
    58 #!-- The next row, noticed the @complete style applied to @status cell.
     63#!-- The next row will be the rest of the data that relates to Task, Details of the Task and the Status.
    5964
    6065@task: Task 1
    6166@details: Details of Task 1.
    62 @status (@complete): Complete
     67@status: Complete
    6368
    6469#!-- Remaining rows below...
     
    7277@status: Not Complete
    7378
     79#!-- More rows added below if required... No limit on the amount of data.
     80
    7481}}}
    7582
    7683}}}
     84
     85From this example, you can see that the layout is very simple to setup and easy to read. Readability was a big factor when designing this markup.
     86
     87Basically, after the columns are defined, you add your data and save the table. The default styles will be used
    7788
    7889== Table Styles ==