The following warnings occurred:
Warning [2] Undefined variable $search_thread - Line: 60 - File: showthread.php(1617) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1617) : eval()'d code 60 errorHandler->error_callback
/showthread.php 1617 eval
Warning [2] Undefined variable $forumjump - Line: 89 - File: showthread.php(1617) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1617) : eval()'d code 89 errorHandler->error_callback
/showthread.php 1617 eval




Tables (BBCode)
#1
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]
Reply
#2
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]
Reply
#3
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.
Reply
#4
[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.
Spoiler:
We're all doomed
Reply
#5
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]
[Image: classic-76561197997915481.png]
Reply
#6
woot.
[Image: 2r3hym9.png]
Main Characters:
Riggs Ravenhook - Swarmy Old Goblin Thief and Corporate Nuisance
Gorudo Goldforge - Goldforge Clan Remnant and Ranger
Turic Carsten - Stormwind Regular

http://diethe.deviantart.com/
Reply
#7
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.
[Image: classic-76561197997915481.png]
Reply
#8
Well, you screwed up the th, but yeah. Thanks for the code.
[Image: 2r3hym9.png]
Main Characters:
Riggs Ravenhook - Swarmy Old Goblin Thief and Corporate Nuisance
Gorudo Goldforge - Goldforge Clan Remnant and Ranger
Turic Carsten - Stormwind Regular

http://diethe.deviantart.com/
Reply
#9
How did you fix that?
[Image: classic-76561197997915481.png]
Reply
#10
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.
Reply




Users browsing this thread: 1 Guest(s)