Two forms. First form is the plain form. No statement of content and the spoiler vanishes when opened (so you can't close it again) Second form gives a statement of the spoiler contents and can collapse again after opened Hopefully it should be obvious that in both cases what I put in green is what you should change around to fit your needs.