×
Create a new article
Write your page title here:
We currently have 1,779 articles on The Quelmar Wiki. Type your article name above or click on one of the titles below and start writing!



The Quelmar Wiki

Template:Collapsible Section: Difference between revisions

m (Formatting)
(Cleanup)
 
Line 27: Line 27:


</noinclude>
</noinclude>

<includeonly>


<div class="mw-collapsible">
<div class="mw-collapsible">
<span mw-collapsible-toggle-placeholder></span>
<span mw-collapsible-toggle-placeholder></span>
<includeonly>{{{2}}}</includeonly>
{{{2}}}
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
<includeonly>{{{1}}}</includeonly>
{{{1}}}
</div>
</div>
</div>
</div>

</includeonly>

Latest revision as of 02:41, 18 January 2025


This template makes a collapsible section with basic formatting, including an optional title. It:

  • Leaves the title (if any) visible when the content is collapsed
  • Uses the "mw-collapsible" components explicitly to keep the toggle button from drifting into any subsequent text (mw-collapsible-toggle-placeholder and particularly mw-collapsible-content.)



Write: {{Collapsible Section|my content|my title}}
to get:
(borders for demo only)



my title

my content




When this description was last updated, the markup looked like this:


<div class="mw-collapsible">
<span mw-collapsible-toggle-placeholder></span>
{{{2}}}
<div class="mw-collapsible-content">{{{1}}}</div>
</div>



Cookies help us deliver our services. By using our services, you agree to our use of cookies. (Hi Margarita's Table. 🇩🇪)
Cookies help us deliver our services. By using our services, you agree to our use of cookies. (Hi Margarita's Table. 🇩🇪)