Alright, last of the TABLE tag changes.
First, I realized I didn't define font color and background color options for the TH tag; so those now work, with the same format and options as mentioned previously for TD and TR.
It's probably worth pointing out, the difference between TH and TD is just that TH is automatically centered and bold. That's it - a TH tag can appear anywhere within a table, not just at the top.
In addition, TD and TH both have two new options: COLSPAN and ROWSPAN. The COLSPAN option causes that particular entry to occupy several columns in the table. ROWSPAN is similar, but does rows instead.
Code: Select all
[table name=colspan and rowspan examples:]
[tr color=SlateGray fcolor=#F5F5F5]
[th colspan=3]Light Armors[/th]
[/tr]
[tr color=SlateGray fcolor=#F5F5F5]
[th]Armor Name[/th]
[th color=green fcolor=purple]Armor Bonus[/th]
[th]Cost[/th]
[/tr]
[tr]
[td]Plain Clothing[/td]
[td]+0[/td]
[td]Varies[/td]
[tr]
[td]Leather[/td]
[td]+1[/td]
[td]100 gp[/td]
[/tr]
[tr]
[td]Chain Shirt[/td]
[td]+3[/td]
[td]200 gp[/td]
[/tr]
[tr color=SlateGray fcolor=#F5F5F5]
[th colspan=3]Medium Armors[/th]
[/tr]
[tr color=SlateGray fcolor=#F5F5F5]
[th]Armor Name[/th]
[th ]Armor Bonus[/th]
[th]Cost[/th]
[/tr]
[tr]
[td]Etc.[/td]
[td]Etc.[/td]
[td]Etc.[/td]
[/tr]
[/table]
colspan example:
Light Armors |
Armor Name |
Armor Bonus |
Cost |
Plain Clothing |
+0 |
Varies |
Leather |
+1 |
100 gp |
Chain Shirt |
+3 |
200 gp |
Medium Armors |
Armor Name |
Armor Bonus |
Cost |
Etc. |
Etc. |
Etc. |
(That green and purple combo is ugly as fuck, but I guess it serves to demo the color options...)
Rowspan works very similarly as far as formatting goes:
Code: Select all
[table name=Rowspan Example:]
[tr color=SlateGray fcolor=#F5F5F5]
[th]Name[/th]
[th]Option[/th]
[th]Choice[/th]
[/tr]
[tr]
[td rowspan=3]Bob[/td]
[td]Favorite Food:[/td]
[td]Pizza[/td]
[/tr]
[tr]
[td]Favorite Color:[/td]
[td]Blue[/td]
[/tr]
[tr]
[td]Favorite Movie:[/td]
[td]Cassablanca[/td]
[/tr]
[tr]
[td rowspan=3]Jenny[/td]
[td]Favorite Food:[/td]
[td]Tacos[/td]
[/tr]
[tr]
[td]Favorite Color:[/td]
[td]Red[/td]
[/tr]
[tr]
[td]Favorite Movie:[/td]
[td]Sleepless in Seattle[/td]
[/tr]
[tr]
[td rowspan=3]Your Mom[/td]
[td]Favorite Food:[/td]
[td]Barrel of Cocks[/td]
[/tr]
[tr]
[td]Favorite Color:[/td]
[td]Pink[/td]
[/tr]
[tr]
[td]Favorite Movie:[/td]
[td]Debbie Does Dallas[/td]
[/tr]
[/table]
Rowspan Example:
Name |
Option |
Choice |
Bob |
Favorite Food: |
Pizza |
Favorite Color: |
Blue |
Favorite Movie: |
Cassablanca |
Jenny |
Favorite Food: |
Tacos |
Favorite Color: |
Red |
Favorite Movie: |
Sleepless in Seattle |
Your Mom |
Favorite Food: |
Barrel of Cocks |
Favorite Color: |
Pink |
Favorite Movie: |
Debbie Does Dallas |
You can't fix stupid.
"A life is not important except in the impact it has on other lives." ~ Jackie Robinson