Usually, it would be used like this:
<spoiler> Content to hide initially. </spoiler>
Test:
Output:
<spoiler |with title>content</spoiler>
<spoiler |>empty title</spoiler>
<spoiler |Spoiler with title and table inside> ^Table^^ ^ID|content| ^zero| nothing | </spoiler>
Test by NobodyUser