Using Tables Pub Share

Tables are easy to create. There is a simple version and two special versions to create many topics, useful for instance for calendars.

Simple tables

`{{r1.table:,:Col1,Col2,Col3}}
1,2,3
a,b,c
{{/r1.table}}`

Note that comma in this case separates the cells while Coln is just the heading. This looks like

Col1Col2Col3
123
abc

Delimited topic creation

This is very useful when you have to enter a calendar for instance:

`{{r1.delimited:;:Race:when,where,by}}
Dec 2, 2012;Georgian Peaks Ski;Georgian Peaks Club
Dec 5, 2012;Oshawa Ski;Brimacombe Ski Club
Jan 2,2013;Mt St Louis Moonstone Ski;Glacier Ski Club
{{/r1.delimited}}`

Note that ; is the separator for cells. Race is the category for the created topics and the others are special attributes.

Looks like

Race(s):

If you need to add information other than when/where/by, use underscore for that column name:

`{{r1.delimited:;:Race:_when,where,by}}
The provincials;Dec 2, 2012;Georgian Peaks Ski;Georgian Peaks Club
Special cup;Dec 5, 2012;Oshawa Ski;Brimacombe Ski Club
{{/r1.delimited}}`

looks like

Race(s):

Special topic creation

This is also useful when creating many topics wiht a regular pattern:

`{{r1.delimited2:2012 AOSD:Calendar:,:Age,Tier1,Tier2, Tier3}}
U10
U12
U14
{{/r1.delimited}}`

2012 AOSD is a prefix for each new topic. Calendar is the category. Age is the titel of the first column whileTiernis a name replicated for each cell. The separator in this case is;`.

It looks like:

AgeTier1Tier2 Tier3
U102012 AOSD U10 Tier1++2012 AOSD U10 Tier2++2012 AOSD U10 Tier3++
U122012 AOSD U12 Tier1++2012 AOSD U12 Tier2++2012 AOSD U12 Tier3++
U142012 AOSD U14 Tier1++2012 AOSD U14 Tier2++2012 AOSD U14 Tier3++

If you're wondering what r1 stands for is release1 - this syntax may evolve in the future...


Was this useful?    

By: Razie | 2012-09-28 .. 2022-10-22 | Tags: admin


Viewed 1831 times ( | History | Print ) this page.

You need to log in to post a comment!