![]() |
BBCode Equivalent for <Table>
Hello everyone. I'm trying to figure out how to write a hack that allows users to construct tables. My board is one games - d20 and D&D in particular - and the users often need to display tables of varying sizes.
To date they've been told to use the code tag to and space the things out, but this a bit time consuming and frankly doesn't look nice. I've been thinking such a tag would be similar to the {list} tag in function except that vbulletin would have to count how many items it's been given. For instance {Table=3} would start up a table with three columsn {*} First item, would show on row one, colum one {*} Second item, would show on row one, colum two {*} Third item, would show on row three, colum three {*} Fourth item, would show on row one colum one {/table} If the user forgot to put in a fifth and 6th item vbulletin would put however many <td>space</td> entries that would be necessary. Anyway, I'm gonna work on this, but I could use help if anyone has any ideals on how to do this. |
I found it FANTASTIC as idea,and i'm really interested in it.
But i think it'd be so much complicated,and i don't know how to do,especially to capture all those parameters [?!?!?].... ;) |
i'm also really interested in it!
|
So,at the end I did it ;)
You have to add those 3 BB Codes ;) 1st CODE
Quote:
;) |
All times are GMT. The time now is 11:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|