The Campaign Builder's Guild

The Archives => The Cogs (Archived) => Topic started by: brainface on May 13, 2006, 12:36:35 AM

Title: Table tags
Post by: brainface on May 13, 2006, 12:36:35 AM
yeah, you've got table bbcode now. enjoy

A SANE TABLE
[table=Some Data]
[tr][th]*[/th][th]Monday[/th][th]Tuesday[/th][th]Thursday[/th][/tr]
[tr][th]Time[/th][td]8hrs[/td][td]6hrs[/td][td]9hrs[/td][/tr]
[tr][th]Flavor[/th][td]Sweet[/td][td]Orange[/td][td]Lime[/td][/tr]
[/table]
[spoiler=code]

[table=Some Data]
[tr][th]*[/th][th]Monday[/th][th]Tuesday[/th][th]Thursday[/th][/tr]
[tr][th]Time[/th][td]8hrs[/td][td]6hrs[/td][td]9hrs[/td][/tr]
[tr][th]Flavor[/th][td]Sweet[/td][td]Orange[/td][td]Lime[/td][/tr]
[/table]

[/spoiler]
[spoiler=Remember, kids:]
Tables contain only table rows ([tr]). Table rows contain only table headers([th]) or table cells ([td]).

Table
*TableRow
**TableData
***stuff
**EndTableData
**TableData
***stuff
**EndTableData
*EndTableRow
EndTable

[table]
[tr][td]stuff[/td][/tr]
[tr][td]stuff[/td][/tr]
[/table]

stuff
stuff
[/spoiler]

You may also use TableHeader ([th][/th]) tags. they'll be darker than TableData but otherwise identical. Sane people put these at the top of the table. (for the html savy, they're the html element.)

If you give [table=a Title] the title appears as a caption above the table. for the html savy, that's an actual element.

Tables will neither nest nor contain certain tags (like ooc, note).
If TableRows aren't all given the same number of TableDatas, they'll display, but look stupid. be warned.

If closing tags aren't given, hilarious results ensue. as in, the data won't display.
'Orphaned' [tr]s, [th]s, or [td]s don't even get parsed, as this sentence should show.



[spoiler=a table with garbage]
[table][tr]somin[/tr][tr]else[td]ya[/td][/tr][tr]third[/tr][/table]

sominelsethird
ya
[/spoiler]

[spoiler=an okay table]

[table]
[tr][td]a1[/td][td]a2[/td][/tr]
[tr][th]b1[/th][/tr]
[tr][td]c1[/td][th]c2[/th][td]c3[/td][/tr]
[/table]


[th]b1[/th][th]c2[/th]
a1a2
c1c3
[/spoiler]

[spoiler=A BAD TABLE]

[table]
[tr][td]a1[/th][td]a2[/td][/tr]
[tr][th]b1[/th]
[tr][td]c1[/td][th]c2[/td][td]c3[/td][/tr]
[/table]


[th]b1[/th]
[th]c2[/td]
a1[/th][td]a2
c1c3

[/spoiler]
Title: Table tags
Post by: Poseptune on May 13, 2006, 12:42:52 AM
I bow before your generosity. :hail:  :hail: :hail:  :hail: :hail:  :hail:
Title: Table tags
Post by: Ishmayl-Retired on May 13, 2006, 09:37:21 AM
'bout durned time, brain! ;)  thanks
Title: Table tags
Post by: Epic Meepo on May 13, 2006, 01:02:58 PM
You rock, brainface!
Title: Table tags
Post by: brainface on May 13, 2006, 02:23:16 PM
[class][/class] BBcode.
tabling code made specifically for character classes. look at the examples.

[spoiler=Barbarian]
[spoiler=code]

