Difference between revisions of "Template:Spoiler"

From Moegirlpedia
Jump to: navigation, search
m
Line 1: Line 1:
<includeonly>{{font|title={{{2|You've known too much.}}}|class=inline-spoilers|{{{1}}}|css={{{css|}}}}}</includeonly><noinclude>
+
<includeonly>{{font|title={{{2|You've known too much.}}}|class=inline-spoilers|{{{1}}}|css={{{css|}}}}}</includeonly><noinclude>{{doc|content=
Usage:<pre>
+
==Redirects==
 +
<code>&#123;&#123;[[Template:Block|Block]]&#125;&#125;</code>
 +
==Usage==
 +
<pre>
 +
{{Spoiler|1=text to be covered|2=mouseover text}}
 +
</pre>
 +
==Example==
 +
<pre>
 
{{Spoiler|This is a test sentence.}}
 
{{Spoiler|This is a test sentence.}}
 
</pre>
 
</pre>
 
+
Output: {{Spoiler|This is a test sentence.}}
Output:
+
<pre>
{{Spoiler|This is a test sentence.}}</noinclude>
+
{{Spoiler|This is a test sentence.|Don't read the spoiler!}}
 +
</pre>
 +
Output (hover your mouse on the spoiler to see the mouseover text): {{Spoiler|This is a test sentence.|Don't read the spoiler!}}
 +
==See Also==
 +
<code>&#123;&#123;[[Template:hide|hide]]&#125;&#125;</code>}}</noinclude>

Revision as of 03:33, 14 February 2020

Template-info.svg Template Documentation  [Edit]

Redirects

{{Block}}

Usage

{{Spoiler|1=text to be covered|2=mouseover text}}

Example

{{Spoiler|This is a test sentence.}}

Output: This is a test sentence.

{{Spoiler|This is a test sentence.|Don't read the spoiler!}}

Output (hover your mouse on the spoiler to see the mouseover text): This is a test sentence.

See Also

{{hide}}