Difference between revisions of "Template:Navbox"
Jump to navigation
Jump to search
(Imported from https://help.gamepedia.com/Gamepedia_Help_Wiki) |
|||
Line 1: | Line 1: | ||
− | <onlyinclude><includeonly><!-- | + | <noinclude>{{recode|reason=Fix too thick title bar}}</noinclude><onlyinclude><includeonly><!-- |
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!-- | -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!-- |
Revision as of 12:31, 23 December 2021
This page has been suggested for recoding. Reason: Fix too thick title bar. You can help RimWorld Wiki by improving it. |
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 }}
|
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)
The above documentation is transcluded from Template:Navbox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |