Difference between revisions of "Template:Spoiler/doc"

355 bytes removed ,  21:15, 18 December 2019
i dunno what the previous documentation was all about.... cleanup
m (Text replacement - "Style & Content Templates" to "Maintenance Templates")
(i dunno what the previous documentation was all about.... cleanup)
Line 1: Line 1:
{{documentation-improvement | date = August 2010 }}
{{documentation shell|name=spoiler|info = to warn readers that the following text has spoilers}}
 
{{documentation shell
| name = Spoiler
| info = to hide something
| see also =
{{text-templates}}
----
{{Maintenance Templates}}
----
{{Article Templates}}
}}


== Purpose ==
== Purpose ==
Copied off of {{t|Hide}} and then modified, this template will hide whatever you need with a very sturn warning......of saying click the [show] text to show what's hidden.  
This template warns readers that the following text has spoilers.  
 


== Usage ==
== Usage ==
=== Example ===
=== Parameters ===
<pre>
This template has no parameters.
{{spoiler
| colors = character
| content = i like pie
}}
</pre>


gives you:
==Example==
Simplify type <code><nowiki>{{spoiler}}</nowiki></code> to display the notice:


{{spoiler
{{spoiler}}
| colors = character
| content = i like pie
}}
 
=== Parameters ===
;colors
:what [[Lylat Wiki:Color Scheme|Color Scheme]] do you wish to use?
;content
:what do you wish to hide?


<noinclude>[[Category:Documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Documentation|{{PAGENAME}}]]</noinclude>
8,161

edits