Template:Spoiler

From Tv Tropes

(Difference between revisions)
(.)
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 11: Line 11:
{{documentation}}
{{documentation}}
 +
{{Wikipedia|:ro:Format:Citare}}{{2012}}
</noinclude>
</noinclude>

Revision as of 16:11, 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

This page uses content from Wikipedia. The original article was at :ro:Format:Citare.
The list of authors can be seen in the page history. The text of this article is available under the GNU Free Documentation License and the Creative Commons Attribution-Share Alike 3.0 license.

Template:Wiki-ro/lang

Personal tools