Difference between revisions of "Template:Navbox"

From RimWorld Wiki
Jump to navigation Jump to search
m (1 revision: Full import of Wikia (that might sting a bit))
 
(Needed to use Infobox)
Line 1: Line 1:
{| style="width:100%; margin-top:1em; border:1px solid #999; font-size:90%; text-align:center;"
+
{{#invoke: Navbox | navbox }}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
|-
 
! style="background-color:#3366CC; color:#FFFFFF; padding:0.2em 0.5em;" nowrap="nowrap" | {{{header}}}
 
|-
 
| style="padding:0.2em 0.5em;" | {{{body}}}
 
|}<noinclude>
 
{{documentation}}</noinclude>
 

Revision as of 13:39, 12 October 2013

Script error: No such module "Navbox".

Documentation icon Template documentation[view] [edit] [history] [purge]

Meta-template for building navboxes. A navbox is a grouping of links used in multiple related articles to facilitate navigation between those articles.

Based on wikipedia:Template:Navbox, see documentation there.

Usage

Blank template with commonly use options:

{{Navbox
| name = Navbox/doc
| state = uncollapsed
| title = title
| group1 = Group1
| list1  = List1
| group2 = Group2
| list2  = List2
| group3 = Group3
| list3 = List3
| group4 = Group4
| list4 = List4
}}

Script error: No such module "Navbox".

Parameters

name
Template name.
title
text in the title bar.
state
controls when a navbox is expanded or collapsed. (use "mw-collapsed" to set the navbox to collapsed)
above/below
optional text to appear above or below the group/list section.
group(n)
listn(n)