Argonath RPG - A World of its own
Argonath RPG Community => Hardware/Software support => Resolved issues => Topic started by: Mandam on August 18, 2012, 04:27:21 am
-
i been trying to figure out How do u use [ td ] and [ table ] and that, is there anyone who can help me?
-
This | is | a | 4 column table |
This | is | a | 4 column table |
This | is | a | 4 column table |
This | is | a | 4 column table |
[table] to start the table then use a [tr] to make a row, then use a [td] for each field you want, closing it with [/td]
[table][tr][td]This[/td][td] is[/td] [td]a[/td] [td]4 column table[/td][/tr]
[tr][td]This[/td][td] is[/td] [td]a[/td] [td]4 column table[/td][/tr]
[tr][td]This[/td][td] is[/td] [td]a[/td] [td]4 column table[/td][/tr]
[tr][td]This[/td][td] is[/td] [td]a[/td] [td]4 column table[/td][/tr][/table]
-
This | is | a | 4 column table |
This | is | a | 4 column table |
This | is | a | 4 column table |
This | is | a | 4 column table |
[table] to start the table then use a [tr] to make a row, then use a [td] for each field you want, closing it with [/td]
[table][tr][td]This[/td][td] is[/td] [td]a[/td] [td]4 column table[/td][/tr]
[tr][td]This[/td][td] is[/td] [td]a[/td] [td]4 column table[/td][/tr]
[tr][td]This[/td][td] is[/td] [td]a[/td] [td]4 column table[/td][/tr]
[tr][td]This[/td][td] is[/td] [td]a[/td] [td]4 column table[/td][/tr][/table]
Confusing :/
-
It's exactly the same as HTML, except HTML uses <table > and BB uses [table ]
You start with the [table ] tag. You don't close this, until you've finished writing all of your table's code.
The next step is a row. This is the [tr ] tag. This is the first row of your table.
Inside this row, you use the [td ] tag to create a cell. You must close your TDs individually, and before you use the [/tr ] tag.
When you're finished, you use the [/table ] tag and it's done!
Note, I put spaces in my tags so you could see them, but the forum not try to automatically use them.
Using this code:
[table]
[tr]
[td]Column 1 [/td]
[td]Column 2 [/td]
[td]Column 3 [/td]
[/tr]
[tr]
[td]Column 1, Row 2 [/td]
[td]Column 2, Row 2 [/td]
[td]Column 3, Row 2 [/td]
[/tr]
[/table]
Would give me a table looking like this:
Column 1 | Column 2 | Column 3 |
Column 1, Row 2 | Column 2, Row 2 | Column 3, Row 2 |
-
I'm also always confused with this :D
-
I'm also always confused with this
-
Haha. Looking like we are up for classes of this :D
-
It's exactly the same as HTML, except HTML uses <table > and BB uses [table ]
Chances are, if this is confusing to them then they don't know and/or understand HTML.
Here is a BBCode Table Generator (http://www.teamopolis.com/tools/bbcode-table-generator.aspx)
Here is a reference of [tables] (http://www.bbcode.org/examples/?id=14)
In a quick explination:
The table tag is just that, will tell the forum to process whats inside of it as a table.
The 'TR', meaning table row, is a row. This tells the forum to do just that, make a new row.
The 'TD' tag, meaning table data. This is the actual data/text to be outputed in the row provided.
Green, the table is as listed above the tag to tell SMF we're making a table.
Our first teal block, is a table row. We will use this as our header. We will use 2 red table data tags, or td to fill our data; In my example it is Age, and Name.
Our next teal block, also a table row contains 2 table data tags, this is our table information data, Its 19 for age, and Teddy for name.
Our last teal block table row is another information data for the table, it has 11 for the age, and Reece for the name.
[table]
[tr]
[td][b]Age[/b][/td]
[td][b]Name[/b][/td]
[/tr]
[tr]
[td]19[/td]
[td]Teddy[/td]
[/tr]
[tr]
[td]11[/td]
[td]Reece[/td]
[/tr]
[/table]
All of which, will produce this:
Plain Code:
[table]
[tr]
[td][b]Age[/b][/td]
[td][b]Name[/b][/td]
[/tr]
[tr]
[td]19[/td]
[td]Teddy[/td]
[/tr]
[tr]
[td]11[/td]
[td]Reece[/td]
[/tr]
[/table]
-
A big middle finger to you sir.