Template:Spoilerbox

From Ultima Codex
Jump to navigation Jump to search
SpoilerUntold Secrets Finally Revealed!

Creates a collapsable spoiler box to keep precious secrets away form those who don't want to know them

Adds article to category:articles that reveal spoilers

Parameters[edit]

Parameters are unnamed:

  {{spoilerbox
  |title
  |text
  }}

first parameter is the title line. Should be only 1 line

second parameter is the text to be hidden

Examples[edit]

Basic:

{{spoilerbox
|This is a big spoiler!
|this is some spoiler text
}}

Can be nested:

{{spoilerbox
|This is a big spoiler!
|this is some spoiler text
  {{spoilerbox
  |nested
  |more spoilers!
  }}
}}

Some content (such as tables) can't go into a spoiler box because of the way templates work. For that, manaully use the begin and end:

{{spoilerboxbegin| TITLE GOES HERE }}
CONTENT GOES HERE
{{spoilerboxend}}