Template:Spoilers/doc

Revision as of 03:50, 24 February 2022 by Ev (talk | contribs) (aaa)

Puts small amounts of text into a clickable-to-reveal spoiler. Takes two parameters, text (what will be revealed on click) and spoilertext (a label; the latter is optional. You can also simply use them as the first and second parameter (unless the text has a =, for technical reasons), as shown:

{{Spoilers|example}} yields

 


{{Spoilers|text=example}} yields Click to revealexample

{{Spoilers|example|label}} yields
 


{{Spoilers|text=example|spoilertext=label}} yields Click to revealexample

{{Spoilers|2+2=4}} yields
 
— doesn't work!


{{Spoilers|text=2+2=4}} yields Click to reveal2+2=4 — works.

See also