<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://thelongdark.darksciencelabs.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ANavbox%2Fdoc</id>
	<title>Template:Navbox/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://thelongdark.darksciencelabs.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ANavbox%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://thelongdark.darksciencelabs.com/index.php?title=Template:Navbox/doc&amp;action=history"/>
	<updated>2026-04-22T00:50:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://thelongdark.darksciencelabs.com/index.php?title=Template:Navbox/doc&amp;diff=14335&amp;oldid=prev</id>
		<title>imported&gt;AesBot: /* Examples */Old Navbox Sunsetting</title>
		<link rel="alternate" type="text/html" href="https://thelongdark.darksciencelabs.com/index.php?title=Template:Navbox/doc&amp;diff=14335&amp;oldid=prev"/>
		<updated>2021-06-11T02:46:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Examples: &lt;/span&gt;Old Navbox Sunsetting&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Usage==&lt;br /&gt;
This template can be used to make a standard navigation box. It is intended for use within another template that standardises the title and contents of the box (see [[Template:Fire Starting]]). This template should not be used directly within articles, as it creates a maintenance burden to do so whenever the contents of the box have to be updated.&lt;br /&gt;
&lt;br /&gt;
The purpose of this template is to standardise the attributes of all navigation boxes, for example, their colours and other CSS attributes. Using this template allows changes to be implemented much quicker and easier than editing each template separately.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Navbox&lt;br /&gt;
|state = uncollapsed, collapsed, plain, autocollapse (default)&lt;br /&gt;
|name = mandatory - name of the template&lt;br /&gt;
|style = optional - style for the whole table&lt;br /&gt;
|title = mandatory - navbox header&lt;br /&gt;
|gtitleN = optional - title of N-th group of items&lt;br /&gt;
|gNcatP = optional - categories to add to each item in the group&lt;br /&gt;
|styleN = optional - style for groupN; i.e. text-align&lt;br /&gt;
|groupN = mandatory - list of groups of items&lt;br /&gt;
|fstyle = optional - style for footer ; i.e. text-align&lt;br /&gt;
|footer = optional - navbox footer&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Groups:&amp;#039;&amp;#039;&amp;#039; Currently there is no technical limit to the maximum number of groups.&lt;br /&gt;
** Groups of items can be added as parameters: &amp;#039;&amp;#039;group1&amp;#039;&amp;#039;, &amp;#039;&amp;#039;group2&amp;#039;&amp;#039;, &amp;#039;&amp;#039;group3&amp;#039;&amp;#039;, ... up to &amp;#039;&amp;#039;groupN&amp;#039;&amp;#039;. &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Group title:&amp;#039;&amp;#039;&amp;#039; Each group has its own title parameter: &amp;#039;&amp;#039;gtitle1&amp;#039;&amp;#039;, &amp;#039;&amp;#039;gtitle2&amp;#039;&amp;#039;, &amp;#039;&amp;#039;gtitle3&amp;#039;&amp;#039;, ... up to &amp;#039;&amp;#039;gtitleN&amp;#039;&amp;#039;.  Note that the default width for the first column is 15%.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Group category:&amp;#039;&amp;#039;&amp;#039; Each group can have a category parameter: &amp;#039;&amp;#039;g1cat1&amp;#039;&amp;#039;, &amp;#039;&amp;#039;g1cat2&amp;#039;&amp;#039;, &amp;#039;&amp;#039;g1cat3&amp;#039;&amp;#039;, ... up to &amp;#039;&amp;#039;g1catP&amp;#039;&amp;#039;. Each parameter can have multiple category names delimited by comma.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Group style:&amp;#039;&amp;#039;&amp;#039; Style may also be customised to each group in: &amp;#039;&amp;#039;style1&amp;#039;&amp;#039;, &amp;#039;&amp;#039;style2&amp;#039;&amp;#039;, &amp;#039;&amp;#039;style3&amp;#039;&amp;#039;, ... up to &amp;#039;&amp;#039;styleN&amp;#039;&amp;#039;. &lt;br /&gt;
** Note that neither the title nor the items have any wiki-links built into the template.  As a result, users of the template are free to use wiki-links as they wish. &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Line breaks:&amp;#039;&amp;#039;&amp;#039; Line-breaks (&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) are &amp;#039;&amp;#039;&amp;#039;unnecessary&amp;#039;&amp;#039;&amp;#039;, as text wrapping is done automatically by the template. This also includes links and text in &amp;#039;&amp;#039;gtitleN&amp;#039;&amp;#039; and &amp;#039;&amp;#039;groupN&amp;#039;&amp;#039;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Bullets:&amp;#039;&amp;#039;&amp;#039; Create unordered lists with lines beginning with *. The use of [[Template:*]] is deprecated&lt;br /&gt;
&lt;br /&gt;
==States==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Uncollapsed:&amp;#039;&amp;#039;&amp;#039; Forces the navbox to be displayed.&lt;br /&gt;
** All of the navboxes in this documentation are in the &amp;#039;&amp;#039;uncollapsed&amp;#039;&amp;#039; state.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Collapsed:&amp;#039;&amp;#039;&amp;#039; The reverse of &amp;#039;&amp;#039;uncollapsed&amp;#039;&amp;#039;. Forces the navbox to be hidden instead.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Plain:&amp;#039;&amp;#039;&amp;#039; Removes the &amp;quot;show/hide&amp;quot; link. &lt;br /&gt;
&lt;br /&gt;
==Sub-groups==&lt;br /&gt;
* For larger navboxes, it may be necessary to include sub-groups within a particular group of items. It is also possible to collapsible navboxes within the parent navbox, see [[#Collapsible sub-groups|Collapsible sub-groups]].&lt;br /&gt;
* To create sub-groups within &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Navbox}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, certain parameters are to be included:&lt;br /&gt;
** The parent navbox group (i.e. &amp;#039;&amp;#039;group2&amp;#039;&amp;#039; in the example below) requires the type parameter (&amp;#039;&amp;#039;gtype2 = subgroup&amp;#039;&amp;#039;).&lt;br /&gt;
** The nested navbox (sub-group) requires the inclusion of the sub-group parameter (&amp;#039;&amp;#039;subgroup = yes&amp;#039;&amp;#039;).  This enables the template to differentiate between the sub-group and the parent navbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Navbox&lt;br /&gt;
|name = &lt;br /&gt;
|title = &lt;br /&gt;
|gtitle1 = &lt;br /&gt;
|group1 =&lt;br /&gt;
|gtitle2 = &lt;br /&gt;
|gtype2 = subgroup (mandatory)&lt;br /&gt;
|group2 =&lt;br /&gt;
  {{Navbox&lt;br /&gt;
  |subgroup = yes (mandatory)&lt;br /&gt;
  |gtitle1 = &lt;br /&gt;
  |group1 =&lt;br /&gt;
  |gtitle2 = &lt;br /&gt;
  |group2 =&lt;br /&gt;
  }}&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Collapsible sub-groups==&lt;br /&gt;
* For extremely long navboxes, it is recommended to use collapsible navboxes within the parent navbox. Further sub-groups can then be added to these collapsible navboxes.&lt;br /&gt;
* To create collapsible sub-groups within &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Navbox}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, these parameters need to be included:&lt;br /&gt;
** The parent navbox is almost always uncollapsed (&amp;#039;&amp;#039;state=uncollapsed&amp;#039;&amp;#039;).&lt;br /&gt;
** The parent navbox group (i.e. &amp;#039;&amp;#039;group1&amp;#039;&amp;#039; in the example below) requires the type parameter (&amp;#039;&amp;#039;gtype1 = subgroup&amp;#039;&amp;#039;).&lt;br /&gt;
** The nested collapsible navbox requires the inclusion of the collapsible parameter (&amp;#039;&amp;#039;collapsible = yes&amp;#039;&amp;#039;). This enables the template to differentiate between the collapsible navbox and the parent navbox.&lt;br /&gt;
** The nested collapsible navbox is forcefully collapsed (&amp;#039;&amp;#039;state=collapsed&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Navbox&lt;br /&gt;
|state = uncollapsed&lt;br /&gt;
|name = &lt;br /&gt;
|gtype1 = subgroup&lt;br /&gt;
|group1 = &lt;br /&gt;
  {{Navbox&lt;br /&gt;
  |collapsible = yes&lt;br /&gt;
  |state = collapsed&lt;br /&gt;
  |title = &lt;br /&gt;
  |gtitle1 = &lt;br /&gt;
  |group1 =&lt;br /&gt;
  |gtitle2 = &lt;br /&gt;
  |group2 =&lt;br /&gt;
  }}&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Use of images==&lt;br /&gt;
* The use of images in navboxes is permitted, but please resize the images to keep them small. Inventory-sized images (25-30 pixels) are recommended.&lt;br /&gt;
* Please use {{t|Pic link}} to create links with images. Use {{t|Iconlink}} for any case where the picture is an icon. &lt;br /&gt;
&amp;lt;pre&amp;gt;{{Pic link|Item}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
File name differs from the link&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Pic link|Item|pic=File}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Link and file share the same name, but different text is desired to display&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Pic link|Item|txt=Text}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
File name differs from the link and different text is desired to display&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Pic link|Item|pic=File|txt=Text}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
{{#ifeq:{{BASEPAGENAME}}|Navbox|{{Navbox&lt;br /&gt;
|title = [[Clothing#Legs|Pants]]&lt;br /&gt;
|gtitle1 = Inner Layer&lt;br /&gt;
|group1 =&lt;br /&gt;
 * {{Iconlink|Thermal Underwear}}&lt;br /&gt;
 * {{Iconlink|Wool Longjohns}}&lt;br /&gt;
|gtitle2 = Outer Layer&lt;br /&gt;
|gtype2 = subgroup&lt;br /&gt;
|group2 = {{Navbox&lt;br /&gt;
  |subgroup = yes&lt;br /&gt;
  |gtitle1 = Standard&lt;br /&gt;
  |group1 = &lt;br /&gt;
   * {{Iconlink|Cargo Pants}}&lt;br /&gt;
   * {{Iconlink|Combat Pants}}&lt;br /&gt;
   * {{Iconlink|Jeans}}&lt;br /&gt;
   * {{Iconlink|Snow Pants}}&lt;br /&gt;
   * {{Iconlink|Work Pants}}&lt;br /&gt;
  |gtitle2 = Craftable&lt;br /&gt;
  |group2 = &lt;br /&gt;
   * {{Iconlink|Deerskin Pants}}&lt;br /&gt;
  |gtitle3 = Wintermute&lt;br /&gt;
  |group3 = &lt;br /&gt;
   * {{Iconlink|Astrid&amp;#039;s Jeans}}&lt;br /&gt;
   * {{Iconlink|Mackenzie&amp;#039;s Pants}}&lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Navbox&lt;br /&gt;
|title = [[Clothing#Legs|Pants]]&lt;br /&gt;
|gtitle1 = Inner Layer&lt;br /&gt;
|group1 =&lt;br /&gt;
 * {{Iconlink|Thermal Underwear}}&lt;br /&gt;
 * {{Iconlink|Wool Longjohns}}&lt;br /&gt;
|gtitle2 = Outer Layer&lt;br /&gt;
|gtype2 = subgroup&lt;br /&gt;
|group2 = {{Navbox&lt;br /&gt;
  |subgroup = yes&lt;br /&gt;
  |gtitle1 = Standard&lt;br /&gt;
  |group1 = &lt;br /&gt;
   * {{Iconlink|Cargo Pants}}&lt;br /&gt;
   * {{Iconlink|Combat Pants}}&lt;br /&gt;
   * {{Iconlink|Jeans}}&lt;br /&gt;
   * {{Iconlink|Snow Pants}}&lt;br /&gt;
   * {{Iconlink|Work Pants}}&lt;br /&gt;
  |gtitle2 = Craftable&lt;br /&gt;
  |group2 = &lt;br /&gt;
   * {{Iconlink|Deerskin Pants}}&lt;br /&gt;
  |gtitle3 = Wintermute&lt;br /&gt;
  |group3 = &lt;br /&gt;
   * {{Iconlink|Astrid&amp;#039;s Jeans}}&lt;br /&gt;
   * {{Iconlink|Mackenzie&amp;#039;s Pants}}&lt;br /&gt;
  }}&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Preventing unwanted documentation==&lt;br /&gt;
The [[Template:Navbox/doc|Navbox template&amp;#039;s documentation]] is automatically transcluded under the navbox on any Template namespace page. It is not transcluded when used as a sub-group or collapsible sub-group template (&amp;#039;&amp;#039;subgroup= yes&amp;#039;&amp;#039; or &amp;#039;&amp;#039;collapsible=yes&amp;#039;&amp;#039;). &lt;br /&gt;
&lt;br /&gt;
Should the documentation appear when it is unwanted, it can be hidden by setting the doc parameter &amp;#039;&amp;#039;doc=no&amp;#039;&amp;#039; on the template. In most cases, the doc parameter is not used and the parameter is removed completely.&lt;br /&gt;
&lt;br /&gt;
On a similar note, the automatically-added category [[:Category:Navigational templates]] can be suppressed by adding &amp;#039;&amp;#039;hidecat=yes&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Navigational templates|*{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:Navigational templates|*]]&lt;br /&gt;
{{#ifeq:{{PAGENAME}}|Navbox|[[Category:Lua-based templates]]}}&amp;lt;!---&lt;br /&gt;
  This should be kept separate to prevent *every* nav box from&lt;br /&gt;
  Being marked as Lua based, simply for the sake of&lt;br /&gt;
  keeping the category easy to navigate ----&amp;gt;&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;AesBot</name></author>
	</entry>
</feed>