Template:Spoiler

The template code

{{Spoiler}}

will expand to the following text:

Warning: The following may contain plot or ending details.

Place this above discussions of stories that may include such spoilers.