Template:Spoiler/doc
Examples
{{Spoiler}}
![]() Spoiler warning: Plot details follow. of the next episode/issue in the series or 30 days after release, whichever is sooner |
This template includes an optional storylink parameter. You can include a link to the article the section spoils with the following syntax:
{{Spoiler|ARTICLENAME}}
![]() Spoiler warning: Plot details for ARTICLENAME follow. of the next episode/issue in the series or 30 days after release, whichever is sooner |
This template also includes an optional (but recommended) expiration time parameter. You can set a plain-English date such as 'August 12' to indicate when the spoiler will expire, and the tag will indicate how long it has until it does expire. This is to let readers know how 'fresh' the spoilers are, and to let editors know when it is alright to include this information in the larger article without 'compartmentalizing' it in the section below the spoiler tag.
{{Spoiler|ARTICLENAME|August 12}}
![]() Spoiler warning: Plot details for ARTICLENAME follow. |
Articles for which no expiration date is set are sorted into Category: Articles with nonexpiring spoiler tags
Once an expiration date has passed, the articles are sorted into Category: Articles with expired spoilers tags
Technical Documentation
Architecture
Note for future editors: This template requires both the sub-template Template:Spoiler/guts and the redirect to that sub-template Template:Spoiler/guts_recurs in order to work. If somethign is broken, look there.
The 'rendering' portion of this template is handles in the first section of Template:Spoiler/guts. That is where the output can be adjusted. See also: Template:messagebox, the output template being used.
This template was designed by user:Derik Feel free to ask him questions about it when it inevitably breaks.
Last Good Version
If something is broken and you need to quickly revert this template to fix it:
The last good "Dumb" version of this template is [June 9, 2008].
The last good "Smart" (expiring) versions of this template/subtemplate are June 12. Template:spoiler Template:spoiler/guts Template:spoiler/guts_recurs
Old 'Last Good Versions'
Older 'Last good' versions of the smart templates are below:
- None yet.
If you make changes to the template's look, please update the 'last good' dates.


