Author Topic: Table tags  (Read 6178 times)

brainface

  • Modron
  • *
  • Posts: 1117
    • View Profile
Table tags
« 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]
Sorry but you are not allowed to view spoiler contents.

Sorry but you are not allowed to view spoiler contents.


You may also use TableHeader (
Code: [Select]
[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
Code: [Select]
element.)

If you give
Code: [Select]
[table=a Title] the title appears as a caption above the table. for the html savy, that's an actual
Code: [Select]
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.



Sorry but you are not allowed to view spoiler contents.


Sorry but you are not allowed to view spoiler contents.


Sorry but you are not allowed to view spoiler contents.
« Last Edit: May 13, 2006, 12:43:56 AM by Xeviat »
"The perfect is the enemy of the good." - Voltaire

Poseptune

  • Giant Space Hamster
  • *
  • Posts: 691
    • View Profile
Table tags
« Reply #1 on: May 13, 2006, 12:42:52 AM »
I bow before your generosity. :hail:  :hail: :hail:  :hail: :hail:  :hail:
Sorry but you are not allowed to view spoiler contents.


 Markas Dalton

Ishmayl-Retired

  • Gelatinous Cube
  • *
  • Posts: 2415
    • View Profile
Table tags
« Reply #2 on: May 13, 2006, 09:37:21 AM »
'bout durned time, brain! ;)  thanks
!turtle Ishmayl, Overlord of the CBG

- Proud Recipient of the Kishar Badge
- Proud Wearer of the \"Help Eldo Set up a Glossary\" Badge
- Proud Bearer of the Badge of the Jade Stage
- Part of the WikiCrew, striving to make the CBG Wiki the best wiki in the WORLD

For finite types, like human beings, getting the mind around the concept of infinity is tough going.  Apparently, the same is true for cows.

Epic Meepo

  • Giff
  • *
  • Posts: 810
    • View Profile
Table tags
« Reply #3 on: May 13, 2006, 01:02:58 PM »
You rock, brainface!
The Unfinished World campaign setting
Proud recipient of a Silver Dorito Award.
Unless noted otherwise, this post contains no Open Game Content.
Sorry but you are not allowed to view spoiler contents.

brainface

  • Modron
  • *
  • Posts: 1117
    • View Profile
Table tags
« Reply #4 on: May 13, 2006, 02:23:16 PM »
Code: [Select]
[class][/class] BBcode.
tabling code made specifically for character classes. look at the examples.

Sorry but you are not allowed to view spoiler contents.

[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]


Sorry but you are not allowed to view spoiler contents.

[/quote]



Sorry but you are not allowed to view spoiler contents.

[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]


Sorry but you are not allowed to view spoiler contents.

[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]


Sorry but you are not allowed to view spoiler contents.

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.
"The perfect is the enemy of the good." - Voltaire

Xathan

  • Gelatinous Cube
  • *
  • Posts: 2211
    • View Profile
Table tags
« Reply #5 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.
AnIndex of My Work

Quote from: Sparkletwist
It's llitul and the brain, llitul and the brain, one is a genius and the other's insane
Proud Receiver of a Golden Dorito
Sorry but you are not allowed to view spoiler contents.

Numinous

  • Flail Snail
  • *
  • Posts: 1708
    • View Profile
Table tags
« Reply #6 on: May 13, 2006, 04:38:41 PM »
Rockin' man, just rockin'...  For once, i feel haapy about knowing tables in html :P
Previously: Natural 20, Critical Threat, Rose of Montague
- Currently working on: The Smoking Hills - A bottom-up, seat-of-my-pants, fairy tale adventure!

Xathan

  • Gelatinous Cube
  • *
  • Posts: 2211
    • View Profile
Table tags
« Reply #7 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
AnIndex of My Work

Quote from: Sparkletwist
It's llitul and the brain, llitul and the brain, one is a genius and the other's insane
Proud Receiver of a Golden Dorito
Sorry but you are not allowed to view spoiler contents.

Epic Meepo

  • Giff
  • *
  • Posts: 810
    • View Profile
Table tags
« Reply #8 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.
The Unfinished World campaign setting
Proud recipient of a Silver Dorito Award.
Unless noted otherwise, this post contains no Open Game Content.
Sorry but you are not allowed to view spoiler contents.

Soup Nazi

  • Giant Space Hamster
  • *
  • Posts: 746
    • View Profile
Table tags
« Reply #9 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.
The spoon is mightier than the sword


brainface

  • Modron
  • *
  • Posts: 1117
    • View Profile
Table tags
« Reply #10 on: May 15, 2006, 11:49:59 PM »
Quote from: cleric
tag.

note that spells CAN be done now, KINDA, a la
Sorry but you are not allowed to view spoiler contents.

[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.


Quote from: unique manifesters

unique power points/day: psion, psychic warrior, psionic fist, warmind
unique powers known: psion, psychic warrior, wilder


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. ;))
"The perfect is the enemy of the good." - Voltaire

Epic Meepo

  • Giff
  • *
  • Posts: 810
    • View Profile
Table tags
« Reply #11 on: May 16, 2006, 03:32:30 AM »
[class=
BRAINFACE
Code: [Select]
        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!!!!!
Code: [Select]
            [/4]

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

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.
The Unfinished World campaign setting
Proud recipient of a Silver Dorito Award.
Unless noted otherwise, this post contains no Open Game Content.
Sorry but you are not allowed to view spoiler contents.

Túrin

  • Giff
  • *
  • Posts: 924
    • View Profile
Table tags
« Reply #12 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
Proud owner of a Golden Dorito Award
My setting Orden's Mysteries is no longer being updated


"Then shall the last battle be gathered on the fields of Valinor. In that day Tulkas shall strive with Melko, and on his right shall stand Fionwe and on his left Turin Turambar, son of Hurin, Conqueror of Fate; and it shall be the black sword of Turin that deals unto Melko his death and final end; and so shall the Children of Hurin and all men be avenged." - J.R.R. Tolkien, The Shaping of Middle-Earth

Xeviat

  • Flail Snail
  • *
  • Posts: 2086
    • View Profile
Table tags
« Reply #13 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.
Endless Horizons: Action and adventure set in a grand world ripe for exploration.

Proud recipient of the Silver Tortoise Award for extra Krunchyness.

Lmns Crn

  • Giant Space Hamster
  • *
  • Posts: 717
    • View Profile
Table tags
« Reply #14 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.
I move quick: I'm gonna try my trick one last time--
you know it's possible to vaguely define my outline
when dust move in the sunshine