Template:SpoilerBlocks/doc

From Project Wingman Wiki
Jump to navigation Jump to search

This is a template that alerts the user of spoilers present in an article or section. This template is to be used in conjunction with <span class="spoiler"></span> code blocks in the relevant article or section. On desktop, the template generates a message box. On mobile, the template generates a large text warning.

For cases where the entire article contains spoilers (i.e. one would have to use the span code blocks across the entire article), use Template:Spoiler at the top of the article instead.

Usage

{{SpoilerBlocks}}

Parameters

This template takes no parameters.