User:Anon126/How-to/NavPanes

This page will show you how to make a "NavFrame" like the one below: An example (transcluded from Template:Lorem ipsum) Note: Use only what is in bold italics, and exclude the arrows.

Prolog
 ←This begins the declaration of the enclosing "div" that will contain the entire pane. The collapsed class makes the content initially hidden when the page loads; omit it to make the content initially visible.

Header (title)
 Your title here ←The title. Notice it's in another "div," and the styles ("background-color" and "color"), define the background and text color, respectively (here it's a black background and white text, but you can change the color to whatever you prefer), only for the title. Also notice the align="left" thing. You can replace "left" with "right" or "center", to adjust the alignment of the title only (by default, it's centered).

Content
' Place any content here. '←The content inside. You can also use align=left, align=right, etc. To change the alignment for the content only (by default it's centered).

Ender
  ←Ends the "div" you started in the very beginning.

Your final result
Your title here Place any content here.