Changes between Version 8 and Version 9 of TablePlugin/docs
- Timestamp:
- Aug 5, 2012, 4:24:54 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TablePlugin/docs
v8 v9 42 42 #!All comment lines begin with #! 43 43 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. 45 49 #!-- Define the three columns to use: task, details, status 46 50 … … 50 54 51 55 #!-- 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. 53 58 54 59 @task: Task … … 56 61 @status: Status 57 62 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. 59 64 60 65 @task: Task 1 61 66 @details: Details of Task 1. 62 @status (@complete): Complete67 @status: Complete 63 68 64 69 #!-- Remaining rows below... … … 72 77 @status: Not Complete 73 78 79 #!-- More rows added below if required... No limit on the amount of data. 80 74 81 }}} 75 82 76 83 }}} 84 85 From 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 87 Basically, after the columns are defined, you add your data and save the table. The default styles will be used 77 88 78 89 == Table Styles ==