I have this on the main page:
[spoiler title=”word” anchor=”#Definition_of_Word”]Definition[/spoiler]
On another page, I have:
Word
What do I need to add to make the definition visible when the link is clicked from the other page?
You need to remove # symbol from anchor.
Shortcode
[spoiler title="word" anchor="Definition_of_Word"]Definition[/spoiler]
Link
<a href="#Definition_of_Word">Word</a>
You can also find more useful examples by navigating to Dashbaord -> Shortcodes -> Examples -> Spoilers…