Template:Spoiler
Jump to navigation
Jump to search
Creates a box spreading the width of the page warning the user of possible spoilers in the following text.
Parameters
| Parameter name | Required? | Default value | Description |
|---|---|---|---|
target |
No | (n/a) | Optional HTML anchor which will be linked for the user to skip a text passage |
Usage
See the template's testcases:
| No parameter | |
|---|---|
| Wiki code | {{Spoiler}} |
| Main version |
|
| Sandbox version | Template:Spoiler/sandbox |
| Parameter: target | |
|---|---|
| Wiki code | {{Spoiler|target=name_of_anchor}} |
| Main version |
|
| Sandbox version | Template:Spoiler/sandbox |
See also
| The above documentation is transcluded from Template:Spoiler/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |
