Template:CollapseAll: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 4: Line 4:


: ''<nowiki>This page utilizes collapsible content. Please click</nowiki> <span class="{{{collapsetoggle}}}" role="link" style="color:#0000ff"">'''here'''</span><nowiki> to uncollapse all content.</nowiki>''
: ''<nowiki>This page utilizes collapsible content. Please click</nowiki> <span class="{{{collapsetoggle}}}" role="link" style="color:#0000ff"">'''here'''</span><nowiki> to uncollapse all content.</nowiki>''

==Copy/Paste Code==
<pre><nowiki>{{collapseall|collapsetoggle = mw-customtoggle-(toggle)}}</nowiki></pre>


<onlyinclude>{{#if: {{{collapsetoggle|}}} | : ''This page utilizes collapsible content. Please click <span class="{{{collapsetoggle}}}" role="link" style="color:#0000ff"">'''here'''</span> to uncollapse all content.''|}}</onlyinclude>
<onlyinclude>{{#if: {{{collapsetoggle|}}} | : ''This page utilizes collapsible content. Please click <span class="{{{collapsetoggle}}}" role="link" style="color:#0000ff"">'''here'''</span> to uncollapse all content.''|}}</onlyinclude>

Revision as of 17:44, 6 November 2024

Please use this template on pages that utilize collapse sections or tables in order to be able to uncollapse all at once.

The template cane handle multiple toggles, however each needs to be entered in the following format with a space between each: mw-customtoggle-(toggle). For example, Wisteria Winery has multiple rooms with collapsed tables for item details. The toggle for each table is entered, and appears as follows:
mw-customtoggle-stemware mw-customtoggle-vessels mw-customtoggle-cafe mw-customtoggle-bulkproducts mw-customtoggle-vintage.

This page utilizes collapsible content. Please click here to uncollapse all content.

Copy/Paste Code

{{collapseall|collapsetoggle = mw-customtoggle-(toggle)}}