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")
(article)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{documentation-improvement | date = August 2010 }}
{{documentation shell|name=Spoiler|info = Warns 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.  
The template warns readers that the following text contains spoilers.  
 


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


gives you:
==Example==
Simply 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>

Latest revision as of 16:02, 10 May 2020

Name Spoiler
Link {{Spoiler}}
Info Warns readers that the following text has spoilers.


Purpose

The template warns readers that the following text contains spoilers.

Usage

Parameters

This template has no parameters.

Example

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


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