User:FIRENSIA/Sandbox3: Difference between revisions
(created this page to test toggles) |
(added some filler sections and text) |
||
Line 1: | Line 1: | ||
{{TOCright}} |
|||
for toggle testing |
|||
<span class="mw-customtoggle-Section1 mw-customtoggle-Section2 mw-customtoggle-Section3" style="color:#0000ff">'''Toggle all content'''</span> |
|||
Sandbox3 is a place to test collapsed text and toggles [[Help:Collapsed section|get help]]. This intro section will ALWAYS be visible, even when you click the "Toggle all content" link at the top to collapse all collapsible sections. |
|||
==Section1 (Collapsible)== |
|||
<span class="mw-customtoggle-Section1" style="color:#0000ff">Click to view more of Section1...</span> |
|||
<span class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Section1"> |
|||
Section1's text. You will see this if Section1 is expanded. It will disappear if Section1 is collapsed. |
|||
</span> |
|||
==Section2 (Collapsible)== |
|||
<span class="mw-customtoggle-Section2" style="color:#0000ff">Click to view more of Section2...</span> |
|||
<span class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Section2"> |
|||
Section2's text. You will see this if Section2 is expanded. It will disappear if Section2 is collapsed. |
|||
</span> |
|||
==Section3 (Collapsible)== |
|||
<span class="mw-customtoggle-Section3" style="color:#0000ff">Click to view more of Section3...</span> |
|||
<span class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Section3"> |
|||
Section3's text. You will see this if Section3 is expanded. It will disappear if Section3 is collapsed. |
|||
</span> |
|||
==More Information (Not Collapsible)== |
|||
This is the end of my page, and this is not a section that is ever collapsible. So this section should ALWAYS be visible, even when you click the "Toggle all content" link at the top to collapse all collapsible sections. |
|||
The code used here at the top of this page is (colored bits below are substituted with other text): |
|||
<pre{{log2}}> |
|||
<span class="mw-customtoggle-Section<span style="color:red">#</span> mw-customtoggle-Section<span style="color:red">#</span> mw-customtoggle-Section<span style="color:red">#</span> mw-customtoggle-Section<span style="color:red">#</span> style="color:#0000ff">'''Toggle all content'''</span> |
|||
</pre> |
|||
The code used here around each section of collapsible text is (colored bits below are substituted with other text): |
|||
<pre{{log2}}> |
|||
<span class="mw-customtoggle-Section<span style="color:red">#</span>" style="color:#0000ff">Click to view more of Section<span style="color:red">#</span>...</span> |
|||
<span class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Section<span style="color:red">#</span>"><span style="color:blue">YOUR COLLAPSIBLE TEXT</span></span> |
|||
</pre> |
|||
<!--The code used here at the top of this page is: |
|||
<pre{{log2}}><nowiki> |
|||
<span class="mw-customtoggle-<span style="color:red">Section#</span> mw-customtoggle-<span style="color:red">Section#</span> mw-customtoggle-<span style="color:red">Section#</span> mw-customtoggle-<span style="color:red">Section#</span> style="color:#0000ff">'''Toggle all content'''</span> |
|||
</nowiki></pre> |
|||
The code used here around each section of collapsible text is: |
|||
<pre{{log2}}><nowiki> |
|||
<span class="mw-customtoggle-<span style="color:red">Section#</span>" style="color:#0000ff">Click to view more of <span style="color:red">Section#</span>...</span> |
|||
<span class="mw-collapsible mw-collapsed" id="mw-customcollapsible-<span style="color:red">Section#</span>"><span style="color:red">YOUR COLLAPSIBLE TEXT</span></span> |
|||
</nowiki></pre>--> |
Revision as of 16:00, 22 June 2021
Toggle all content
Sandbox3 is a place to test collapsed text and toggles get help. This intro section will ALWAYS be visible, even when you click the "Toggle all content" link at the top to collapse all collapsible sections.
Section1 (Collapsible)
Click to view more of Section1... Section1's text. You will see this if Section1 is expanded. It will disappear if Section1 is collapsed.
Section2 (Collapsible)
Click to view more of Section2... Section2's text. You will see this if Section2 is expanded. It will disappear if Section2 is collapsed.
Section3 (Collapsible)
Click to view more of Section3... Section3's text. You will see this if Section3 is expanded. It will disappear if Section3 is collapsed.
More Information (Not Collapsible)
This is the end of my page, and this is not a section that is ever collapsible. So this section should ALWAYS be visible, even when you click the "Toggle all content" link at the top to collapse all collapsible sections.
The code used here at the top of this page is (colored bits below are substituted with other text):
<span class="mw-customtoggle-Section# mw-customtoggle-Section# mw-customtoggle-Section# mw-customtoggle-Section# style="color:#0000ff">Toggle all content
The code used here around each section of collapsible text is (colored bits below are substituted with other text):
<span class="mw-customtoggle-Section#" style="color:#0000ff">Click to view more of Section#... <span class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Section#">YOUR COLLAPSIBLE TEXT