VLS Roulette Forum

Resources => Reference Area => Topic started by: VLSroulette on August 21, 2008, 02:34:41 AM

Title: [TABLE=,] Easy tables implemented! (Create tables by comma-separated values)
Post by: VLSroulette on August 21, 2008, 02:34:41 AM
Easy tables implemented today!

No more messy numerical posting without proper formatting. Create tables by comma-separated values easily.

This is the syntax:
[table[highlight]=,[/highlight]]
1,2,3,4
A,B,C,D
E,F,G,H
[/table]

Resulting in:

[table=,]
1,2,3,4
A,B,C,D
E,F,G,H
[/table]

Each line is a row. Each comma-separated value makes a column. First row makes titles bold.




Let's have a look at the syntax again:

[table[highlight]=,[/highlight]]
Spin,Bet,Won
1,1,35
2,1,34
3,1,33
[/table]

It is important to notice the highlighted part as it is necessary to tell the forum software you are intending to create a table with commas (as opposed to a regular [table] tag, which requires the use of [tr] and [td] like web programming does).




Also, for easy sorting, you can click on the first row's bold text. Try it! See the sorting effect by clicking several times on "Spin" below:

[table=,]
Spin,Bet,Won
1,1,35
2,1,34
3,1,33
[/table]




These are the instructions, hopefully this erradicates the common hard-to-understand displaying of posted text-only tables.  :)

Have fun formatting your numerical tables the very easy way!
Victor
Title: Re: Easy tables implemented! (Create tables by comma-separated values)
Post by: AnandMajumdar on August 21, 2008, 05:52:05 AM
excellent. just excellent
Title: Re: Easy tables implemented! (Create tables by comma-separated values)
Post by: TwoCatSam on August 21, 2008, 08:36:18 AM
Let's test this puppy.............
[table=,]

Victor,is,pretty,darn,smart!
1,2,3,4,5
[/table]


BY JOVE, IT WORKS! 

I truly felt it would.

Victor, I asked; I received!  Good on ya, Bro!

Samster
Title: Re: [TABLE=,] Easy tables implemented! (Create tables by comma-separated values)
Post by: MattyMattz on August 21, 2008, 12:24:15 PM
Amazing work Victor! 

[table=,]
spin,bet,1,2,3,4,5,6,Total,EndResult
12,1,-6,0,0,0,0,0,-6,-6
0,1,30,0,0,0,0,0,30,24
12,1,-6,0,0,0,0,0,-6,18
14,1&3,-12,0,30,0,0,0,18,36
25,nb,0,0,0,0,0,0,0,36
[/table]

Had to test it out :)

MM



Title: Re: [TABLE=,] Easy tables implemented! (Create tables by comma-separated values)
Post by: TwoCatSam on August 21, 2008, 12:42:07 PM
Matt

What system is that??  I want to test it!!

Sam
Title: Re: [TABLE=,] Easy tables implemented! (Create tables by comma-separated values)
Post by: MattyMattz on August 21, 2008, 01:47:48 PM
LOL, I KNEW someone was going to ask me that! 
Sorry to dissapoint Sam but this system is all mine. 


Just kidding, it's not a system, I just posted some numbers in a chart.  It's nothing I actually use.  Just wanted to test out the table function.

Cheers,
Matt
Title: Re: [TABLE=,] Easy tables implemented! (Create tables by comma-separated values)
Post by: TwoCatSam on August 21, 2008, 01:54:13 PM
Aw, you stingy dog!

It's the [highlight]HOLY GRAIL[/highlight] and by Freudian Slip you posted it!!

I will find you!!  You can run, but you cannot hide!!

Sammy Sleuth
Title: Re: [TABLE=,] Easy tables implemented! (Create tables by comma-separated values)
Post by: TwoCatSam on September 02, 2008, 06:42:14 PM
How to add to a table:

Since I'm running daily totals, I need to add to the table.  I tried cutting and pasting as I always do.  Won't work.  Look at this:


[table=,]
Date,Win/Loss,Running Total
8.16.8,200,200
8.18.8,-55,145
8.19.8,63,208
8.??.8,57,265
8.22.8,188,453
8.23.8,25,478
8.24.8,-54,424
[/table]


You cannot cut and paste that.  It will not work.  Here's what will.  Go to your post that has the table you want to cut and past.  Go to modify and look at your message.  You will see the [] with the table=, between them.  Cut and past that!  It works and you can add to it and not have to re-do the whole thing.  Not clear?

I'll make a movie!!

LOL

Sam

Here's what you will see after you have cut and pasted it properly:

[escape]

[table=,]
Date,Win/Loss,Running Total
8.16.8,200,200
8.18.8,-55,145
8.19.8,63,208
8.??.8,57,265
8.22.8,188,453
8.23.8,25,478
8.24.8,-54,424
[/table]
[/escape]
Title: Re: [TABLE=,] Easy tables implemented! (Create tables by comma-separated values)
Post by: The Spiders Kiss on December 05, 2008, 07:41:54 PM
[just tryin,]
1,2,3,4,
1,2,3,4,
Title: Re: [TABLE=,] Easy tables implemented! (Create tables by comma-separated values)
Post by: The Spiders Kiss on December 05, 2008, 07:43:09 PM
hmm ok i dint get it lol ! !
Title: Re: [TABLE=,] Easy tables implemented! (Create tables by comma-separated values)
Post by: The Spiders Kiss on December 05, 2008, 07:46:39 PM
[table=the,spiders,kiss]
1,2,3,4,
Title: Re: [TABLE=,] Easy tables implemented! (Create tables by comma-separated values)
Post by: The Spiders Kiss on December 05, 2008, 07:49:22 PM
[table=,]
the,spiders,kiss
1,2,3,4
[/table]
Title: Re: [TABLE=,] Easy tables implemented! (Create tables by comma-separated values)
Post by: VLSroulette on January 09, 2009, 01:40:49 AM
What happens when you actually need to have commas within a table cell?

You have to replace the character in [table=,] for any other character you aren't using, for instance: [table=+] or [table=-] or [table=|] whatever character you know you won't be using in your displayed data.

As easy as it sounds, you can include commas within cells this way:
[table=-]
a-b-c-d-e-f
1,5-2,6-3,8-4-5,9-6
[/table]

Results in:
[table=-]
a-b-c-d-e-f
1,5-2,6-3,8-4-5,9-6
[/table]

Presto! Another solution for better forum use!
:)
Victor