Template:AdvancedSpoiler/doc

Usage
Create a spoiler section with

which gives:

or

which gives:

To add the image, make sure the image parameter is set to yes

which gives: