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
excellent. just excellent
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 |
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
Matt
What system is that?? I want to test it!!
Sam
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
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
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]
[just tryin,]
1,2,3,4,
1,2,3,4,
hmm ok i dint get it lol ! !
[table=the,spiders,kiss]
1,2,3,4,
[table=,]
the,spiders,kiss
1,2,3,4
[/table]
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