![]() | This page is currently inactive and is retained for historical reference. Either the page is no longer relevant or consensus on its purpose has become unclear. To revive discussion, seek broader input via a forum such as the village pump. |
This is the {{Navigation page}} template.
It can be used to mark a page as a navigation page.
Usage
edit{{Navigation page}}
{{Navigation page|y/n|PAGENAME|noquote=y|nostart=y}}
Parameters
editTwo positional (unnamed) and four named params; all optional:
|1=yes
– shows optional navigation links; default: no optional links|2=PAGENAME of article
– only needed if different than current pagename; default:{{PAGENAME}}
|nocat=yes
– suppresses § Categorization; default: categorized|noquote=yes
– performs unquoted search (many more results); default: quoted (exact match search; few results, better precision)|nostart=yes
– suppresses the start link if|1=yes
, so that only two links are emitted|demospace=
– set the value to any namespace name to test § Categorization; possible values: see the namespace table.
Categorization
editThis template automatically adds articles to Category:Navigation pages. Its behavior can be altered by two parameters:
- Use param
|nocat=
to suppress categorization. - Use param
|demospace=
to test categorization by acting as if the page (param|2=
or current PAGENAME) were in the given namespace.
Examples
edit1.
{{Navigation page}} |
---|
|
2.
{{Navigation page|no|Glove and Boots}} |
---|
|
3.
{{Navigation page|yes|Glove and Boots}} |
---|
You can also:
|
4.
{{Navigation page|yes|Glove and Boots|noquote=yes}} |
---|
You can also:
|
5.
{{Navigation page|yes|Amari McCoy|nostart=yes}} |
---|
You can also:
|
Notes
editIf a navigation page contains a Notes or References section and/or a navbox and you wish to place navigation links above such content whilst still keeping the main notice on the bottom, you can insert {{navlinks}}
at the desired ___location within the page. To hide the invite to start an article, you can insert {{navlinks|nostart}}
instead.
TemplateData
editTemplateData for Navigation page
Parameter | Description | Type | Status | |
---|---|---|---|---|
Navigation links | 1 | If set to true, shows optional navigation links. See also param "Nostart" to refine the list.
| String | optional |
Page name | 2 | The title of the navigation page, if different from the current page title.
| String | optional |
Nocat | 3 | If set to true, suppresses categorization.
| Boolean | optional |
Noquote | 4 | If set to non-empty, enables unquoted search link. | Boolean | optional |
Nostart | 5 | If set to true, suppresses the Start page link if Nav links are enabled.
| Boolean | optional |
Demospace | 6 | Name of the desired namespace if testing template categorization behavior.
| String | optional |
See also
edit- {{Navlinks}} for placing navlinks separately from message boxes in cases where such separation is needed
- {{Set index article}} – The generic set index article message box
- {{Disambiguation}} – The generic disambiguation message box
- Wikipedia:Navigation pages
- Wikipedia:Set index articles
- Wikipedia:Disambiguation