News:

NEW! Get all Tourneybot Results from the new Board here: http://www.fibsboard.com/tourneybot-results/

Main Menu

Added new table functionality

Started by webrunner, October 28, 2007, 11:04:29 PM

Previous topic - Next topic

webrunner

Hi,
Since Fibsboard is used for a lot of rank publishing and score tables i updated the code to make a table. It is now much easier to use.

Now you can use this:
[table=]
Pre-season Team Rank, Team Name, % to Win, Odds to Win, % to Make Playoffs, Odds to Make Playoffs
5, TakeTheMoneyAndRun, 49.4%, 1:1, 21.0%, 4:1
2, Club Voodoo, 13.9%, 6:1, 14.8%, 6:1
1, Smack Slap and Spank, 13.4%, 6:1, 12.5%, 7:1
3, Cube Sluts, 7.0%, 13:1, 9.9%, 9:1
4, Ottoman's Empire, 4.0%, 24:1, 7.3%, 13:1
7, Virtual Addicts, 2.8%, 35:1, 5.9%, 16:1
[/table]


to create this:

[table=]
Pre-season Team Rank,   Team Name,   % to Win,   Odds to Win,   % to Make Playoffs,   Odds to Make Playoffs
5,   TakeTheMoneyAndRun,   49.4%,   1:1,   21.0%,   4:1
2,   Club Voodoo,   13.9%,   6:1,   14.8%,   6:1
1,   Smack Slap and Spank,   13.4%,   6:1,   12.5%,   7:1
3,   Cube Sluts,   7.0%,   13:1,   9.9%,   9:1
4,   Ottoman's Empire,   4.0%,   24:1,   7.3%,   13:1
7,   Virtual Addicts,   2.8%,   35:1,   5.9%,   16:1
[/table]

Note how the first row is used for the table headers. They are clickable and able you to sort the table in different ways.
"There is a difference between knowing the path and walking the path."
Bruce Lee
===================================
Orion Pax |

sixty_something

thanks for creating this feature essentially on demand, eric .. it really makes publishing my Team League predictions much simpler .. the sort feature is nice, too, but it appears to work in a peculiar way for numeric lists .. regardless, it's much appreciated

sixty
A little inaccuracy sometimes saves tons of explanation. -- Unknown
e-mail me

don

I wonder if a 8) in a table prints as a smiley?
Yup!  Same-same as in preformatted text.  (that's a '8' followed by a ')' )

--
don
So many string dimensions, so little space time...