Template:Navbox

From Zelda Dungeon Wiki
Revision as of 22:29, August 27, 2012 by Locke (talk | contribs) (This will be replacing Template:Footer when it is finished.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Purpose

This meta-template is used to more easily create navigation footers.

Usage

This template is used as a composite of several subtemplates. Start with the code:

{{Navbox|title}}
{{Navbox/Header|header}}
{{Navbox/Row|section|content}}
{{Navbox/Bottom}}
  • title — The title that appears at the top of the navbox.
  • header — A header inside the navbox, spanning across the width.
  • section — A label for the section/row. (Optional.)
  • content — The content of the row, usually a list of links.

{{Navbox}} and {{Navbox/Bottom}} are required. Between them, place any number of {{Navbox/Header}}s and {{Navbox/Row}}s in any order.

Each of these templates (besides {{Navbox/Bottom}}) provides hooks for defining additional CSS classes and styles, using named parameters "class" and "style", respectively.