Template:Navigation by/templatedoc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Navigation box for categories

Usage

{{Navigation by/templatedoc |pattern= |redlinks= |style= }}

Template parameters

ParameterDescriptionDefaultStatus
patternThe name pattern for the categories to which the navigation items will point, without the Category: prefix. The placeholder <<{{{variable}}}>> will be replaced by the actual name of the {{{variable}}}.<<{{{variable}}}>>optional
redlinksHow to handle red links to nonexisting category pages:
yes
show red links
no
hide red links
yesoptional
styleDisplay style of the navigation list:
box
standalone navigation box with title and border
inline
a borderless navigation box which can be embedded e.g. in a table
list
just the item list to embed it into a Navbox with several navigations
boxoptional

Additional information

The template is intended to be used in the following namespaces: the Category namespace

The template is intended to be used by the following user groups: all users

Placement: At the top of the page

Relies on:

Example

{{Navigation by/templatedoc|pattern={{{pattern}}}}}

renders as:

{{Navigation by/{{{1}}}

| above = 
| below = 
| item = 
| level = children
| title:pattern = 
| title:hyphen = 
| title:the = 
| pattern = {{{pattern}}}
| hyphen = 
| the = 
| redlinks = yes
| style = box

}}

See also