Template:Spoiler Warning/doc

From Minecraft Wiki
Jump to: navigation, search
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information

This template should be used on pages (or sections) that contains information that may spoil something in the game that the player may instead want to find out for themselves.

Usage

{{Spoiler Warning}}


Add |section to the template when it is only a single section of an article that has spoilers in it.

{{Spoiler Warning|section}}

Produces:

Spoiler warning
Spoiler warning! This section contains detailed information about Minecraft that may spoil your enjoyment of discovering the game's secrets for yourself.
Read at your own risk!

You can also use the template for subjects that are not in-game by using the 2nd parameter.

{{Spoiler Warning||this book}}

Produces:

Spoiler warning
Spoiler warning! 
This article contains detailed information about this book that may spoil your enjoyment of it. Read at your own risk!

{{Spoiler Warning|section|the Minecraft website}}

Produces:

Spoiler warning
Spoiler warning! This section contains detailed information about the Minecraft website that may spoil your enjoyment of it. Read at your own risk!