All The Tropes:Style Guide/Spoilers: Difference between revisions

Content added Content deleted
(→‎Unmarked Spoilers That Ought To Be Marked: linked the phrase "a special category where it can be found by those looking to fix things" to the category in question.)
Line 68: Line 68:
: {{spoiler| Highlight to reveal! }}
: {{spoiler| Highlight to reveal! }}
: <nowiki>{{spoiler| Highlight to reveal! }}</nowiki>
: <nowiki>{{spoiler| Highlight to reveal! }}</nowiki>

Note that putting a quote inside spoiler markup causes an error.<ref>This is a technical issue caused by the way a quotation is formatted when using quote markup.</ref> If you want to mark a quote as a spoiler, put the spoiler markup inside the quote markup, not the other way around.


Sometimes, you might want to have completely hidden spoilered text. You can generally accomplish such things with HTML tags and CSS styles.
Sometimes, you might want to have completely hidden spoilered text. You can generally accomplish such things with HTML tags and CSS styles.