Ask a Question

(Create a thread)
Go Back   Spanish language learning forums > Official Announcements
Register Help/FAQ Community Calendar Today's Posts Search PenpalsTranslator


BBcode to create a table

 

Official announcements about the development of Tomisimo.org.


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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,664
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.
__________________
If you find something wrong with my Spanish, please correct it!
 

Link to this thread
URL: 
HTML Link: 
BB Code: 

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 07:35 PM.

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

X