Template:CollapseAll: Difference between revisions
Jump to navigation
Jump to search
(Created page with "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: <code>mw-customtoggle-(toggle)</code>. For example, Wisteria Winery has multiple rooms with collapsed tables for item details. The toggle for each table is entered, and appears as follows: <code>mw-customtoggle-stemware mw-...") |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Please use this template on pages that utilize collapse sections or tables in order to be able to uncollapse all at once |
Please use this template on pages that utilize collapse sections or tables in order to be able to uncollapse all at once. |
||
The template can handle multiple toggles, however each needs to be entered in the following format with a space between each: <code>mw-customtoggle-(toggle)</code>. For example, [[Wisteria Winery]] has multiple rooms with collapsed tables for item details. The toggle for each table is entered, and appears as follows: <br><code>mw-customtoggle-stemware mw-customtoggle-vessels mw-customtoggle-cafe mw-customtoggle-bulkproducts mw-customtoggle-vintage</code>. |
|||
: ''<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> |
Latest revision as of 09:20, 12 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 can 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)}}