Template:Navbox

From AetoliaWiki
Revision as of 21:56, 14 August 2016 by Yero (talk | contribs) (Created page with "<includeonly>{| class="mw-collapsible {{#if:{{{collapsed|}}}|mw-collapsed|}}" style="width: 100%;border: 1px solid #455a64;" ! style="background-color:#b0bec5;font-size:100%;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


The basic template for a navigation box.

Syntax

{{navbox
  |collapsed=
  |title=
  |content=...
}}

The collapsed option will hide the content of the navbox by default. If it is not included, or left empty, the navbox will be expanded.

Example

The following:

{{navbox
  |collapsed=true
  |title=This is a title
  |content=This is awesome content.
}}

...will turn into this collapsed navbox:

This is a title
This is awesome content.


whereas this

{{navbox
  |title=This is a title
  |content=This is awesome content.
}}

will turn into an expanded navbox:

This is a title
This is awesome content.