Bản mẫu:Navigation bar
This template is a version of template:NavigationBox intended to be used to generate a scrollable navigation "bar", rather than a navigation box, in cases where there are a long list of items with a natural ordering (for example, alphabetical or numerical) that as a box would consume a large amount of vertical space in an article. Navigation bars currently do not appear in printed copies of articles.
When creating a template using this one, please add it to Category:Templates using navigation bars by adding the following code:
<noinclude>[[Thể loại:Templates using navigation bars|{{PAGENAME}}]]</noinclude>
Use[sửa]
{{navigation bar | color = | title = | list = | category = }}
Mandatory arguments[sửa]
- title: A title for the navigation bar; may include links
- list: Single line of text (no tables, no expanded templates) with links to related articles with no embedded line breaks; links may be separated, for instance, by commas, bullets, or pipe symbols. To use pipe symbols (vertical bars) as a separator, template:! must be used since "|" has meaning within a template invocation. The syntax for this is
{{!}}
. For readability purposes, newlines can be escaped within comments, as follows:
{{Navigation bar | title = Sample | list = <!-- --> item 1 - item 2 - item 3 - item 4 - item 5 - <!-- --> item 6 - item 7 - item 8 - item 9 - item 10 - <!-- --> item 11 - item 12 - item 13 - item 14 - item 15 - <!-- --> item 16 - item 17 - item 18 - item 19 - item 20 <!-- --> }}
- which produces
ca:Template:Caixa ocultable de:Vorlage:Navigationsleiste en:Template:Navigation bar eo:Ŝablono:Kaŝskatolo fr:Modèle:Boîte déroulante hsb:Předłoha:Nawigaciska lajsta it:Template:Cassetto ru:Шаблон:Навигационная полоса