This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and
parser functions before editing the template. If your edit causes unexpected problems, please
undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Some examples have shortcuts which will in turn use this template.
The most basic usage of template is with a single unnamed parameter in the format {{Continent/region topic|Topic [of/in]}}
, replacing Continent/region with the name of a continent or region and Topic with the name of a topic followed by "of" or "in". For example, {{Africa topic|Geography of}}
generates a navigation box titled "Geography of Africa" with a list of country names linked to articles such as
Geography of Angola, etc.
{{California topic|Culture of}}
or {{California topic|prefix=Culture of}}
The template accepts a second unnamed parameter for text to be placed after the country name. There is no space between the country name and the suffix, to allow for links to articles such as List of California-related topics.
{{California topic|| in popular culture}}
{{subst:PAGENAME}}
for this value as a shortcut.One of the following combinations is needed to create the links:
prefix = List of airports in
would create a title
List of airports in the United States and a body containing state names linked to
List of airports in Alabama,
List of airports in Alaska, etc.suffix = _National Guard
would create a title
United States National Guard and a body containing state names linked to
Alabama National Guard,
Arizona National Guard, etc.prefix = Index of
and suffix = -related articles
would create a title
Index of United States-related articles and a body containing state names linked to
Index of Alabama-related articles,
Index of Alaska-related articles, etc.autocollapse
will start out collapsed if there are two or more tables on the same page that use collapsible. If set to collapsed
, the navbox will always start out in a collapsed state. If set to blank or anything other than autocollapse
or collapsed
, the navbox will always start out in an expanded state.autocollapse
.title = [[List of rivers of the United States|Rivers in the United States]]
generates the title
Rivers in the United States.In some instances the District of Columbia, U.S. Territories (Insular Areas) or U.S. Minor Outlying Islands may not be relevant to or have their own articles on a particular topic. To disable their inclusion in the template and avoid unnecessary red links, add any or all of the following parameters:
Some templates may require a list of links not already included in the template. These can be specified as follows:
titlestyle = background: #0000FF;
titlestyle = background: blue;
background: #ccccff;
abovestyle = background:#ddddff;
belowstyle = background:#ddddff;
groupstyle = background:#ddddff; text-align:right; white-space:nowrap;
liststyle = width:100%; font-size:95%;
belowstyle = border-top: #ccccff 1px solid;
background: #ddddff;
groupstyle = background:#6AFB92; vertical-align:top;
background: #ddddff; text-align:right; white-space:nowrap;
liststyle = padding: 5px 10px 5px 10px;
width:100%; font-size:95%;