[class=Barbarian]
[bab=fighter]
[fort=good]
[special=Special]
[1]Fast movement, illiteracy[/1]
[2]Uncanny dodge[/2]
[5]Improved uncanny dodge[/5]
[14]Indomitable will[/14]
[11]Greater rage[/11]
[20]Mighty rage[/20]
[/special]
[special=Rage]
[1]Rage 1/day[/1]
[4]Rage 2/day[/4]
[8]Rage 3/day[/8]
[12]Rage 4/day[/12]
[16]Rage 5/day[/16]
[20]Rage 6/day[/20]
[/special]
[special=Trap sense]
[3]Trap sense +1[/3]
[6]Trap sense +2[/6]
[9]Trap sense +3[/9]
[12]Trap sense +4[/12]
[15]Trap sense +5[/15]
[18]Trap sense +6[/18]
[/special]
[special=Damage reduction]
[7]Damage reduction 1/-[/7]
[10]Damage reduction 2/-[/10]
[13]Damage reduction 3/-[/13]
[16]Damage reduction 4/-[/16]
[19]Damage reduction 5/-[/19]
[/special]
[/class]

[/spoiler]
[class=Barbarian]
[bab=fighter]
[fort=good]
[special=Special]
[1]Fast movement, illiteracy[/1]
[2]Uncanny dodge[/2]
[5]Improved uncanny dodge[/5]
[14]Indomitable will[/14]
[11]Greater rage[/11]
[20]Mighty rage[/20]
[/special]
[special=Rage]
[1]Rage 1/day[/1]
[4]Rage 2/day[/4]
[8]Rage 3/day[/8]
[12]Rage 4/day[/12]
[16]Rage 5/day[/16]
[20]Rage 6/day[/20]
[/special]
[special=Trap sense]
[3]Trap sense +1[/3]
[6]Trap sense +2[/6]
[9]Trap sense +3[/9]
[12]Trap sense +4[/12]
[15]Trap sense +5[/15]
[18]Trap sense +6[/18]
[/special]
[special=Damage reduction]
[7]Damage reduction 1/-[/7]
[10]Damage reduction 2/-[/10]
[13]Damage reduction 3/-[/13]
[16]Damage reduction 4/-[/16]
[19]Damage reduction 5/-[/19]
[/special]
[/class]
[/spoiler]

[spoiler=Druid]
Quote from: Ishmayl[class=Druid]

[fort=good]

[will=good]

[bab=cleric]

[special=Special]

[1]Animal companion, nature sense, wild empathy[/1]
[2]Woodland Stride[/2]
[3]Trackless Step[/3]
[4]Resist Nature's Lure[/4]
[9]Venom Immunity[/9]
[13]A Thousand Faces[/13]
[15]Timeless Body[/15]

[/special]

[special=Wild Shape]

[5]Wild Shape 1/day[/5]
[6]Wild Shape 2/day[/6]
[7]Wild Shape 3/day[/7]
[8]Wild Shape (Large)[/8]
[10]Wild Shape 4/day[/10]
[11]Wild Shape (Tiny)[/11]
[12]Wild Shape (Plant)[/12]
[14]Wild Shape 5/day[/14]
[16]Wild Shape - Elemental 1/day[/16]
[18]Wild Shape 6/day / Elemental 2/day[/18]
[20]Wild Shape - Elemental 3/day / Huge Elemental[/20]

[/special]

[/class]

[spoiler=Code]

[class=Druid]

[fort=good]

[will=good]

[bab=cleric]

[special=Special]

[1]Animal companion, nature sense, wild empathy[/1]
[2]Woodland Stride[/2]
[3]Trackless Step[/3]
[4]Resist Nature's Lure[/4]
[9]Venom Immunity[/9]
[13]A Thousand Faces[/13]
[15]Timeless Body[/15]

[/special]

[special=Wild Shape]

[5]Wild Shape 1/day[/5]
[6]Wild Shape 2/day[/6]
[7]Wild Shape 3/day[/7]
[8]Wild Shape (Large)[/8]
[10]Wild Shape 4/day[/10]
[11]Wild Shape (Tiny)[/11]
[12]Wild Shape (Plant)[/12]
[14]Wild Shape 5/day[/14]
[16]Wild Shape - Elemental 1/day[/16]
[18]Wild Shape 6/day / Elemental 2/day[/18]
[20]Wild Shape - Elemental 3/day / Huge Elemental[/20]

[/special]

[/class]

[/spoiler]

[/spoiler]

[spoiler=Fighter]
[spoiler=code]

[class=Fighter]
[bab=fighter]
[fort=good]
[special=special]
[1]Bonus Feat[/1]
[2]Bonus Feat[/2]
[4]Bonus Feat[/4]
[6]Bonus Feat[/6]
[8]Bonus Feat[/8]
[10]Bonus Feat[/10]
[12]Bonus Feat[/12]
[14]Bonus Feat[/14]
[16]Bonus Feat[/16]
[18]Bonus Feat[/18]
[20]Bonus Feat[/20]
[/special]
[/class]

[/spoiler]
[class=Fighter]
[bab=fighter]
[fort=good]
[special=special]
[1]Bonus Feat[/1]
[2]Bonus Feat[/2]
[4]Bonus Feat[/4]
[6]Bonus Feat[/6]
[8]Bonus Feat[/8]
[10]Bonus Feat[/10]
[12]Bonus Feat[/12]
[14]Bonus Feat[/14]
[16]Bonus Feat[/16]
[18]Bonus Feat[/18]
[20]Bonus Feat[/20]
[/special]
[/class]
[/spoiler]

[spoiler=Monk]
[spoiler=code]

[class=Monk]
[bab=cleric]
[fort=good][will=good][ref=good]
[special]
[1]Bonus feat, flurry of blows, unarmed strike[/1]
[2]Bonus feat, evasion[/2]
[3]Still mind[/3]
[4]Ki strike (magic), slow fall 20 ft.[/4]
[5]Purity of body[/5]
[6]Bonus feat, slow fall 30 ft.[/6]
[7]Wholeness of body[/7]
[8]Slow fall 40 ft.[/8]
[9]Improved evasion[/9]
[10]Ki strike (lawful), slow fall 50 ft.[/10]
[11]Diamond body, greater flurry[/11]
[12]Abundant step, slow fall 60 ft.[/12]
[13]Diamond soul[/13]
[14]Slow fall 70 ft.[/14]
[15]Quivering palm[/15]
[16]Ki strike (adamantine), slow fall 80 ft.[/16]
[17]Timeless body, tongue of the sun and moon[/17]
[18]Slow fall 90 ft.[/18]
[19]Empty body[/19]
[20]Perfect self, slow fall any distance[/20]
[/special]
[special=Unarmed Damage]
[repeat]
[1]1d6[/1]
[4]1d8[/4]
[8]1d10[/8]
[12]2d6[/12]
[16]2d8[/16]
[20]2d10[/20]
[/special]
[special=AC Bonus]
[repeat]
[1]+0[/1]
[5]+1[/5]
[10]+2[/10]
[15]+3[/15]
[20]+4[/20]
[/special]
[special=Unarmored Speed Bonus]
[repeat]
[1]+0ft.[/1]
[3]+10ft.[/3]
[6]+20ft.[/6]
[9]+30ft.[/9]
[12]+40ft.[/12]
[15]+50ft.[/15]
[18]+60ft.[/18]
[/special]
[/class]
[/spoiler]
[class=Monk]
[bab=cleric]
[fort=good][will=good][ref=good]
[special]
[1]Bonus feat, flurry of blows, unarmed strike[/1]
[2]Bonus feat, evasion[/2]
[3]Still mind[/3]
[4]Ki strike (magic), slow fall 20 ft.[/4]
[5]Purity of body[/5]
[6]Bonus feat, slow fall 30 ft.[/6]
[7]Wholeness of body[/7]
[8]Slow fall 40 ft.[/8]
[9]Improved evasion[/9]
[10]Ki strike (lawful), slow fall 50 ft.[/10]
[11]Diamond body, greater flurry[/11]
[12]Abundant step, slow fall 60 ft.[/12]
[13]Diamond soul[/13]
[14]Slow fall 70 ft.[/14]
[15]Quivering palm[/15]
[16]Ki strike (adamantine), slow fall 80 ft.[/16]
[17]Timeless body, tongue of the sun and moon[/17]
[18]Slow fall 90 ft.[/18]
[19]Empty body[/19]
[20]Perfect self, slow fall any distance[/20]
[/special]
[special=Unarmed Damage]
[repeat]
[1]1d6[/1]
[4]1d8[/4]
[8]1d10[/8]
[12]2d6[/12]
[16]2d8[/16]
[20]2d10[/20]
[/special]
[special=AC Bonus]
[repeat]
[1]+0[/1]
[5]+1[/5]
[10]+2[/10]
[15]+3[/15]
[20]+4[/20]
[/special]
[special=Unarmored Speed Bonus]
[repeat]
[1]+0ft.[/1]
[3]+10ft.[/3]
[6]+20ft.[/6]
[9]+30ft.[/9]
[12]+40ft.[/12]
[15]+50ft.[/15]
[18]+60ft.[/18]
[/special]
[/class]
[/spoiler]

[spoiler=explanation]
okay:
inside class:
[levels=10]
sets the number of levels the class has. classes always start at first level, you can't start at 21 and go to 30. if i'm bugged, i can allow this. the default here is 20, so base classes can leave this tag out.

[bab=fighter|cleric|rogue|wizard]
[fort=good|poor]
[ref=good|poor]
[will=good|poor]

for bab, fort, ref, and will, the worst is assumed. so you can leave out bab=wizard, ref=poor, etc--that's the default.
note that, currently, levels greater than 20 aren't calculated using the epic progression, but just the normal one. i can change this, if i get requests to.


[special][/special]
[special=Title][/special]

creates a speical ability column. if you want multiples columns, the titles MUST be different. multiple specials with the same name overwrite each other. multiple specials with no name also overwrite each other.

inside [special]:
[1]stuff, more stuf, stuff[/1]
[3]level 3 stuff[/3]
[10]level 10 stuff[/10]

adds special stuff to that particular level. levels outside the range set by [levels=] will be ignored. repeated levels ([1]stuff[/1][1]more stuff[/1]) will be ignored--only the first one counts. failure to properly close level tags ([1]first level stuff[/9], for instance) will make data be ignored.
[repeat]
causes the special ability line from the previous level to be repeated. useful for classes like the monk, or '+1 caster level' prestige classes.

Unfortunately, there's no way to handle spells right now: i couldn't think of a type-saving way of doing it, and saving on typing was the reason for this tag. You can do it with specials and repeat, but that's still not too easy. I could make a [spells=ranger], etc. tag, that just spit out a ranger spellcasting table? (and one for wizard, bard, assassin, etc....)

[spoiler=closing tags]
Tags which should close:

[class][/class]
[special][/special]
level tags:[1]bonus feat[/1],[13]bonus feat[/13], etc

Tags which don't need to close:

[levels=13]
save tags: [fort=good],etc.
[bab=rogue]
[repeat]

[/spoiler]
Note also that order largely doesn't matter: [special][/special] can come before or after [fort], [levels] can be last, you can define special levels as [20][/20][19][/19][18][/18], etc, if you so choose.
[/spoiler]
Title: Table tags
Post by: Xathan on May 13, 2006, 03:32:55 PM
You...are...a...GOD!!!!!

Figures this happens as soon as I can't get on the computer fora while. Still, Brainface, this rocks more than anything ever. The CBG is now offically the Best Message Board Ever.
Title: Table tags
Post by: Numinous on May 13, 2006, 04:38:41 PM
Rockin' man, just rockin'...  For once, i feel haapy about knowing tables in html :P
Title: Table tags
Post by: Xathan on May 14, 2006, 10:38:47 PM
Quote from: ranger, etc. tag, that just spit out a ranger spellcasting table? (and one for wizard, bard, assassin, etc....)

That'd be great if you could do that, and also do something for power points, with the option psion, wilder, psychic warrior. Thank you so much for your work, and I promise I am going to make extensive use of these once I can post regularly again. :D
Title: Table tags
Post by: Epic Meepo on May 15, 2006, 02:59:00 PM
[class=brainface]
[levels=5][bab=fighter][fort=good][ref=good][will=good]
[special]

[1]Scribe BBcode[/1]

[2]Craft Spoiler Tag[/2]

[3]Craft Tabel Tag[/3]

[4]Craft Class Tag[/4]

[5]You...are...a...GOD!!!!![/5]

[/special][/class]


The option that spits out common spell progeression tables sounds like a good one.  So does the power point column option that was proposed in an earlier post.

Any chance there could be a way to left-justify the class name and have a Hit Die appear in the upper right-hand corner of the table?  How about a way to put skill points per level and class skills in a big row along the bottom of the table?

Something like [hd=X] to put "dX" in the upper right hand corner and something like [skills=XX] skill 1, skill 2 [/skills] that puts "Class Skills (XX + Int modifier per level, x4 on 1st level): skill 1, skill 2." at the bottom of the table.
Title: Table tags
Post by: Soup Nazi on May 15, 2006, 04:08:13 PM
Quote from: Epic_Meepo[class=brainface]
[levels=5][bab=fighter][fort=good][ref=good][will=good]
[special]

[1]Scribe BBcode[/1]

[2]Craft Spoiler Tag[/2]

[3]Craft Tabel Tag[/3]

[4]Craft Class Tag[/4]

[5]You...are...a...GOD!!!!![/5]

[/special][/class]

I Sooooo want to play a Brainface in my next D&D game.
Title: Table tags
Post by: brainface on May 15, 2006, 11:49:59 PM
Quote from: clerictag.

note that spells CAN be done now, KINDA, a la
[spoiler=a la]
[spoiler=code]

[class]
[levels=5]
[special=1st]
[repeat]
[1]2[/1]
[2]3[/2]
[4]4[/4]
[/special]
[special=2nd]
[repeat]
[3]1[/3]
[4]2[/4]
[/special]
[special=3rd]
[5]1[/5]
[/special]
[/class]

[/spoiler]
[class]
[levels=5]
[special=1st]
[repeat]
[1]2[/1]
[2]3[/2]
[4]4[/4]
[/special]
[special=2nd]
[repeat]
[3]1[/3]
[4]2[/4]
[/special]
[special=3rd]
[5]1[/5]
[/special]
[/class]
it;s just not that pretty, and it still takes much typing. you can also put all spells in one column, like [special=spells per day][1]1[/1][5]3 1 1[/5][/special].
*shrug* neither way really is easy or looks right.
[/spoiler]

Quote from: unique manifestersunique power points/day: psion, psychic warrior, psionic fist, warmind
unique powers known: psion, psychic warrior, wilder
[/spoiler]

Whatever gets added, it's going to be another weekend or two.


Quote from: Epic_Meepo[class=brainface]
[levels=5][bab=fighter][fort=good][ref=good][will=good]
[special]

[1]Scribe BBcode[/1]

[2]Craft Spoiler Tag[/2]

[3]Craft Tabel Tag[/3]

[4]Craft Class Tag[/4]

[5]You...are...a...GOD!!!!![/5]

[/special][/class]

Oh, it's a cool enough class, but you only get d2 hitdie. :(

(fyi, spoiler tags are actually a power of the daggerhart class. ;))
Title: Table tags
Post by: Epic Meepo on May 16, 2006, 03:32:30 AM
[class=
BRAINFACE         Hit Die: d12
]
[levels=4][bab=fighter][fort=good][ref=good][will=good]
[special]

[1]Scribe BBcode[/1]

[2]Craft Table Tag[/2]

[3]Craft Class Tag[/3]

[4]You...are...a...GOD!!!!!             [/4]

[/special][/class]
[th]Class Skills (8 + Int modifier per level, x4 at 1st level):[/th]
All skills

That's the best I could manage with creative bbcode, but lining everything up was just a crapshoot with Code tags, and I'm fairly sure there's no convenient way to make that class skills row look like a class skills row once skills start getting listed one by one.  The row would just keep expanding to the right instead of conforming to the desired width.
Title: Table tags
Post by: Túrin on May 16, 2006, 06:16:44 AM
Thanks brainface! I appreciate all the work you've been doing here. I agree we must be the best message board I know by now.
Túrin
Title: Table tags
Post by: Xeviat on June 06, 2006, 09:44:26 PM
Nice. Is there any possibility of getting colspan="X" and rowspan="X" put in? That would be spiffy.
Title: Table tags
Post by: Lmns Crn on June 08, 2006, 09:06:32 PM
I can't believe I took so long to finally check this thread. I was putting it off until getting ready to type up some classes, but geez, you've done most of the work for me.

