You are either not logged in or not registered with our community. Click here to register.
 
December 07, 2016, 08:43:44 AM

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Click here if you are having problems.
Default Wide Screen Beige Lilac Rainbow Black & Blue October Send us your theme!

Hark!  The Herald!
Holiday Issue 2016

Wiki Blogs Dicebot

Author Topic: Table Coding...???  (Read 378 times)

0 Members and 1 Guest are viewing this topic.

Offline KhorazTopic starter

Table Coding...???
« on: January 09, 2013, 08:33:20 AM »
I've tried to use the table coding in my OOs and Request threads but have never been able to figure out how it works. I look and try to insert the right bits in the right coding but... its so confusing!
Which puts a column and which puts a row? And how do you put more in? And... Help?

*Hangs his head*
Tables are scary... >>

Offline ebpohmr

  • Enigmatic By-Product Of a Human Mating Ritual, Snuggle Bear, Spawn, Muse Doctor, part-time Lothario and all round spice weasel!
  • Knight
  • Seducer
  • *
  • Join Date: Dec 2012
  • Location: Plymouth, England
  • Gender: Male
  • Words! Thou art my bitch!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 0
Re: Table Coding...???
« Reply #1 on: January 09, 2013, 08:44:55 AM »
I'm no expert, but the tags are as follows, using <> instead of []

<table>        starts making the table
<tr>             starts a new row of the table
<td>            starts a new cell within the row
</td>           closes the cell
</tr>            ends the row
</table>      ends the table

You may also wish to make use of a table BBcode generating tool, such as this. Sorry I can't be of more use, but I am still figuring out the capabilities of BBcode myself!

Offline KhorazTopic starter

Re: Table Coding...???
« Reply #2 on: January 09, 2013, 08:50:58 AM »
Okay... but... What's a cell?

*Feels rather stupid* Is it the box where text or whatever is?

Offline ebpohmr

  • Enigmatic By-Product Of a Human Mating Ritual, Snuggle Bear, Spawn, Muse Doctor, part-time Lothario and all round spice weasel!
  • Knight
  • Seducer
  • *
  • Join Date: Dec 2012
  • Location: Plymouth, England
  • Gender: Male
  • Words! Thou art my bitch!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 0
Re: Table Coding...???
« Reply #3 on: January 09, 2013, 08:59:56 AM »
Okay... but... What's a cell?

*Feels rather stupid* Is it the box where text or whatever is?

Don't feel stupid, I was just in 'bad teacher' mode ;)

Sample 2x2 Table

This would be the top-left cornerAnd this is the top right
Here we have the bottom-left cornerAnd here is the bottom right

Look at the table above. The code (again using <> instead of [] ) to produce something similar is shown below, with explanations of each tag included inside (( )):

CodeExplanation
<table> ((This tells the editor to draw a table and include everything until it sees </table>))
<tr>((This tells the editor to add a row to the table and include everything in the row until it see's the </tr> tag))
<td>This would be the top-left corner</td>((This tells the editor to add a cell/text block to row 1, the contents are everything before </td>))
<td>And this is the top right</td>((This tells the editor to add a second cell/text block on the same row, contents before </td>))
</tr>((This tells the editor to end row 1))
<tr>((This tells the editor to start row 2))
<td>Here we have the bottom-left corner</td>((This tells the editor to add a cell/text block to row 2. Same rules as before.))
<td>And here is the bottom right</td>((This adds a second cell/text block to row 2. Rules as above.))
</tr>((This ends row 2)
</table> ((This ends the table))

Does that help? You can always quote this post in a new window to compare the formatting to the result! (Thanks for the tip Oniya!)
« Last Edit: January 09, 2013, 09:33:32 AM by ebpohmr »

Offline KhorazTopic starter

Re: Table Coding...???
« Reply #4 on: January 09, 2013, 09:10:42 AM »
That helps, thank you ^^

I don't really understand why the tr bits are there but I shall just accept it and try again.
Thanks vry much. Hopefully I can do... something... Ehem.

Offline Oniya

  • StoreHouse of Useless Trivia
  • Oracle
  • Carnite
  • *
  • Join Date: Sep 2008
  • Location: Just bouncing through. Hi! City of Roses, Pennsylvania
  • Gender: Female
  • One bad Motokifuka. Also cute and FLUFFY!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 3
Re: Table Coding...???
« Reply #5 on: January 09, 2013, 09:12:15 AM »
The <tr> </tr> bits mark off rows.  The <td> </td> bits mark off blocks in the row.

If you quote the game list post in my A/A's, you can see how I made a table to keep my 'Owed' column all nice and even.
« Last Edit: January 09, 2013, 09:14:22 AM by Oniya »

Offline KhorazTopic starter

Re: Table Coding...???
« Reply #6 on: January 09, 2013, 09:24:32 AM »
Thanks Onion ^^
I'll have a look...