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>{{doc|content=
+
<includeonly>{{font|title={{{2|You've known too much.}}}|class=inline-spoilers|{{{1}}}|css={{{css|}}}}}</includeonly><noinclude>{{doc|content=<nowiki/>
==Redirects==
+
* '''{{color|red|Attention}}''': For better visual perception, please not to use this template in large quantities as much as possible!
<code>&#123;&#123;[[Template:Block|Block]]&#125;&#125;</code>
+
** You can tyr to use {{tl|hide}} or {{tl|hideinline}} to replace it if you want to make some spoiler.
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
Line 16: Line 16:
 
Output (hover your mouse on the spoiler to see the mouseover text): {{Spoiler|This is a test sentence.|Don't read the spoiler!}}
 
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==
 
==See Also==
<code>&#123;&#123;[[Template:hide|hide]]&#125;&#125;</code>}}[[Category:Formatting templates]]</noinclude>
+
{{tl|hide}}, {{tl|hideinline}}
 +
==Redirects==
 +
{{tl|Block}}
 +
}}[[Category:Formatting templates]]</noinclude>

Revision as of 12:03, 1 September 2021

Template-info.svg Template Documentation  [Edit]

  • Attention: For better visual perception, please not to use this template in large quantities as much as possible!
    • You can tyr to use {{hide}} or {{hideinline}} to replace it if you want to make some spoiler.

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}}, {{hideinline}}

Redirects

{{Block}}