Template:Fold

From Abulafia Random Generator Wiki
Jump to navigation Jump to search

“Fold”

Often, facing an entirety of information all at once – especially if there’s a lot of it – can seem overwhelming / confusing.

This template helps preserve your sanity by hiding content outliner-style, wrapping any content it contains in an expandable <div> that defaults to being collapsed (or “folded”).

Example (click “Expand” at right →)

Here’s some text that hides itself on page load. Note, however, that it is there all along, not (re)generated when folded/unfolded – only hidden/shown.

Usage

Invoke this template following this syntax:

{{Fold|content}}

That’s all there is to it.