Template:Spoiler

Usage
Create a spoiler section with

which gives:

or

which gives: