i’m looking to make a generator to store ttrpg stat blocks, and use buttons to roll ability checks, saving throws, etc. the 5e stat block generator template with the drop-down menu seems like a good starting point, but since the cards are generated on the fly rather than being static in the html, i don’t know how or where i’d put the code together to add buttons with little output fields below them for the rolls to go.
thank you in advance for helping! i’m very grateful for the help i’ve received so far and for any i receive in the future! <3

  • VioneTM
    link
    English
    111 months ago

    Can you link the generator that you have made attempts on? Also, see the tap-plugin, if you want a tap-to-randomize text.

      • VioneTM
        link
        English
        1
        edit-2
        11 months ago

        Can you give like a ‘skeleton’ of what it would be like?

        In the generator, on the left side, here are the parts you will edit:

        1. The Title of the Card
        2. Sub Title of the Card
        3. The Title of the paragraph
        4. Text of the paragraph.


        Here is where they would display on the output.

        If this is your first time in Perchance, I recommend looking through the tutorials (Perchance Tutorial and Perchance Examples or Perchance Snippets) to understand the syntax of the code.

        • @starrymoonbowOP
          link
          English
          110 months ago

          oh dear oops i completely forgot that i’d asked for help earlier! i’m sorry! i’ve decided to move to a less complex project for the time being and come back to this one another time. but thank you very much for trying to help! :0