Skip to content

🐞 Working with Tables #366

Open
Open
@HippyCraig

Description

@HippyCraig

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

so just for simplicity I created a table and I want the user to click on the dice on the text line: Rool from Table 3, which works ok but Im not sure why some things are nessesary and how to add additional flags.

| d6  | Encounter       |
| --- | --------------- |
| 1   | Damaged Walls   |
| 2   | Treasure        |
| 3   | Pit Trap        |
| 4   | Troglodytes     |
| 5   | Skeletons       |
| 6   | The Lost Knight |
^blockid003

Roll from Table 3: `dice: [[TTRPTables^blockid003]]|Encounter`

For starters since the table is in the same MD doc Im not sure why I have to mention it here, what if I decided later to change the name of the page then all my rolls would break.

Second is that I tried to add the |none flag but that doesnt seem to work correctly. I even have it set globaly to not have a value on page load but it still runs the dice formula. I even tried adding it inline with the formula but there isnt anything in the documentation that I saw that disucsed how to add mutiple flags. Some examples gave me some clues but no of it worked

Roll from Table 3: `dice: [[TTRPTables^blockid003]]|Encounter, none`
Roll from Table 3: `dice: [[TTRPTables^blockid003]]|Encounter|none`

Utimatly I would just like to have the ID of the table if its in the same page and to be able to add mutiple options together

Current behaviour

The current behavor based on what I tried above was just displaying the formula on on the rendered page and doesnt function as anything but text.

image

Reproduction

image

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.7.7

Plugin Version

11.4.1

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions