List to HTML Generator

Version 3.2






Include "show tables" option:
Process dice rolls:


Instructions:
  • A generator has three parts: a name (box one), a structure (box two), and one or more lists (box three).
  • The structure controls how the generator output is laid out, and which lists it uses to form the output.
  • The lists are used to fill in the structure each time the button is pressed.
  • The structure and lists can be structureted using basic markdown, **bold**, *italics**, or __underlined__.
  • Lists can also contain headers, which act the exact same way as headers in the structure. Use this to create subtables.
  • The lists of random elements can usually be copied from any source. The generator will ignore dashes or numbers at the start of lists item. Make sure each list has at least two breaks between them.
  • The first list item is always the header of that list. To access a header in the structure, put the header in {curly brackets}. If a header can't be found, anything in curly brackets is printed in the structure.
  • You can test the the generator at any point using the "test output" button.
  • Once a generator has been copied, it can be pasted directly into any website or blogpost in HTML-mode. If you are using multiple generators on one page, only one copy of the "expandString" function is required.
  • If messing around with brackets and structures seems like a lot of effort after making several lists, there is a shortcut. The "I'm feeling lucky" button will search for any list headers items in the structure and make a best guess as to how the output should work.
  • If the structure is completely empty, "I'm feeling lucky" will add a single entry from every list to the structure.
  • If you want to reduce the number of "duplicates" produced by the generator, use a -u flag in the header like so: {list_name -u}
  • Each generator is marked with a tag (unique three letters) to guarantee that multiple generators will work in the same post.
  • The "show tables" option adds an extra button to the generator that shows the full lists.
  • The "process dice rolls" option will roll anything of that matches the format "3d6+2", or part thereof.
  • While you shouldn't blindly trust code-produced-by-code found on the internet, nothing produced by this page can harm you or your website in any way. However, don't just take my word for it! The output of the generator is formatted to be as human-readable and modular as possible, and if you have any questions about what is going on, feel free to ask me.
  • If you find a bug, leave a comment below and I'll get on it as soon as feasible. You'll also be awarded 1 XP in any game I run, or 2% XP towards your next level in any other game (you can show your DM this if they require proof).

4 comments:

  1. I am still having the problem of generators made with the generator-generator sending the sidebar to the bottom of the page. Tried remaking it just now, to no avail.

    ReplyDelete
    Replies
    1. That is incredibly odd, I have never seen that in my entire life. Copied out the source and deleted the generator from it, but didn't seem to change? Maybe something has happened to your theme?? Sorry I can't be of more help!

      Delete
  2. I love this generator - and I made a character generator with it! https://falseidolstla.blogspot.com/2020/09/vain-sword-full-character-generator.html?m=1

    ReplyDelete
  3. Two more tributes. More and more useful as time goes on
    https://whosemeasure.blogspot.com/2020/10/glogtober-14-table.html
    https://whosemeasure.blogspot.com/2020/10/glogtober-28-orb-again.html

    ReplyDelete