Welcome to the Lylat Wiki, all about the Star Fox series! If you'd like to help out, please take a look at our community portal.

Difference between revisions of "Template:Spoiler/doc"

From Lylat Wiki, your source on Star Fox information. By Fans, for Fans.
Jump to navigationJump to search
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>

Revision as of 21:15, 18 December 2019

Name spoiler
Link {{spoiler}}
Info to warn readers that the following text has spoilers


Purpose

This template warns readers that the following text has spoilers.

Usage

Parameters

This template has no parameters.

Example

Simplify type {{spoiler}} to display the notice:


Spoiler warning: The following contains key plot or ending details.