Template:Spoiler

{{Spoiler|Hidden Text}}
gets you this:

Hidden Text

{{Spoiler|Green Hidden Text|00FF00}}
gets you this:

Green Hidden Text