HFBoards

Go Back   HFBoards > Member Services > News And Announcements
Mobile Hockey's Future Become a Sponsor Site Rules Support Forum vBookie Page 2
Notices

News And Announcements Click to see all Announcements regarding services and features. This forum isn't empty :)

Code Table

Reply
 
Thread Tools
Old
08-09-2006, 09:50 PM
  #1
Buffaloed
Administrator
Webmaster
 
Buffaloed's Avatar
 
Join Date: Feb 2002
Location: Buffalo, NY
Country: United States
Posts: 24,976
vCash: 2635
Code Table

Now you can do stuff like this:
PlayerGoalsAssistsPointsPIM+/-
Wayne Gretzy70801502+99
Dustin Rose1752177327000-160
Peter Puck12385090+29

by posting:
PHP Code:
[table="head,sort1d,2,3,4,5;autonumtitle=rank;width=25em"]Player|Goals|Assists|Points|PIM|+/-
Wayne Gretzy|70|80|150|2|+99
Dustin Rose
|175|2|177|327000|-160
Peter Puck
|12|38|50|90|+29
[/table
Setting it up:

example: [table="option1;option2=value;option3='this is a long value with space';option4=value1,value2,value3"]
The whole option list should be wrapped with quotes.
Options are seperated by a semicolon
If an option has a value it is assigned with "equal to" mark. (option2)
If the value contains blanks or special characters it has to be wrapped with apostrophes. (option3)
If an option has more than one value they are seperated by a comma. (option4)

Description of options:
head
This option defines the first line as head, so the first row is shown as head of the table. If the table sould be sorted, the head is not sorted.

sort=1d,2,3,4,5
This defines the table to be sorted by column 1, then column 2, then column 3. The "d" after the first column specifies the order: descending (default: ascending)

autonum=1 (equal to autonum) autonum=a autonum=A
Defines that a new first column containing a numbering should be inserted.
1 -> 1, 2, 3, 4, ... , 999, 1000, ....
a -> a, b, c, ... , aa, ab, ... , zz
A -> A, B, C, ... , AA, BB, ... , ZZ

autonumtitle=oneword autonumtitle='long value with spaces'
Defines the title of the autonum-column. Can be left empty.

width=123px width=45em width=67%
Defines the width of the table.

Buffaloed is offline   Reply With Quote
Old
08-09-2006, 10:15 PM
  #2
Buffaloed
Administrator
Webmaster
 
Buffaloed's Avatar
 
Join Date: Feb 2002
Location: Buffalo, NY
Country: United States
Posts: 24,976
vCash: 2635
column 1column 2column 3
thisisa
smalltableinside
thebigtable
helloPuck Poise!
visit Google? 
wanna have a list?
  • list 1
  • list 2
  • list 3
align left
align center
align right
contact me: example@example.net

PHP Code:
[table="autonumtitle=number;head"]column 1|[b]column 2[/b]|[i]column 3[/i]
[
table]this|is|a
small
|table|inside
the
|big|table[/table]|[b][color=Red]hello[/color][/b]|[size=4][color=Blue][b]Puck Poise![/b][/color][/size]
[
b][b][b][url="http://google.com"]visit Google?[/url][/b][/b][/b]||:) :yo: :p: :handclap: :dunce
wanna have a list?[list][*]list 1[*]list 2[*]list 3[/list]|[left]align left[/left]
[
center]align center[/center]
[
right]align right[/right]
|
contact me: [url="mailto:example@example.net"]example@example.net[/url][/table

Buffaloed is offline   Reply With Quote
Old
08-10-2006, 06:17 PM
  #3
Buffaloed
Administrator
Webmaster
 
Buffaloed's Avatar
 
Join Date: Feb 2002
Location: Buffalo, NY
Country: United States
Posts: 24,976
vCash: 2635
I added a new css definition for it. If you don't like the default you can use "css=transp" instead. Sorting is 'live' now, if you include that option and configure it properly.

PlayerGoalsAssistsPointsPIM+/-
Wayne Gretzy70801502+99
Dustin Rose1752177327000-160
Peter Puck12385090+29

PHP Code:
[table="css=transp;head;width=450"]Player|Goals|Assists|Points|PIM|+/-
Wayne Gretzy|70|80|150|2|+99
Dustin Rose
|175|2|177|327000|-160
Peter Puck
|12|38|50|90|+29
[/table

Buffaloed is offline   Reply With Quote
Reply

Forum Jump


Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT -5. The time now is 05:31 PM.

monitoring_string = "e4251c93e2ba248d29da988d93bf5144"

vBulletin Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
HFBoards.com is a property of CraveOnline Media, LLC, an Evolve Media, LLC company. 2016 All Rights Reserved.