To place a spoiler warning use
{{Spoilerwarning}}
This template will add tagged pages to Category:Spoiler.