Brainyface, I internet-salute you.
Title: Table tags
Post by: Ishmayl-Retired on June 08, 2006, 09:22:16 PM
Luminous, you should make use of these table codes to fully explain how your magic classes work ;)
Title: Table tags
Post by: Lmns Crn on June 08, 2006, 09:53:17 PM
Actually, I've already started a thread on that. Actual spell lists are on the way. Tally-ho!

Edit: Refresh my memory, Ishy; I remember I sent you that massive file of game mechanics, but did we ever really talk about it?
Title: Table tags
Post by: Ishmayl-Retired on June 08, 2006, 10:36:50 PM
Only slightly, and not as much as I would have liked.... I actually still have the file in my email
Title: Table tags
Post by: brainface on June 24, 2006, 05:40:49 PM
So i finally got rowspan and colspan working.

[table=debug]
 [tr]
  [td]one[/td]
  [th]two[/td]
  [td]three[/th]
 [/tr]
 [tr]
  [td colspan='1']one[/td]
  [th  colspan='2']two[/th]
  [td colspan ='3']three[/td]
  [th colspan= '4']four[/th]
  [td colspan='5' ]five[/td]
  [th  colspan = '6' ]six[/th]
 [/tr]
 [tr]
  [td rowspan='1']one[/td]
  [th  rowspan='2']two[/th]
  [td rowspan ='3']three[/td]
  [th rowspan= '4']four[/th]
  [td rowspan='5' ]five[/td]
  [th  rowspan = '6' ]six[/th]
 [/tr]

 [tr]
  [th colspan="1"]one[/th]
  [td  colspan="2"]two[/td]
  [th colspan ="3"]three[/th]
  [td colspan= "4"]four[/td]
  [th colspan="5" ]five[/th]
  [td  colspan = "6" ]six[/td]
 [/tr]
 [tr]
  [td rowspan="1"]one[/td]
  [td  rowspan="2"]two[/td]
  [td rowspan ="3"]three[/td]
  [td rowspan= "4"]four[/td]
  [td rowspan="5" ]five[/td]
  [td  rowspan = "6" ]six[/td]
 [/tr]
 [tr]
  [td class="fred"]1[/td]
  [td style="float:left"]2[/td]
  [td scriptSCRIPTsCrIpT]three[/td]
 [/tr]
 [tr]
  [td colspan='2' rowspan="6"] colspan='2' rowspan="6"[/td]
  [tdcolspan=x]colspan=x[/td]
  [td colspan='colspan='3''] colspan='colspan='3''[/td]
  [td colspan=3] colspan=3[/td]
  [td colspan="3" colspan="7" colspan='8'] colspan="3" colspan="7" colspan='8'[/td]
 [/tr]
[/table]

If anybody posts a table resembling that, i'm pretty much gonna hunt you down and break your keyboard. Just so you know.

The parser's gonna throw out mismatched quotations-- colspan='8" will do nothing, for instance. It'll also accepts the first valid colspan and ignores the rest--colspan="2" colspan="8" colspan="3" results in colspan="2". ditto rowspans.

It will throw out any other attribute (class="ooc", for instance) but i can pretty easily make it support more now--Making the parser accept any attributes at all was the horrifically time consuming part, any new additions will take about 2 minutes :P.

If you manage to make a table that breaks the layout, let me know ASAP--send a pm.
Title: Table tags
Post by: Numinous on June 24, 2006, 06:05:05 PM
That is one helluva Franken-table...  Thanks for the new pieces of the tag Brainface, I'm probably gonna use them somewhere...
Title: Table tags
Post by: Poseptune on August 01, 2006, 02:34:32 PM
Bump
Title: Table tags
Post by: Ra-Tiel on December 03, 2006, 08:51:27 AM
Hi. That [class] tag is awesome. Many thanks to brainface for doing this. :D

But I have a question: would it be possible to include average saving throw progression as seen in StarWars d20?

[note]The closest thing I have been able to find out as a formula for average saves is "1 + 2/5*level", which alas does not produce the progression presented by WotC.

