Code Table (Discontinued)

Buffaloed

webmaster
Feb 27, 2002
43,324
23,585
Niagara Falls
Now you can do stuff like this:
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

by posting:
PHP:
[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:

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

webmaster
Feb 27, 2002
43,324
23,585
Niagara Falls
column 1| column 2 | column 3
this|is|a
small|table|inside
the|big|table
| hello | Puck Poise! visit Google? ||:) :yo: :p: :handclap: :dunce:
wanna have a list?
  • list 1
  • list 2
  • list 3
|
align left​
align center​
align right​
|contact me: [email protected]

PHP:
[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:[email protected]"][email protected][/url][/table]
 

Buffaloed

webmaster
Feb 27, 2002
43,324
23,585
Niagara Falls
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.

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

PHP:
[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]
 

Ad

Upcoming events

Ad

Ad

-->