Difference between revisions of "Collapsible elements"
Line 18: | Line 18: | ||
==Method 3== | ==Method 3== | ||
<div class="NavFrame"> | <div class="NavFrame"> | ||
− | <div class="NavHead ">'''Navigation table'''</div> | + | <div class="NavHead collapsible">'''Navigation table'''</div> |
− | <div class="NavContent | + | <div class="NavContent"> |
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> |
Revision as of 08:24, 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.
Method 3
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...[1]