13,255
edits
(Move to navbox template) |
m (+doc) |
||
| Line 5: | Line 5: | ||
| list1 ={{{content|}}} | | list1 ={{{content|}}} | ||
}}<noinclude>[[ | }}<noinclude> | ||
{{Informative template|1= | |||
__NOTOC__ | |||
== Goal == | |||
This template is a template for simple navigation boxes at the bottom of pages. | |||
== Usage == | |||
<pre> | |||
{{navigation | |||
|title= | |||
|content= | |||
}} | |||
</pre> | |||
=== Parameters === | |||
* <tt>'''title='''</tt> Title of the navbox, and should also be the name of the template | |||
* <tt>'''content='''</tt> 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. | |||
''These will only work if the tamplate name is the same as the navbox title!'' | |||
* '''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 | |||
* '''E''' is a link to edit the navbox template | |||
To the right is a [hide] link will turn to a [show] link and hide the contents of the navbox. | |||
=== Some hints and tips === | |||
* The V•T•E links will work only if the name of the template is identical to the title of the navbox. | |||
* You can easily add automatic categorisation of the pages that uses the navbox by adding categories within <includeonly> tags. | |||
* To make it easier to use even a simple template consider adding documentation using the {{tl|informative template}}. | |||
== Examples == | |||
<pre> | |||
{{Navigation | |||
|title=Dassault | |||
|content= | |||
[[Dassault/Dornier Alpha Jet|Alpha Jet]] • [[Dassault Mirage 2000|Mirage 2000]] • [[Dassault Mirage 2000-5|Mirage 2000-5]] • [[Dassault Mirage F.1|Mirage F.1]]}} | |||
</pre> | |||
{{Navigation | |||
|title=Dassault | |||
|content= | |||
[[Dassault/Dornier Alpha Jet|Alpha Jet]] • [[Dassault Mirage 2000|Mirage 2000]] • [[Dassault Mirage 2000-5|Mirage 2000-5]] • [[Dassault Mirage F.1|Mirage F.1]]}} | |||
== Related templates == | |||
* {{tl|navbox}} | |||
* {{tl|navbox with collapsible groups}} | |||
[[Category:Navigation templates|Navigation templates]] | |||
}} | |||
</noinclude> | </noinclude> | ||