13,255
edits
m (+doc) |
(Using PAGENAME for name instead of title. Should make V•T•E links work also when title != PAGENAME + Mentioning category suppression) |
||
| Line 1: | Line 1: | ||
{{Navbox | {{Navbox | ||
| name = {{ | | name = {{PAGENAME}} | ||
| title = {{{title|}}} | | title = {{{title|}}} | ||
| listclass = hlist | | listclass = hlist | ||
| Line 12: | Line 12: | ||
== Usage == | == Usage == | ||
< | <nowiki>{{</nowiki>'''navigation'''<nowiki> | ||
{{navigation | |||
|title= | |title= | ||
|content= | |content= | ||
}} | }}</nowiki> | ||
</ | |||
; title: Title of the navbox, and should also be the name of the template | |||
; content: Contents of the navbox, commonly separated by "bullets" • (<tt>&bull;</tt>) | |||
== The links on the title bar == | |||
To the left there is three links V•T•E related to the navbox. | To the left there is three links V•T•E related to the navbox. | ||
* '''V''' is a link to the navbox template page | |||
* '''V''' is a link to the navbox template | |||
* '''T''' is a link to edit the discussion page (Template <u>t</u>alk:''Page'') of the navbox template | * '''T''' is a link to edit the discussion page (Template <u>t</u>alk:''Page'') of the navbox template | ||
* '''E''' is a link to edit the navbox template | * '''E''' is a link to edit the navbox template | ||
| Line 34: | Line 29: | ||
To the right is a [hide] link will turn to a [show] link and hide the contents of the navbox. | To the right is a [hide] link will turn to a [show] link and hide the contents of the navbox. | ||
== Some hints and tips == | |||
* You can easily add automatic categorisation of the pages that uses the navbox by adding categories within <includeonly> tags. | * You can easily add automatic categorisation of the pages that uses the navbox by adding categories within <includeonly> tags. | ||
* You can [[Help:Templates#Category suppression|suppress categorisation]] when the template is used on other pages than articles by using {{tl|main other}}. | |||
* To make it easier to use even a simple template consider adding documentation using the {{tl|informative template}}. | * To make it easier to use even a simple template consider adding documentation using the {{tl|informative template}}. | ||