---
title: "References"
description: "You can reference other roll formulas by ID using `@{id}` or `@{id}[label]`. This is useful for modular or reusable roll components."
canonical: "https://www.questportal.com/documentation/UM5iT6IMW1/references"
section: "Documentation / Dice / Roll Formulas / Advanced Features"
source: "Quest Portal documentation"
version: 237
---

# References

You can reference other roll formulas by ID using \`@{id}\` or \`@{id}\[label\]\`. This is useful for modular or reusable roll components.

- \`@{damage}\` - Use the roll formula stored under the reference "damage".
- \`@{bonus}\[extra\]\` - Use the roll formula stored under "bonus" and label it "extra".
- IDs may consist of letters, digits, underscores, and dashes (\`\[a-zA-Z0-9\_\\-\]\`) but **must not** contain spaces, dots, or other symbols.

> **_Note_**_: The \`@{id}\` syntax is the underlying technical implementation for references. The Roll Formula editor abstracts this syntax away, allowing references to be created without needing to type the \`@\` symbol._

---

Part of the [Quest Portal documentation](https://www.questportal.com/documentation.md) (Documentation / Dice / Roll Formulas / Advanced Features). HTML version: <https://www.questportal.com/documentation/UM5iT6IMW1/references>.
