[ spoiler ] your text here [/ spoiler ] write that, but without spaces, and looks like this: Spoiler your text here
you got it right! also you could use the "preview post" button, to see if it works, before you submit your post,