Wikia

WoWWiki

Collapsible

Talk0
102,280pages on
this wiki

Template page

Revision as of 18:32, December 21, 2013 by Celess22 (Talk | contribs)

Places a 'div' based expandable content section for 'hiding' or 'showing' content in a wiki page. Use instead of the deprecated 'NavFrame' and 'collapsible' classes. Used by Template:npcbox. See also Template:navbox, Template:News blog item, and Template:Hidebox for specific collapsible templates.

Usage
title= text in the title 'header' bar, such as: 'Widget stuff'.
body= the collapsible content
state= [none|plain|off,show|expand|expanded] 'none' disables collapse, 'hide' starts as collapsed
style=, titlestyle=, bodystyle= HTML style for the outer container, title bar, and body container respectively
class=, titleclass=, bodyclass= HTML classes for outer container, title bar, and body container respectively

See Template:Collapsible/doc for instructions and examples.


Template


Around Wikia's network

Random Wiki