Predefinição:Barra de navegação2

Origem: Wikipédia, a enciclopédia livre.
  • long list of items in parameter "List" - iten 1 - iten 2 - iten 3 - iten 4 - iten 5 - iten 6 - iten 7 - iten 7 - iten 8 - iten 9 - iten 10 - iten 11 - iten 12 - iten 13 - iten 14 - iten 15 - iten 16 - iten 17
Documentação da predefinição[ver] [editar] [histórico] [purgar]

This template is a navigational template 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>[[Category:Templates using navigation bars|{{PAGENAME}}]]</noinclude>

Uso[editar código-fonte]

{{barra de navegação2
| cor =
| título =
| lista =
| categoria =
}}

Argumentos obrigatórios[editar código-fonte]

  • 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 {{!}}. If you want to use several lines simply surround them with div tags. Like this:
{{barra de navegação2
| título = exemplo
| lista = <div>
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 
</div>
}}
o que produz
exemplo
  • 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

Argumentos opcionais[editar código-fonte]

  • color: The color to use for the title bar. This color parameter defaults to the color shown in the {{{title}}} line above.
  • category: A category all articles using this template will be added to.

Ver também[editar código-fonte]