Difference between revisions of "Template:Spoiler"
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 | + | ==Redirects== |
+ | <code>{{[[Template:Block|Block]]}}</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>{{[[Template:hide|hide]]}}</code>}}</noinclude> |
Revision as of 03:33, 14 February 2020
Template Documentation [Edit]
This is an in-line documentation.
Contents
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}}