Template:Collapsible toggle
Template:Documentation subpageTemplate:TOCright This template creates a collapsible <div> using the mw-collapsible class and jQuery.makeCollapsible code in MediaWiki:Common.js. It displays the first parameter with a [Collapse] link on the right. If [Collapse] is clicked by the user, the second parameter collapsible text is hidden and the [Collapse] link becomes [Expand]. Clicking on [Expand] then shows the text again and the [Expand] link becomes [Collapse] again.
This template may be used as a simple alternative to the various templates based on NavFrame, NavHead, and NavContent. In particular, this template may be used to create hidden content that will be included when the page is printed. Content using NavFrame-based templates content cannot be printed.
Usage
- Default
- {{Collapsible toggle|Toggle content|toggle=1}}
- {{Collapsible||Collapsible content|toggle=1}}
- Multiples
- {{Collapsible toggle|Toggle content|toggle=2}}
- {{Collapsible||Collapsible content|toggle=2}}
- some other constant content
- {{Collapsible||Collapsible content|toggle=2}}
- Style
- {{Collapsible toggle|Toggle content|toggle=3|style=style}}
- {{Collapsible||Collapsible content|toggle=3}}
Examples
Default Template:Documentation subpageTemplate:TOCright This template creates a collapsible <div> using the mw-collapsible class and jQuery.makeCollapsible code in MediaWiki:Common.js. It displays the first parameter with a [Collapse] link on the right. If [Collapse] is clicked by the user, the second parameter collapsible text is hidden and the [Collapse] link becomes [Expand]. Clicking on [Expand] then shows the text again and the [Expand] link becomes [Collapse] again.
This template may be used as a simple alternative to the various templates based on NavFrame, NavHead, and NavContent. In particular, this template may be used to create hidden content that will be included when the page is printed. Content using NavFrame-based templates content cannot be printed.
Usage
- Default
- {{Collapsible toggle|Toggle content|toggle=1}}
- {{Collapsible||Collapsible content|toggle=1}}
- Multiples
- {{Collapsible toggle|Toggle content|toggle=2}}
- {{Collapsible||Collapsible content|toggle=2}}
- some other constant content
- {{Collapsible||Collapsible content|toggle=2}}
- Style
- {{Collapsible toggle|Toggle content|toggle=3|style=style}}
- {{Collapsible||Collapsible content|toggle=3}}
Examples
Default Template loop detected: Template:Collapsible toggle
Multiples
Template loop detected: Template:Collapsible toggle
some other constant content
Style
Template loop detected: Template:Collapsible toggle
Combined
Template loop detected: Template:Collapsible toggle
See also
Multiples
Template:Documentation subpageTemplate:TOCright
This template creates a collapsible <div> using the mw-collapsible class and jQuery.makeCollapsible code in MediaWiki:Common.js. It displays the first parameter with a [Collapse] link on the right. If [Collapse] is clicked by the user, the second parameter collapsible text is hidden and the [Collapse] link becomes [Expand]. Clicking on [Expand] then shows the text again and the [Expand] link becomes [Collapse] again.
This template may be used as a simple alternative to the various templates based on NavFrame, NavHead, and NavContent. In particular, this template may be used to create hidden content that will be included when the page is printed. Content using NavFrame-based templates content cannot be printed.
Usage
- Default
- {{Collapsible toggle|Toggle content|toggle=1}}
- {{Collapsible||Collapsible content|toggle=1}}
- Multiples
- {{Collapsible toggle|Toggle content|toggle=2}}
- {{Collapsible||Collapsible content|toggle=2}}
- some other constant content
- {{Collapsible||Collapsible content|toggle=2}}
- Style
- {{Collapsible toggle|Toggle content|toggle=3|style=style}}
- {{Collapsible||Collapsible content|toggle=3}}
Examples
Default Template loop detected: Template:Collapsible toggle
Multiples
Template loop detected: Template:Collapsible toggle
some other constant content
Style
Template loop detected: Template:Collapsible toggle
Combined
Template loop detected: Template:Collapsible toggle
See also
some other constant content
Style
Template:Documentation subpageTemplate:TOCright
This template creates a collapsible <div> using the mw-collapsible class and jQuery.makeCollapsible code in MediaWiki:Common.js. It displays the first parameter with a [Collapse] link on the right. If [Collapse] is clicked by the user, the second parameter collapsible text is hidden and the [Collapse] link becomes [Expand]. Clicking on [Expand] then shows the text again and the [Expand] link becomes [Collapse] again.
This template may be used as a simple alternative to the various templates based on NavFrame, NavHead, and NavContent. In particular, this template may be used to create hidden content that will be included when the page is printed. Content using NavFrame-based templates content cannot be printed.
Usage
- Default
- {{Collapsible toggle|Toggle content|toggle=1}}
- {{Collapsible||Collapsible content|toggle=1}}
- Multiples
- {{Collapsible toggle|Toggle content|toggle=2}}
- {{Collapsible||Collapsible content|toggle=2}}
- some other constant content
- {{Collapsible||Collapsible content|toggle=2}}
- Style
- {{Collapsible toggle|Toggle content|toggle=3|style=style}}
- {{Collapsible||Collapsible content|toggle=3}}
Examples
Default Template loop detected: Template:Collapsible toggle
Multiples
Template loop detected: Template:Collapsible toggle
some other constant content
Style
Template loop detected: Template:Collapsible toggle
Combined
Template loop detected: Template:Collapsible toggle
See also
Combined
Template:Documentation subpageTemplate:TOCright
This template creates a collapsible <div> using the mw-collapsible class and jQuery.makeCollapsible code in MediaWiki:Common.js. It displays the first parameter with a [Collapse] link on the right. If [Collapse] is clicked by the user, the second parameter collapsible text is hidden and the [Collapse] link becomes [Expand]. Clicking on [Expand] then shows the text again and the [Expand] link becomes [Collapse] again.
This template may be used as a simple alternative to the various templates based on NavFrame, NavHead, and NavContent. In particular, this template may be used to create hidden content that will be included when the page is printed. Content using NavFrame-based templates content cannot be printed.
Usage
- Default
- {{Collapsible toggle|Toggle content|toggle=1}}
- {{Collapsible||Collapsible content|toggle=1}}
- Multiples
- {{Collapsible toggle|Toggle content|toggle=2}}
- {{Collapsible||Collapsible content|toggle=2}}
- some other constant content
- {{Collapsible||Collapsible content|toggle=2}}
- Style
- {{Collapsible toggle|Toggle content|toggle=3|style=style}}
- {{Collapsible||Collapsible content|toggle=3}}
Examples
Default Template loop detected: Template:Collapsible toggle
Multiples
Template loop detected: Template:Collapsible toggle
some other constant content
Style
Template loop detected: Template:Collapsible toggle
Combined
Template loop detected: Template:Collapsible toggle
See also
See also