Template:Expand

From Nottinghack Wiki
Revision as of 11:53, 27 February 2019 by Jon (talk | contribs) (}})
Jump to navigation Jump to search
{{{nohide}}}
{{{hide}}}

Documentation

Makes part of page hidden and expandable.

Examples

Simple no parameters.

{{expand|This is hidden.}}
{{{nohide}}}
This is hidden.

Expanded with parameters.

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

Parameters

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