Welcome to Wargaming.net Wiki!
Variants

Template:RollUp

Jump to: navigation, search
Documentation‎

Description

The RollUp template creates a spoiler which, when clicked, hides or shows the text inserted into the template.

Options

  • Content - the main parameter, be sure to insert here the text that you want to hide.
  • Header - Headline spoiler. Optional.
  • Hidden - parameter specifying to which any value to leave the spoiler when loading the page closed.
  • Class - specifies the style of the spoiler. Currently used only one style: b-popup.
  • Class_header - sets the header style.
  • Class_content - defines style of content spoiler.
  • Style_arrow - sets the style and position of the arrow.

Usage

Open spoiler Closed spoiler
Header spoiler

text inside spoiler

Header spoiler
Code
{{RollUp
| Header = Header spoiler
| Content = text inside spoiler
}} 
Code
{{RollUp
| Header = Header spoiler
| Content = text inside spoiler
| Hidden = 1
}}