Template:Collapsible

From Freephile Wiki
Jump to navigation Jump to search


Documentation icon Template documentation[view] [edit] [history] [purge]

Example[edit source]

{{Collapsible
|visible_text=Greeking is a term for putting non-sensical fill content in the process of copyrighting when you want to establish a placeholder
|collapsed_content=
{{Lorem}}
}}

Produces:


Greeking is a term for putting non-sensical fill content in the process of copyrighting when you want to establish a placeholder

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.



See https://www.mediawiki.org/wiki/Manual:Collapsible_elements for more details

A simple template to apply the jQuery collapsible handlers built-in to MediaWiki core

Template parameters

ParameterDescriptionTypeStatus
Visible textvisible_text

This text is not collapsible; used to "announce" the gory details

Stringsuggested
This text is collapsible and hidden by defaultcollapsed_content

Note that hidden text will not be found by in-browser search

Stringrequired