Instead, it provides the following:
[table=1 + 2/5*level]
[tr][th]Level[/th][th]Save Bonus[/th][/tr]
[tr][td]1[/td][td]+1[/td][/tr]
[tr][td]2[/td][td]+1[/td][/tr]
[tr][td]3[/td][td]+2[/td][/tr]
[tr][td]4[/td][td]+2[/td][/tr]
[tr][td]5[/td][td]+3[/td][/tr]
[tr][td]6[/td][td]+3[/td][/tr]
[tr][td]7[/td][td]+3[/td][/tr]
[tr][td]8[/td][td]+4[/td][/tr]
[tr][td]9[/td][td]+4[/td][/tr]
[tr][td]10[/td][td]+5[/td][/tr]
[tr][td]11[/td][td]+5[/td][/tr]
[tr][td]12[/td][td]+5[/td][/tr]
[tr][td]13[/td][td]+6[/td][/tr]
[tr][td]14[/td][td]+6[/td][/tr]
[tr][td]15[/td][td]+7[/td][/tr]
[tr][td]16[/td][td]+7[/td][/tr]
[tr][td]17[/td][td]+7[/td][/tr]
[tr][td]18[/td][td]+8[/td][/tr]
[tr][td]19[/td][td]+8[/td][/tr]
[tr][td]20[/td][td]+9[/td][/tr]
[/table]
[/note]

[table=Average save]
[tr][th]Level[/th][th]Save Bonus[/th][/tr]
[tr][td]1[/td][td]+1[/td][/tr]
[tr][td]2[/td][td]+2[/td][/tr]
[tr][td]3[/td][td]+2[/td][/tr]
[tr][td]4[/td][td]+2[/td][/tr]
[tr][td]5[/td][td]+3[/td][/tr]
[tr][td]6[/td][td]+3[/td][/tr]
[tr][td]7[/td][td]+4[/td][/tr]
[tr][td]8[/td][td]+4[/td][/tr]
[tr][td]9[/td][td]+4[/td][/tr]
[tr][td]10[/td][td]+5[/td][/tr]
[tr][td]11[/td][td]+5[/td][/tr]
[tr][td]12[/td][td]+6[/td][/tr]
[tr][td]13[/td][td]+6[/td][/tr]
[tr][td]14[/td][td]+6[/td][/tr]
[tr][td]15[/td][td]+7[/td][/tr]
[tr][td]16[/td][td]+7[/td][/tr]
[tr][td]17[/td][td]+8[/td][/tr]
[tr][td]18[/td][td]+8[/td][/tr]
[tr][td]19[/td][td]+8[/td][/tr]
[tr][td]20[/td][td]+9[/td][/tr]
[/table]

