View Single Post
Old November 22nd, 2010, 05:19 PM   #1
hos
Veteran Member
 
hos's Avatar
 
Join Date: Nov 2008
Location: back in the dirt
Posts: 10,635
Thanks: 29,724
Thanked 89,361 Times in 9,363 Posts
hos 500000+hos 500000+hos 500000+hos 500000+hos 500000+hos 500000+hos 500000+hos 500000+hos 500000+hos 500000+hos 500000+
Default

Quick guide into [TABLE][/TABLE]

most important and always keep in mind if you want to use this function:

the very first row of your table must start next to the opening [table] - code and not in a new line. if there are no cells directly after [table], the table will not be parsed correctly.

table structure example

column 1 column 2 column 3 column 4 column 5
cell 1 of row 2 cell 3 of row 2 cell 5 of row 2
cell 2 of row 3 cell 4 of row 3  
example code:
Quote:
[TABLE]column 1 | column 2 |column 3 | column 4 | column 5
cell 1 of row 2 | |cell 3 of row 2 | | cell 5 of row 2
| cell 2 of row 3 | | cell 4 of row 3 [/TABLE]
adding cells & rows

you can add as many cells as you want, by using the pipe-symbol | for further cells in the same row. you are in the same row unless you press [ENTER] on your keyboard. the amount of cells in the very first row sets the maximum amount of columns for the entire table. any following row will have the same amount of cells as defined with the first row, no matter if you add more or less cells than you have set for the first row. less cell amount will add empty cells to the end of a row, more cells than in the first row won't be parsed at all. if you want specific cells empty, just continue your row with further pipe symbols, not adding anything between.


linebreaks inside of a cell

as described, each usage of [ENTER] on your keyboard creates a new table row if the cursor is inside the table segment, which is disappointing but the actual table function works this way. I'd rather like to see the addition of inside-tags like [ROW] and [CELL] instead of just the main tag which parses everything what's inside of it. so, if you want to have linebreaks inside a table cell without starting a new row, you have to use {br} instead (case sensitive!). you have to modify each linebreak which leads to an unwanted new row manually and also you have to take in account that other cells will center its contents vertically if its content-height is smaller.


layout example

having thumbnails next to each other and adding text below each thumbnail. thumb and text are in the same cell:


Brianna Knight

Dionna @Suze

Jenny @Suze


here's the code:
Quote:
[TABLE][URL=https://www.imagebam.com/view/MED28UL][IMG]https://thumbs4.imagebam.com/dd/fd/a0/MED28UL_t.jpg[/IMG][/URL] {br} [URL="http://vintage-erotica-forum.com/showthread.php?t=126123"][COLOR=Blue]Brianna Knight[/COLOR][/URL]|[URL=https://www.imagebam.com/view/MED28UO][IMG]https://thumbs4.imagebam.com/9a/72/9a/MED28UO_t.jpg[/IMG][/URL] {br} [URL="http://www.vintage-erotica-forum.com/t126119-unfolded-mystery-dionna-suzer.html"][COLOR=Blue]Dionna @Suze [/COLOR][/URL]|[URL=https://www.imagebam.com/view/MED28UQ][IMG]https://thumbs4.imagebam.com/a9/9f/34/MED28UQ_t.jpg[/IMG][/URL] {br} [URL="http://www.vintage-erotica-forum.com/t126116-unfolded-mystery-jenny-suzer.html"][COLOR=Blue]Jenny @Suze [/COLOR][/URL][/TABLE]
note: 2 of these 3 references are dead (for non-moderators), but this shouldn't matter here cause it's just an example.



more?

the new function offers some more options (like sorting, connecting cells, table header and some more) which aren't described with this quick guide yet. if you want to self-exercise, visit this post:
http://www.vbulletin.org/forum/showp...70&postcount=2

(note: forget about the css-option - we will not install any css you like to add)


if you want to try the function, i recommend to copy&paste one of the code examples into a post and play with it... ...in the test chamber.

Last edited by hos; September 13th, 2022 at 07:47 PM.. Reason: wording, dead image replacements
hos is offline   Reply With Quote
The Following 40 Users Say Thank You to hos For This Useful Post: