#1  
Old May 20, 2009, 02:00 PM
Tomisimo's Avatar
Tomisimo Tomisimo is offline
Davidísimo
 
Join Date: May 2006
Location: North America
Posts: 5,480
Native Language: American English
Tomisimo will become famous soon enoughTomisimo will become famous soon enough
BBcode to create a table

I've tried to create a new BBcode to allow inserting tables into posts. Using a table would be appropriate when you need to format information into columns and rows. In the past, I had created the column BBcodes-- [col] and [cols]-- but I'm not happy with how they work. Being able to actually create tables will be much more powerful.

This is a test of the [table] BBcode. You are welcome to test it as well, but you might not want to use it too many places just yet, since I'm still working on it, and it might change based on your suggestions and feedback. Let me know if it doesn't work or if you have an idea to improve it.

 To get this:  Type this: 
 
 Item  Quantity  Cost 
 Pizza  3  $45 
 Shirt  1  $20 
 Car  1  $15,000 
 Water  12  $12 
 
 
[table]
{||}Item|Quantity|Cost
{|}Pizza|3|$45
{|}Shirt|1|$20
{|}Car|1|$15,000
{|}Water|12|$12
[/table]
 
 
 Suject  Verb  Prepositional phrase 
 Jenny  wants  to go to college. 
 
 
[TABLE]
{|}[I]Suject[/I]|[I]Verb[/I]|[I]Prepositional phrase[/I]
{|}Jenny|wants|to go to college.
[/TABLE]
 
 
 Letters  Numbers 
 a  1 
 b  2 
 c  3 
 
 
[table=noborder]
{||}Letters|Numbers
{|}a|1
{|}b|2
{|}c|3
[/table]
 

Usage:
  • Put the table inside the [table][/table] tags.
  • Each new row must start with this: {|}.
  • If you want to emphasize a row as a header or footer, start that row with this: {||}
  • Separate each column with a pipe character |.
  • You can use [table=noborder] to remove the border.
  • You can use other formatting inside the table (bold, italics, etc.) but they have to be used within each column only, otherwise it will break things. (In other words, don't apply any formatting to the pipe characters themselves.)
  • That's pretty much it.
__________________
· Follow me on Twitter: @tomisimo.
· Check out the Daily Word served up fresh every morning.
· I won't be offended if you correct my Spanish—it's not perfect.
   
Get rid of these ads by registering for a free Tomísimo account.
  #2  
Old May 20, 2009, 02:24 PM
bobjenkins's Avatar
bobjenkins bobjenkins is offline
Diamond
 
Join Date: Apr 2009
Location: España próximamente??
Posts: 2,923
Native Language: Inglés
bobjenkins is on a distinguished road
Gracias
__________________
"There´s always money in the banana stand michael!"
--george bluthe sir
  #3  
Old May 20, 2009, 02:59 PM
AngelicaDeAlquezar's Avatar
AngelicaDeAlquezar AngelicaDeAlquezar is offline
Obsidiana
 
Join Date: Jan 2009
Location: Mexico City
Posts: 8,066
Native Language: Mexican Spanish
AngelicaDeAlquezar is on a distinguished road
I think it's going to be very useful. Thank you, David.
__________________
Ain't it wonderful to be alive when the Rock'n'Roll plays...
  #4  
Old May 20, 2009, 06:36 PM
Jessica's Avatar
Jessica Jessica is offline
...
 
Join Date: Jun 2008
Location: PA
Posts: 8,187
Native Language: English, Chinese
Jessica is on a distinguished road
I agree. It will be useful
  #5  
Old May 20, 2009, 08:21 PM
CrOtALiTo's Avatar
CrOtALiTo CrOtALiTo is offline
Diamond
 
Join Date: May 2008
Location: Mérida, Yucatán
Posts: 11,679
Native Language: I can understand Spanish and English
CrOtALiTo is on a distinguished road
Quote:
Originally Posted by Tomisimo View Post
I've tried to create a new BBcode to allow inserting tables into posts. Using a table would be appropriate when you need to format information into columns and rows. In the past, I had created the column BBcodes-- [col] and [cols]-- but I'm not happy with how they work. Being able to actually create tables will be much more powerful.

This is a test of the [table] BBcode. You are welcome to test it as well, but you might not want to use it too many places just yet, since I'm still working on it, and it might change based on your suggestions and feedback. Let me know if it doesn't work or if you have an idea to improve it.

 To get this:  Type this: 
 
 Item  Quantity  Cost 
 Pizza  3  $45 
 Shirt  1  $20 
 Car  1  $15,000 
 Water  12  $12 
 
 
[table]
{||}Item|Quantity|Cost
{|}Pizza|3|$45
{|}Shirt|1|$20
{|}Car|1|$15,000
{|}Water|12|$12
[/table]
 
 
 Suject  Verb  Prepositional phrase 
 Jenny  wants  to go to college. 
 
 
[TABLE]
{|}[I]Suject[/I]|[I]Verb[/I]|[I]Prepositional phrase[/I]
{|}Jenny|wants|to go to college.
[/TABLE]
 
 
 Letters  Numbers 
 a  1 
 b  2 
 c  3 
 
 
[table=noborder]
{||}Letters|Numbers
{|}a|1
{|}b|2
{|}c|3
[/table]
 

Usage:
  • Put the table inside the [table][/table] tags.
  • Each new row must start with this: {|}.
  • If you want to emphasize a row as a header or footer, start that row with this: {||}
  • Separate each column with a pipe character |.
  • You can use [table=noborder] to remove the border.
  • You can use other formatting inside the table (bold, italics, etc.) but they have to be used within each column only, otherwise it will break things. (In other words, don't apply any formatting to the pipe characters themselves.)
  • That's pretty much it.
Yes, I think that is will be useful for everyone in the forums, but I believe that you can set more tables as the excel's tables inside of the codes of your script of the website, also I think that you can create more tables about it publics pools well it's my view point.

Thank you for your develop for the performance of the website.
__________________
We are building the most important dare for my life and my family feature now we are installing new services in telecoms.
Closed Thread

Bookmark this thread at:

Link to this thread
URL: 
HTML Link: 
BB Code: 
Thread Tools
Display Modes

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 Off
Site Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
BBCode Buttons Zach Suggestions & Feedback 1 January 14, 2008 01:23 PM


All times are GMT -6. The time now is 02:24 AM.

Forum powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

X