User:Tansyflower/Help Explanations

This is Tansyflower's page for FAQ about templates and other tasks on the wiki

HideSpoiler and SpoilerButton
First, click on the "Switch to source mode" button, which is located on the bottom left corner of a forum message and has two brackets on it. If you're editing a page, you can go to the source mode of the page, either choosing "Source Editor" in the drop down menu next to the "Cancel" button (for ) or clicking the "Source" tab (for classic editor). There, you can add in the SpoilerButton or HideSpoiler templates, which are written like this:

The SpoilerButton template adds in a button for users to click to reveal or hide spoilers. The spoilers themselves go into the HideSpoiler template like this with the straight vertical line splitting up the template name and the information:

If you click the "Switch back to Visual mode" button, which has an eye on it and is to the right of the "Source mode" button, the templates will appear like green puzzle pieces, although they will show up properly when the message is posted. This will be the same for changing back to Visual view in class editor. For VisualEditor, it will show up, but when it's clicked on, it isn't easily editable.

When you incorporate these in, in source mode, it should look like this:

Or this:

When the message or edit is posted, the templates should work like this:

I hope this explains it, but please ask me if you have anymore questions on how to add the SpoilerButton and HideSpoiler templates.