Difference between revisions of "Collapsible elements"
Line 19: | Line 19: | ||
<div class="NavFrame"> | <div class="NavFrame"> | ||
<div class="NavHead">'''Title 1'''</div> | <div class="NavHead">'''Title 1'''</div> | ||
− | <div class="NavContent"> | + | <div class="NavContent" style="display: none;"> |
Let's say you want to make a navigation table at the bottom of the page that looks like you can find on this page.<ref>[https://en.wikipedia.org/wiki/Timeline_of_the_Unification_Church Wikipedia: Timeline of the Unification Church]</ref> | Let's say you want to make a navigation table at the bottom of the page that looks like you can find on this page.<ref>[https://en.wikipedia.org/wiki/Timeline_of_the_Unification_Church Wikipedia: Timeline of the Unification Church]</ref> | ||
</div> | </div> | ||
</div> | </div> | ||
− | |||
==See also== | ==See also== |
Revision as of 08:17, 1 July 2015
Method 1
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px">
Let's say this is your text, or table, or any other content. When you use the code above, it creates a box of 600 pixels wide, and the content is collapsed when you open the page.
</div>
Let's say this is your text, or table, or any other content. When you use the code above, it creates a box of 600 pixels wide, and the content is collapsed when you open the page.
Method 2
<div class="toccolours mw-collapsible" style="width:600px">
Let's say this is your text, or table, or any other content. When you use the code above, it creates a box of 600 pixels wide, and the content is not yet collapsed when you open the page, but you can hide that content.
</div>
Let's say this is your text, or table, or any other content. When you use the code above, it creates a box of 600 pixels wide, and the content is not yet collapsed when you open the page, but you can hide that content.