Template:Spoiler Text

From Wings of Fire Fandom Mirror
Spoilers
42

Usage

This template is meant to be used for hiding text to prevent spoilers. Use {{Spoiler Text}} to use it.

For a more detailed explanation, here are the steps:

  • Enter Source Mode in the comment you wish to use this template in by pressing the [ ] button.
  • Put in {{Spoiler Text}} in source mode.
  • Go back to Visual Mode by pressing the eye button.
  • There, you should see a "Spoiler" button in the editor now. Click it, and press edit to modify the content.

Parameters

-Button width: Width of the button (Use only numbers, and don't put px)

-Button background color: Background color of the button (Use color names or hex codes)

-Button font size: Size of the text in the button (Use only numbers, and don't put px)

-Button text color: Color of the text in the button (Use color names or hex codes)

-Button text: Change what it says on the button

-content: Put everything you want hidden here.

-variable and variable2: This is used if there are already multiple spoiler text templates in a page. To make sure there are no glitches as a result, change variable and variable2 to anything to avoid glitches with other templates. A suggestion is to put your username as your variable. (variable and variable2 should also have the same values)

Example

Code:

{{Spoiler Text
|variable = lit
|variable2 = lit
|Button text = Click this for some lit memes
|content = Psych
}}
Click this for some lit memes
Psych