Do the brackets [ and ] enclosing the word "spoiler" Like this > (spoiler) then when you're done adding your message, do (/spoiler) with the forward slash. But replace the Parenthesis in the example with Brackets!
To name a spoiler...
Simply do (spoiler=(Name))
and again, add your message and when you're done do (/spoiler)