Template:Textspoilers

Usage
Create a spoiler section with

which gives:

or

which gives: