Template:Expand

From Nottinghack Wiki
Revision as of 12:42, 27 February 2019 by Jon (talk | contribs) (→‎Parameters: dden by default)
Jump to navigation Jump to search
{{{hide}}}

Documentation

Makes part of page hidden and expandable.

Examples

Simple.

{{expand|This is hidden by default.}}

Expanded with parameters.

{{expand|This can be hidden.|nohide=This is not hidden.|expanded=yes}}

Parameters

hide
Part of page to hide. Also works as first parameter unnamed.
nohide
Part of page not hidden (unhidden part appears before the hidden; good for titles).
expanded
Defaults to hidden, to default to expanded use 'expanded=yes'