My current project is using good|average|poor progressions for both BAB and saves. Having that [Fort=average] tag would save me alot of manual table coding (in addition to saving time, it would not utterly devestate my posts' code as compared to when I had to manually code the average progression).
Title: Table tags
Post by: Wensleydale on December 03, 2006, 09:07:38 AM
I didn't think there was any such thing as average saves. As far as I've ever seen, it's either good or poor...
Title: Table tags
Post by: Ra-Tiel on December 03, 2006, 09:57:50 AM
Quote from: GolemI didn't think there was any such thing as average saves. As far as I've ever seen, it's either good or poor...
In DnD there aren't "average saves", you are correct. But in revised StarWars d20 by WotC there were average saves.

I guess it's a matter of personal preference, but I find having only good/poor saves being the same as having only good/poor BAB. It's just lacking a bit. Also, I sometimes find it hard to decide if a class should have good or poor saves, especially when the class already gets some special abilities. Average saves would make that a bit easier, as now a "middle ground" would be established.
Title: Table tags
Post by: brainface on December 03, 2006, 11:16:55 AM
i now officially HATE wizards
the formula is
level/3 ROUND DOWN + level/2+2 ROUND DOWN divided by two. jackasses.

[class=woolybooger]
[fort=good]
[ref=average]
[will=poor]
[/class]
[spoiler=etc.]
[class=scallywag]
[fort=average]
[ref=average]
[will=average]
[/class]
[class=wallflower]
[fort=poor]
[ref=poor]
[will=poor]
[/class]
[class=Evil Booger]
[fort=good]
[ref=good]
[will=good]
[/class]
[/spoiler]
Title: Table tags
Post by: Ra-Tiel on December 03, 2006, 11:54:34 AM
Quote from: brainfacei now officially HATE wizards
the formula is
level/3 ROUND DOWN + level/2+2 ROUND DOWN divided by two. jackasses. [...]
Lol. Yes, WotC's designers can be real :morons: sometimes (--> formula for PPs ;) ).

But thanks for implementing it. :D

[spoiler=So, let me see how this works out]
[class=Expert]
[levels=10]
[bab=rogue]
[special=BRB]
  [1]+1[/1]
  [2]+2[/2]
  [3]+3[/3]
  [4]+4[/4]
  [5]+5[/5]
  [6]+6[/6]
  [7]+7[/7]
  [8]+8[/8]
  [9]+9[/9]
  [10]+10[/10]
[/special]
[fort=average][ref=good][will=average]
[special=Special]
  [1]Expert talent[/1]
  [3]Expert talent[/3]
  [5]Expert talent[/5]
  [7]Expert talent[/7]
  [9]Expert talent[/9]
[/special]
[/class]
[/spoiler]
Yay! Now I'd only need a way to place the "BRB" column next to "BAB" and I'd be happy. Please, pretty please? :'(

.....:::::PS:::::.....
This: javascript:addtext(':'(',true) doesn't work for me. I think it could probably have something to do with the middle ' not being escaped and thus ending the parameter too early and leading to an error.
Title: Table tags
Post by: brainface on December 03, 2006, 12:07:42 PM
QuoteYay! Now I'd only need a way to place the "BRB" column next to "BAB" and I'd be happy. Please, pretty please?
I think you'll have to make do with feeling thankful instead. If it shows up my job is done. ;)

(adding column positioning code into the tag could get really complicated really fast.)
Title: Table tags
Post by: Ra-Tiel on December 03, 2006, 02:52:36 PM
Quote from: brainfaceI think you'll have to make do with feeling thankful instead. If it shows up my job is done. ;)

(adding column positioning code into the tag could get really complicated really fast.)
Wouldn't it be possible to make the columns appear in the sequence they are put in the [class] tag? In my example table I put the [special=BRB] tag before the [fort=...][ref=...][will=...] tags, but it appears after them in the table.

But no worries, I'm quite happy with the formatting options already and just being too curious for my own good now. :P

If it's too complicated then don't do it. I know you've got all possible things to do. No worries. :)
Title: Table tags
Post by: brainface on December 04, 2006, 09:07:09 PM
Quote from: BRBtag before the [fort=...][ref=...][will=...] tags, but it appears after them in the table.
wherever[/i] it is and later writes it to the right place.)
Title: Table tags
Post by: Ra-Tiel on December 05, 2006, 12:12:44 AM
Quote from: brainfaceErg, What does this refer to?
To the button that (is supposed to) enter the :'( smiley into the text. All other smiley buttons work, but this one doesn't. I'm running both Opera 9.02 and IE7 on WinXP Prof SP2, and Firefox 1.5.0.8 on Mandriva Linux 2007.0 -- and it works on neither.

Quote from: brainfaceYeah i'd kinda have to rewrite the whole thing ;) (The code currently pulls data from wherever it is and later writes it to the right place.)
Ahhh, I see. As said, no worries. I can live without it. It would have just been icing on the cake, so to speak. ;)
Title: Table tags
Post by: brainface on December 05, 2006, 12:39:15 AM
:cry: fixed. e107 didn't handle the single quote correctly.
Title: Table tags
Post by: Ra-Tiel on December 06, 2006, 09:31:10 AM
Ok, thanks. :)
Title: Table tags
Post by: Xeviat on February 14, 2010, 06:40:04 AM
Hey Brainy, didn't get the chance to thank you for putting colspan and rowspan in. Just used them today. Woot.
Title: Re: Table tags
Post by: Xathan on January 09, 2012, 02:32:22 AM
I know this is major thread necromancy, but I couldn't help but notice I can't seem to get the old class table BBcode to work anymore - is that now gone, or does it just require a different way to do it?
Title: Re: Table tags
Post by: Nomadic on January 09, 2012, 03:13:15 AM
They're just like standard html table tags (quote this post to see what I mean)


row 1 column 1row 1 column 2
row 2 column 1row 2 column 2