Posts: 6,208
Threads: 971
Joined: Sep 2007
03-26-2009, 08:29 PM
(This post was last modified: 05-31-2011, 03:53 AM by Kretol.)
Testing out the new Tables BBCodes.
To make the following...
[corners=forumbg][table=tablebg table1][thead][tr=][th=2]This is a header[/th][/tr][/thead][tbody][tr=bg1][td=1,]This is the left cell[/td][td=1,]This is the right cell[/td][/tr][tr=bg2][td=1,]This is another row[/td][td=1,]This is the second cell[/td][/tr][/tbody][/table][/corners]
Posts: 6,208
Threads: 971
Joined: Sep 2007
03-26-2009, 08:29 PM
(This post was last modified: 05-31-2011, 02:19 PM by Kretol.)
You would use the following code.
Code: [corners=forumbg forumbg-table][table=tablebg table1]
[thead][tr=][th=2]This is a header[/th][/tr][/thead][tbody]
[tr=bg1][td=1,]This is the left cell[/td][td=1,]This is the right cell[/td][/tr]
[tr=bg2][td=1,]This is another row[/td][td=1,]This is the second cell[/td][/tr]
[/tbody][/table][/corners]
Posts: 6,208
Threads: 971
Joined: Sep 2007
Feel free to post replies to this topic testing out the code. If you test several tables out, please condense them all to one post, and/or edit your post as needed.
Posts: 400
Threads: 43
Joined: Mar 2009
[corners=forumbg forumbg-table][table=tablebg table1][thead][tr=][th=2]Status Chart[/th][/tr][/thead][tbody][tr=bg1][td=1,]Status[/td][td=1,][/td][/tr][tr=bg2][td=1,]Maxwell[/td][td=1,]Tablecoding[/td][/tr][/tbody][/table][/corners]
Cannot 'Preview' to see the table, you have to post.
Also, colors can be used, wee.
[corners=forumbg forumbg-table][table=tablebg table1][thead][tr=][th=2]Green[/th][/tr][/thead][tbody][tr=bg1][td=1,]Blue[/td][td=1,][/td][/tr][tr=bg2][td=1,]Subject[/td][td=1,]Result[/td][/tr][tr=bg3][td=1,]Subject2[/td][td=1,]Result2[/td][/tr][/tbody][/table][/corners]
I think I have it down, but it does take unnecessarily long to make a table.
Posts: 1,290
Threads: 125
Joined: Jan 2009
God I hate BBCode... More templates coming soon.
CHARACTER SHEET TEMPLATE
Quote:Code: [corners=forumbg forumbg-table][table=tablebg table1][thead]
[tr=][th=4]Character Information[/th][/tr][/thead][tbody][tr=bg1][td=1,][b][color=#FFFFFF]Name[/color][/b][/td][td=1,][b][color=#FFFFFF]Affiliation[/color][/b][/td][td=1,][b][color=#FFFFFF]Status[/color][/b][/td][td=1,][b][color=#FFFFFF]Title[/color][/b][/td][/tr]
[tr=bg2][td=1,][color=#0000FF]Lord Lazarus Chandler[/color][/td][td=1,]The Lambent Sovereignty[/td][td=1,][color=#008000]Alive[/color][/td][td=1,]High Templar[/td][/tr]
[tr=bg2][td=1,][color=#0000FF]Sir Adalric Grandale[/color][/td][td=1,]The Lambent Sovereignty[/td][td=1,][color=#008000]Alive[/color][/td][td=1,]Squire[/td][/tr]
[tr=bg2][td=1,][color=#FF8000]Ushar the Slave[/color][/td][td=1,]None[/td][td=1,][color=#008000]Alive[/color][/td][td=1,]Slave[/td][/tr]
[/tbody][/table][/corners]
[corners=forumbg forumbg-table][table=tablebg table1][thead][tr=][th=4]Character Information[/th][/tr][/thead][tbody][tr=bg1][td=1,]Name[/td][td=1,]Affiliation[/td][td=1,]Status[/td][td=1,]Title[/td][/tr][tr=bg2][td=1,]Lord Lazarus Chandler[/td][td=1,]The Lambent Sovereignty[/td][td=1,]Alive[/td][td=1,]High Templar[/td][/tr][tr=bg2][td=1,]Sir Adalric Grandale[/td][td=1,]The Lambent Sovereignty[/td][td=1,]Alive[/td][td=1,]Squire[/td][/tr][tr=bg2][td=1,]Ushar the Slave[/td][td=1,]None[/td][td=1,]Alive[/td][td=1,]Slave[/td][/tr][/tbody][/table][/corners]
TEMPLATE FOR GUILD MEMBERS IMPORTANT! Remove spaces so that the code is a bulge in order to get it to work correctly.
Quote:Code: [corners=forumbg forumbg-table][table=tablebg table1][thead][tr=][th=4]Members[/th][/tr][/thead][tbody][tr=bg1][td=1,][b][color=#FFFFFF]Name[/color][/b][/td][td=1,][b][color=#FFFFFF]Rank[/color][/b][/td][td=1,][b][color=#FFFFFF]Status[/color][/b][/td][td=1,][b][color=#FFFFFF]Player[/color][/b][/td][/tr]
[tr=bg2][td=1,][color=#0000FF]Lord Lazarus Chandler[/color][/td][td=1,]High Templar[/td][td=1,][color=#008000]Active[/color][/td][td=1,]Tales23[/td][/tr]
[tr=bg2][td=1,][color=#0000FF]Archilia Lightheart [/color][/td][td=1,]Matriarch[/td][td=1,][color=#008000]Active[/color][/td][td=1,]Dascki[/td][/tr]
[tr=bg2][td=1,][color=#0000FF]Ellena Chesca Airim [/color][/td][td=1,]Priest[/td][td=1,][color=#008000]Active[/color][/td][td=1,]AmyraTess[/td][/tr]
[tr=bg2][td=1,][color=#0000FF]Adalric Grandale [/color][/td][td=1,]Squire[/td][td=1,][color=#008000]Active[/color][/td][td=1,]Tales23[/td][/tr]
[tr=bg2][td=1,][color=#0000FF]Diandra Driscol [/color][/td][td=1,]Follower[/td][td=1,][color=#008000]Active[/color][/td][td=1,]Aisha[/td][/tr]
[tr=bg2][td=1,][color=#0000FF]Tristan Sabin [/color][/td][td=1,]Follower[/td][td=1,][color=#008000]Active[/color][/td][td=1,]Kaelvan[/td][/tr][/tbody][/table][/corners]
[corners=forumbg forumbg-table][table=tablebg table1][thead][tr=][th=4]Members[/th][/tr][/thead][tbody][tr=bg1][td=1,]Name[/td][td=1,]Rank[/td][td=1,]Status[/td][td=1,]Player[/td][/tr][tr=bg2][td=1,]Lord Lazarus Chandler[/td][td=1,]High Templar[/td][td=1,]Active[/td][td=1,]Tales23[/td][/tr][tr=bg2][td=1,]Archilia Lightheart [/td][td=1,]Matriarch[/td][td=1,]Active[/td][td=1,]Dascki[/td][/tr][tr=bg2][td=1,]Ellena Chesca Airim [/td][td=1,]Priest[/td][td=1,]Active[/td][td=1,]AmyraTess[/td][/tr][tr=bg2][td=1,]Adalric Grandale [/td][td=1,]Squire[/td][td=1,]Active[/td][td=1,]Tales23[/td][/tr][tr=bg2][td=1,]Diandra Driscol [/td][td=1,]Follower[/td][td=1,]Active[/td][td=1,]Aisha[/td][/tr][tr=bg2][td=1,]Tristan Sabin [/td][td=1,]Follower[/td][td=1,]Active[/td][td=1,]Kaelvan[/td][/tr][/tbody][/table][/corners]
Posts: 1,211
Threads: 112
Joined: Nov 2008
Posts: 1,290
Threads: 125
Joined: Jan 2009
you totally just stole my code I spent the last hour on XD I used your title cause I was going to do that before but changed it to Affiliation instead.
Posts: 1,211
Threads: 112
Joined: Nov 2008
Well, you screwed up the th, but yeah. Thanks for the code.
Posts: 1,290
Threads: 125
Joined: Jan 2009
Posts: 1,696
Threads: 143
Joined: Mar 2009
Zap. I rez this thread for the new forums. Anyone skillful enough to help us nubs put together a table that works with MyBB?
The true test of his choice lies forward.
— The story of the Silithian.
See life through shades of silver.
|