Results 1 to 20 of 20
  1. - Top - End - #1
    Troll in the Playground
     
    The-Mage-King's Avatar

    Join Date
    Oct 2009
    Location
    Central Florida, USA
    Gender
    Male

    Default New tables, converter

    So, a while back (meaning before the change in formatting), I asked a friend of mine who codes if he'd make a converted for me, so I could just c/p my old tables.


    He made one and stuck it as a webpage. Then he asked me to share it with you guys, since he thinks it'll generally be helpful.

    He stuck the source here, if anyone wants to look it over.


    Quick note on use: Change the { in a broken [table=head] tag back to a bracket, and the top row's formatting changes to [th] from [td], and changes the header to be different from the text.

    Spoiler: With header
    Show

    Bonus Type Rank
    Weapon Use 4
    Defensive Mastery 2
    Heroic Resistance 1
    Paragon 3
    Skill Mastery 2


    Spoiler: Without header
    Show

    Bonus Type Rank
    Weapon Use 4
    Defensive Mastery 2
    Heroic Resistance 1
    Paragon 3
    Skill Mastery 2




    Examples taken from one of my own homebrews.
    Last edited by The-Mage-King; 2014-04-12 at 12:47 PM.
    Avatar by Ceika.
    Steam account. Add me to argue about philosophy whatever!
    Advertized Homebrew: Fire Emblem 4's Holy Blood as Bloodlines
    Extended Signature.
    Using a different color of text for sarcasm is so original.

  2. - Top - End - #2
    Titan in the Playground
     
    nedz's Avatar

    Join Date
    Apr 2010
    Location
    London, EU
    Gender
    Male

    Default Re: New tables, converter

    Thanks, this was very handy.

    I'd have had to write one myself otherwise
    π = 4
    Consider a 5' radius blast: this affects 4 squares which have a circumference of 40' Actually it's worse than that.


    Completely Dysfunctional Handbook
    Warped Druid Handbook

    Avatar by Caravaggio

  3. - Top - End - #3
    Firbolg in the Playground
     
    PairO'Dice Lost's Avatar

    Join Date
    Dec 2008
    Location
    Malsheem, Nessus
    Gender
    Male

    Default Re: New tables, converter

    I did write one myself, but this is still handy. Thanks for sharing.
    Better to DM in Baator than play in Celestia
    You can just call me Dice; that's how I roll.


    Spoiler: Sig of Holding
    Show

    Quote Originally Posted by abadguy View Post
    Darn you PoDL for making me care about a bunch of NPC Commoners!
    Quote Originally Posted by Chambers View Post
    I'm pretty sure turning Waterdeep into a sheet of glass wasn't the best win condition for that fight. We lived though!
    Won a cookie for this, won everything for this

  4. - Top - End - #4
    Firbolg in the Playground
     
    Seerow's Avatar

    Join Date
    Apr 2005
    Gender
    Male

    Default Re: New tables, converter

    I've been using Word's Find and Replace function, but this is convenient.
    If my text is blue, I'm being sarcastic.But you already knew that, right?


  5. - Top - End - #5
    Ogre in the Playground
     
    Duck999's Avatar

    Join Date
    Mar 2013
    Location
    In Hammer Space
    Gender
    Male

    Default Re: New tables, converter

    Very handing seeming, but the convert button doesn't seem to do anything for me. I click it and nothing happens. Any idea what the problem is?
    Avatar made by Cuthalion| Other avatars.
    Spoiler: Quotes
    Show
    Quote Originally Posted by TFT on quicktopic
    Oh no, Duck999 is a mason.

    How can I possibly suspect you of being a wolf now? :(

    :P
    Quote Originally Posted by Legato Endless View Post
    Duck: Mason. A really shifty mason, but a confirmed role nonetheless.

    Slii: Slii is town. He looks better than Duck even with that mason claim.


  6. - Top - End - #6
    Firbolg in the Playground
     
    Seerow's Avatar

    Join Date
    Apr 2005
    Gender
    Male

    Default Re: New tables, converter

    Can you copy/paste the thread you're trying to convert here? (put it into a spoiler block)
    If my text is blue, I'm being sarcastic.But you already knew that, right?


  7. - Top - End - #7
    Troll in the Playground
     
    The-Mage-King's Avatar

    Join Date
    Oct 2009
    Location
    Central Florida, USA
    Gender
    Male

    Default Re: New tables, converter

    Quote Originally Posted by Duck999 View Post
    Very handing seeming, but the convert button doesn't seem to do anything for me. I click it and nothing happens. Any idea what the problem is?
    Might be javascript. Do you have it off?


    Alternatively, is the table inserted the old style?

    Like|this|?
    Avatar by Ceika.
    Steam account. Add me to argue about philosophy whatever!
    Advertized Homebrew: Fire Emblem 4's Holy Blood as Bloodlines
    Extended Signature.
    Using a different color of text for sarcasm is so original.

  8. - Top - End - #8
    Ogre in the Playground
     
    Duck999's Avatar

    Join Date
    Mar 2013
    Location
    In Hammer Space
    Gender
    Male

    Default Re: New tables, converter

    It's the old style definately. It could be the javascript part. I'll try again when there is someone more computer smart at my house.
    Avatar made by Cuthalion| Other avatars.
    Spoiler: Quotes
    Show
    Quote Originally Posted by TFT on quicktopic
    Oh no, Duck999 is a mason.

    How can I possibly suspect you of being a wolf now? :(

    :P
    Quote Originally Posted by Legato Endless View Post
    Duck: Mason. A really shifty mason, but a confirmed role nonetheless.

    Slii: Slii is town. He looks better than Duck even with that mason claim.


  9. - Top - End - #9
    Firbolg in the Playground
     
    Seerow's Avatar

    Join Date
    Apr 2005
    Gender
    Male

    Default Re: New tables, converter

    I just played around with the table converter some, and it seems pretty buggy.

    Having just [table] instead of [table=head] seems to cause it to die. I'm guessing this is Duck's issue, his table just didn't have a head element, and the converter doesn't know what to do with that.

    Having a newline after [table] but before any data goes in (which is something the old forums did support) results in the table head being empty and the intended header becoming the second row.

    A table using colspan doesn't cause it to not work, but it also just sticks the colspan code into the td (while afaik there's no way to get a colspan to work in the current bbcode, the converter should at least remove it).

    Also having extra new line characters causes it to add in extra blank rows, which will make tables look inexplicably ugly when people try to use it.


    for example this:
    Spoiler
    Show

    (pretend like the table=head and /table commands are at the start and end of this snippet, the board doesn't like them even inside a code element for some reason)
    Code:
    this | is | a | test
    
    this | is | a | test
    
    this | is | a | test
    this | is | a | test
    this | is | a | test


    turns into this:
    Spoiler
    Show
    this is a test
    this is a test
    this is a test
    this is a test
    this is a test



    Also looking at the output, the converter should make table="class:grid" the default, most people are going to want tables where you can actually see the borders.

    The correct output should look like:
    Spoiler
    Show
    this is a test
    this is a test
    this is a test
    this is a test
    this is a test
    Last edited by Seerow; 2014-03-31 at 06:22 PM.
    If my text is blue, I'm being sarcastic.But you already knew that, right?


  10. - Top - End - #10
    Troll in the Playground
     
    The-Mage-King's Avatar

    Join Date
    Oct 2009
    Location
    Central Florida, USA
    Gender
    Male

    Default Re: New tables, converter

    Hm. Passed along to the guy who did it. I'll let you know what he says.

    Might have to do with it being made for "this|is|a|test" instead of "this | is | a | test", though.
    Avatar by Ceika.
    Steam account. Add me to argue about philosophy whatever!
    Advertized Homebrew: Fire Emblem 4's Holy Blood as Bloodlines
    Extended Signature.
    Using a different color of text for sarcasm is so original.

  11. - Top - End - #11
    Titan in the Playground
     
    nedz's Avatar

    Join Date
    Apr 2010
    Location
    London, EU
    Gender
    Male

    Default Re: New tables, converter

    Hi, very useful tool but I have a small bug report.

    It may just be my tables but it seems to add an extra 1 cell line at the end. Coloured Purple in this example.

    Occasionally you also get some additional guff. Coloured Red in this example.

    Description Thread Pages Version
    Shadows of the Last War Yellow lock can only be opened by a yellow key which does not exist 4 11 3.5
    [/td]
    [/tr]
    [tr]
    [td]


    {table="class:grid"]
    [tr]
    [th][/th]
    [th]Description[/th]
    [th]Thread[/th]
    [th]Pages[/th]
    [th]Version[/th]
    [/tr]
    [tr]
    [td]Shadows of the Last War[/td]
    [td]Yellow lock can only be opened by a yellow key which does not exist[/td]
    [td]4[/td]
    [td]11[/td]
    [td]3.5[/td]
    [/tr]
    [tr]
    [td][/td]
    [/tr]

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


    Input String ([ changed to { obviously)

    {table=head]|Description|Thread|Pages|Version
    Shadows of the Last War|Yellow lock can only be opened by a yellow key which does not exist|4|11|3.5
    [/table]
    Last edited by nedz; 2014-03-31 at 06:51 PM.
    π = 4
    Consider a 5' radius blast: this affects 4 squares which have a circumference of 40' Actually it's worse than that.


    Completely Dysfunctional Handbook
    Warped Druid Handbook

    Avatar by Caravaggio

  12. - Top - End - #12
    Troll in the Playground
     
    The-Mage-King's Avatar

    Join Date
    Oct 2009
    Location
    Central Florida, USA
    Gender
    Male

    Default Re: New tables, converter

    Quote Originally Posted by Seerow View Post
    [TABLE ISSUE]
    This better?

    Spoiler: Post-update
    Show
    this is a test
    this is a test
    this is a test
    this is a test
    this is a test



    Quote Originally Posted by nedz View Post
    [OTHER ISSUE]
    Try now. Should work.

    EDIT: In summation, those bugs are fixed.
    Last edited by The-Mage-King; 2014-03-31 at 07:56 PM.
    Avatar by Ceika.
    Steam account. Add me to argue about philosophy whatever!
    Advertized Homebrew: Fire Emblem 4's Holy Blood as Bloodlines
    Extended Signature.
    Using a different color of text for sarcasm is so original.

  13. - Top - End - #13
    Firbolg in the Playground
     
    Seerow's Avatar

    Join Date
    Apr 2005
    Gender
    Male

    Default Re: New tables, converter

    Yeah that update seems to fix most of the issues.

    Using just [table] instead of [table=head] works now (and doesn't use the [th] tags, which is good), but doesn't set the table class to grid.
    If my text is blue, I'm being sarcastic.But you already knew that, right?


  14. - Top - End - #14
    Troll in the Playground
     
    The-Mage-King's Avatar

    Join Date
    Oct 2009
    Location
    Central Florida, USA
    Gender
    Male

    Default Re: New tables, converter

    Quote Originally Posted by Seerow View Post
    Yeah that update seems to fix most of the issues.

    Using just [table] instead of [table=head] works now (and doesn't use the [th] tags, which is good), but doesn't set the table class to grid.
    Alright, he says he fixed that one now, too.
    Avatar by Ceika.
    Steam account. Add me to argue about philosophy whatever!
    Advertized Homebrew: Fire Emblem 4's Holy Blood as Bloodlines
    Extended Signature.
    Using a different color of text for sarcasm is so original.

  15. - Top - End - #15
    Titan in the Playground
     
    nedz's Avatar

    Join Date
    Apr 2010
    Location
    London, EU
    Gender
    Male

    Default Re: New tables, converter

    Seems fine now thanks.

    Quote Originally Posted by Seerow View Post
    Yeah that update seems to fix most of the issues.

    Using just [table] instead of [table=head] works now (and doesn't use the [th] tags, which is good), but doesn't set the table class to grid.
    Other classes are possible: outer_border also exists
    Last edited by nedz; 2014-04-01 at 12:08 AM.
    π = 4
    Consider a 5' radius blast: this affects 4 squares which have a circumference of 40' Actually it's worse than that.


    Completely Dysfunctional Handbook
    Warped Druid Handbook

    Avatar by Caravaggio

  16. - Top - End - #16
    Troll in the Playground
     
    The-Mage-King's Avatar

    Join Date
    Oct 2009
    Location
    Central Florida, USA
    Gender
    Male

    Default Re: New tables, converter

    Just bumping to say that the converter now supports the new classes.
    Avatar by Ceika.
    Steam account. Add me to argue about philosophy whatever!
    Advertized Homebrew: Fire Emblem 4's Holy Blood as Bloodlines
    Extended Signature.
    Using a different color of text for sarcasm is so original.

  17. - Top - End - #17
    Ogre in the Playground
     
    Gulaghar's Avatar

    Join Date
    Sep 2009
    Location
    The Frozen North
    Gender
    Male

    Default Re: New tables, converter

    Thank your friend for me. I had a couple monstrous tables that needed updating, and this made it incredibly simple.

    I did find one issue. It doesn't matter to me, but this seems to strip out any formatting that was in the old cells. It might be an issue for some people.

  18. - Top - End - #18
    Troll in the Playground
     
    hoverfrog's Avatar

    Join Date
    Aug 2010
    Location
    England.
    Gender
    Male

    Default Re: New tables, converter

    This is really useful. I have a ridiculous number of posts and games with tables in plus my Useful Resources post with tracking tables in that I updated manually. This has prompted me to go through it again and add some small improvements.
    Current status: Regular posting
    Spoiler
    Show
    I now cycle 22 miles a day. If I stop posting it probably means that someone ran me off the road. Watch out for cyclists. We're squishy.

    Extended signature

  19. - Top - End - #19
    Troll in the Playground
     
    hoverfrog's Avatar

    Join Date
    Aug 2010
    Location
    England.
    Gender
    Male

    Default Re: New tables, converter

    Quote Originally Posted by gabylis View Post
    I click it and nothing happens. Any idea what the problem is? 。。
    Have you changed the first curly bracket to a square bracket?
    Current status: Regular posting
    Spoiler
    Show
    I now cycle 22 miles a day. If I stop posting it probably means that someone ran me off the road. Watch out for cyclists. We're squishy.

    Extended signature

  20. - Top - End - #20
    Dwarf in the Playground
     
    PirateWench

    Join Date
    Jan 2010
    Gender
    Female

    Default Re: New tables, converter

    I can't get it to work :(

    Trying to rescue these amazing resources: http://www.giantitp.com/forums/showt...gic-Item-Lists

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •