|
|
Line 59: |
Line 59: |
| <code><nowiki>{{SpoilerWarning|nograd=1}}</nowiki></code> | | <code><nowiki>{{SpoilerWarning|nograd=1}}</nowiki></code> |
|
| |
|
| == Spoiler Boxes vs Blurs ==
| |
| When we want to hide a spoiler, we have two options: the Spoiler Box and the Blur templates. The Spoiler Box creates a box that has to be clicked to reveal the content within, while the Blur obscures the text until it is hovered over.
| |
|
| |
| === Spoiler Boxes ===
| |
| ''For more information see [[Template: SpoilerBox]] and/or [[Template: RomanceBox]]''
| |
|
| |
| When we need to tuck away a spoiler in the main content of an article, most of the time you'll want to use a Spoiler Box. To make sure it isn't missed, you should use the default Spoiler Box with the gradient: <code><nowiki>{{SpoilerBox|This text will be hidden.}}</nowiki></code>. However, if you're using multiple Spoiler Boxes or a combination of Spoiler Warnings and Spoiler Boxes, you can use the ungraded version: <code><nowiki>{{SpoilerBox|nograd=1|This text will be hidden.}}</nowiki></code>.
| |
|
| |
| If you find yourself with an offhand spoiler in the main content of the article, ask yourself if including it is necessary.
| |
|
| |
| We also have a '''Romance Spoiler Box''', which is intended for the Romance sections of articles. All information about a potential romantic encounter the player can have with a companion or other character should be under a header called Romance, and inside of a Romance Spoiler Box.
| |
|
| |
| === Blur ===
| |
| ''For more information see [[Template:linkblur]], [[Template:pblur]], and [[Template:imgblur]]''
| |
|
| |
| The Blur family of templates is only intended for use in the navigation boxes or when a list includes a significant spoiler you wouldn't expect on the page. This is in part because there are accessibility concerns with blurred content, as well as usability concerns: it's a lot harder to use a page if large parts of it only reveal themselves when hovered over!
| |
|
| |
| You may see [[Template:Blur]] and [[Template:SpoilerBlur]] used on existing pages. These two templates should be considered deprecated and be converted to, respectively, [[Template:linkblur]] and [[Template:pblur]].
| |
| [[Category:Wiki guidelines]] | | [[Category:Wiki guidelines]] |