Template:Spoiler
Overview
Use this spoiler tag to hide text until it is revealed by clicking on it. It can then be toggled back on by clicking again.
The spoiler works for inline text and multiple paragraphs. It can hide templates, but once opened, they might not be able to be hidden again.
[This currently does not work for MediaWiki files that use the frame or thumb parameters]
Parameters
| Parameter | Description | Example | |
|---|---|---|---|
1 or content |
required | Content of the spoiler | content=This is a spoiler!
|
type |
optional | Is the content of the spoiler an image or a big text block | type=block or type=image
|
blur |
optional | Should the text be blurred instead of blocked? | blur=y or blur=yes
|
Example
To hide text inline, use:
Example text that is before the spoiler: {{Spoiler|This is a spoiler!}} And an example text after the spoiler.
to get this:
Example text before the spoiler: This is a spoiler!
Overview
Use this spoiler tag to hide text until it is revealed by clicking on it. It can then be toggled back on by clicking again.
The spoiler works for inline text and multiple paragraphs. It can hide templates, but once opened, they might not be able to be hidden again.
[This currently does not work for MediaWiki files that use the frame or thumb parameters]
Parameters
| Parameter | Description | Example | |
|---|---|---|---|
1 or content |
required | Content of the spoiler | content=This is a spoiler!
|
type |
optional | Is the content of the spoiler an image or a big text block | type=block or type=image
|
blur |
optional | Should the text be blurred instead of blocked? | blur=y or blur=yes
|
Example
To hide text inline, use:
Example text that is before the spoiler: {{Spoiler|This is a spoiler!}} And an example text after the spoiler.
to get this:
Example text before the spoiler: Template loop detected: Template:Spoiler And an example text after the spoiler.
To hide text that spans multiple lines, use:
{{Spoiler|type=block|
This is a long spoiler!
It uses multiple lines!!!
}}
to get this:
Template loop detected: Template:Spoiler
To hide text, both inline or multiple lines, by blurring, use:
{{Spoiler|type=block|blur=yes|
This is a long spoiler!
It is uses multiple lines!!!
}}
to get this:
Template loop detected: Template:Spoiler
Hide images by using type=image: [This currently does not work for MediaWiki files that use the frame or thumb parameters]
{{Spoiler|type=image|[[File:Promotion 16.png]]}}
to get this:
Template loop detected: Template:Spoiler
The spoiler template is based on this template
And an example text after the spoiler.
To hide text that spans multiple lines, use:
{{Spoiler|type=block|
This is a long spoiler!
It uses multiple lines!!!
}}
to get this:
Overview
Use this spoiler tag to hide text until it is revealed by clicking on it. It can then be toggled back on by clicking again.
The spoiler works for inline text and multiple paragraphs. It can hide templates, but once opened, they might not be able to be hidden again.
[This currently does not work for MediaWiki files that use the frame or thumb parameters]
Parameters
| Parameter | Description | Example | |
|---|---|---|---|
1 or content |
required | Content of the spoiler | content=This is a spoiler!
|
type |
optional | Is the content of the spoiler an image or a big text block | type=block or type=image
|
blur |
optional | Should the text be blurred instead of blocked? | blur=y or blur=yes
|
Example
To hide text inline, use:
Example text that is before the spoiler: {{Spoiler|This is a spoiler!}} And an example text after the spoiler.
to get this:
Example text before the spoiler: Template loop detected: Template:Spoiler And an example text after the spoiler.
To hide text that spans multiple lines, use:
{{Spoiler|type=block|
This is a long spoiler!
It uses multiple lines!!!
}}
to get this:
Template loop detected: Template:Spoiler
To hide text, both inline or multiple lines, by blurring, use:
{{Spoiler|type=block|blur=yes|
This is a long spoiler!
It is uses multiple lines!!!
}}
to get this:
Template loop detected: Template:Spoiler
Hide images by using type=image: [This currently does not work for MediaWiki files that use the frame or thumb parameters]
{{Spoiler|type=image|[[File:Promotion 16.png]]}}
to get this:
Template loop detected: Template:Spoiler
The spoiler template is based on this template
To hide text, both inline or multiple lines, by blurring, use:
{{Spoiler|type=block|blur=yes|
This is a long spoiler!
It is uses multiple lines!!!
}}
to get this:
Overview
Use this spoiler tag to hide text until it is revealed by clicking on it. It can then be toggled back on by clicking again.
The spoiler works for inline text and multiple paragraphs. It can hide templates, but once opened, they might not be able to be hidden again.
[This currently does not work for MediaWiki files that use the frame or thumb parameters]
Parameters
| Parameter | Description | Example | |
|---|---|---|---|
1 or content |
required | Content of the spoiler | content=This is a spoiler!
|
type |
optional | Is the content of the spoiler an image or a big text block | type=block or type=image
|
blur |
optional | Should the text be blurred instead of blocked? | blur=y or blur=yes
|
Example
To hide text inline, use:
Example text that is before the spoiler: {{Spoiler|This is a spoiler!}} And an example text after the spoiler.
to get this:
Example text before the spoiler: Template loop detected: Template:Spoiler And an example text after the spoiler.
To hide text that spans multiple lines, use:
{{Spoiler|type=block|
This is a long spoiler!
It uses multiple lines!!!
}}
to get this:
Template loop detected: Template:Spoiler
To hide text, both inline or multiple lines, by blurring, use:
{{Spoiler|type=block|blur=yes|
This is a long spoiler!
It is uses multiple lines!!!
}}
to get this:
Template loop detected: Template:Spoiler
Hide images by using type=image: [This currently does not work for MediaWiki files that use the frame or thumb parameters]
{{Spoiler|type=image|[[File:Promotion 16.png]]}}
to get this:
Template loop detected: Template:Spoiler
The spoiler template is based on this template
Hide images by using type=image: [This currently does not work for MediaWiki files that use the frame or thumb parameters]
{{Spoiler|type=image|[[File:Promotion 16.png]]}}
to get this:
Overview
Use this spoiler tag to hide text until it is revealed by clicking on it. It can then be toggled back on by clicking again.
The spoiler works for inline text and multiple paragraphs. It can hide templates, but once opened, they might not be able to be hidden again.
[This currently does not work for MediaWiki files that use the frame or thumb parameters]
Parameters
| Parameter | Description | Example | |
|---|---|---|---|
1 or content |
required | Content of the spoiler | content=This is a spoiler!
|
type |
optional | Is the content of the spoiler an image or a big text block | type=block or type=image
|
blur |
optional | Should the text be blurred instead of blocked? | blur=y or blur=yes
|
Example
To hide text inline, use:
Example text that is before the spoiler: {{Spoiler|This is a spoiler!}} And an example text after the spoiler.
to get this:
Example text before the spoiler: Template loop detected: Template:Spoiler And an example text after the spoiler.
To hide text that spans multiple lines, use:
{{Spoiler|type=block|
This is a long spoiler!
It uses multiple lines!!!
}}
to get this:
Template loop detected: Template:Spoiler
To hide text, both inline or multiple lines, by blurring, use:
{{Spoiler|type=block|blur=yes|
This is a long spoiler!
It is uses multiple lines!!!
}}
to get this:
Template loop detected: Template:Spoiler
Hide images by using type=image: [This currently does not work for MediaWiki files that use the frame or thumb parameters]
{{Spoiler|type=image|[[File:Promotion 16.png]]}}
to get this:
Template loop detected: Template:Spoiler
The spoiler template is based on this template
The spoiler template is based on this template


