Template:Navbox

From RationalWiki
Jump to navigation Jump to search

[edit] [purge] Documentation

Usage

{{Navbox
|title        = <!-- "Articles about TITLE" -->
|mainarticle  = <!-- Where the title links to -->
|maincategory = <!-- The category that contains all the relevant articles -->
|name         = <!-- Determines where the {{tl|vte}} links to. -->
|barcolor     = <!-- Color on the bars; should be the same as the icon in the sidebar, if applicable -->
|bgcolor      = <!-- Color on the background; white works well -->
|width        = <!-- Width. Default 0%. Increases the width of the shaded area to the left, not affecting indentation. -->
|textcolor    = <!-- Text colour, either black or white -->
<includeonly>|category     = <!-- Category that will be included with the template (leave blank if no category desired) --></includeonly>
|namespace1   = <!-- Namespaces included. By default, only main is included. namespace1 through namespace10 work. -->
|cat1         = <!-- Category that the first section uses to populate articles. cat1 through cat20 work. -->
|cat1name     = <!-- Title of the first section -->
|cat1ind      = <!-- Indentation. Values 0-2. -->
|cat1not1     = <!-- Excluded category(ies). cat#not1 through cat#not20 all work. -->
}}<noinclude>{{doc}}{{DEFAULTSORT:{{PAGENAME}}}}[[Category:Navigation box templates]]</noinclude>

Example

See also