Template:Spoiler

From Tv Tropes

(Difference between revisions)
(.)
 
(One intermediate revision not shown)
Line 1: Line 1:
<u><span style="background:white; color:white">{{{1|}}}</span></u>
<u><span style="background:white; color:white">{{{1|}}}</span></u>
-
[[Category:Pages with spoiler tags<noinclude>| </noinclude>]]<noinclude>
+
[[Category:Pages With Spoiler Tags<noinclude>| </noinclude>]]<noinclude>
Usage: <nowiki>{{spoiler|Text}}</nowiki>. Results in {{spoiler|Text}}.
Usage: <nowiki>{{spoiler|Text}}</nowiki>. Results in {{spoiler|Text}}.
Line 9: Line 9:
I haven't found a way to make the text visible from "User preference", but you're welcomed to tinker with the content (preferably in a sandbox and leave the main template alone until you're sure your changes don't make the wiki look ugly).
I haven't found a way to make the text visible from "User preference", but you're welcomed to tinker with the content (preferably in a sandbox and leave the main template alone until you're sure your changes don't make the wiki look ugly).
 +
 +
[[Category:Maintenance Templates]]
{{documentation}}
{{documentation}}
 +
{{2012}}
</noinclude>
</noinclude>

Current revision as of 16:12, 16 April 2012

Usage: {{spoiler|Text}}. Results in Text.

This template works on any skin. The principle is simple: forced background into white, forces text into white. Selecting reveals the text. The color can be changed, but needs to be changed on both "background" and "white", but I really suggest you keep it the same color as the skin. TV Tropes Darth Wiki shows how ugly black on even a dark color is.

All text released under Creative Commons Attribution-Share Alike 3.0 license, if this template is useful to you, please link to Wikinfo and mention the author is A.A.

I haven't found a way to make the text visible from "User preference", but you're welcomed to tinker with the content (preferably in a sandbox and leave the main template alone until you're sure your changes don't make the wiki look ugly).Template:Documentation

Personal tools