Mudanças

Ir para navegação Ir para pesquisar

Predefinição:Menu lateral ocultável/doc

2 475 bytes adicionados, 19h57min de 15 de dezembro de 2019
Criação da Documentação da Predefinição Menu lateral ocultável.
{{Subpágina de documentação}}
<!-- POR FAVOR, ADICIONE CATEGORIAS E INTERWIKIS NO FINAL DESTA PÁGINA -->
<includeonly>
{{nomobile}}</includeonly>
{{Lp|Sidebar with collapsible lists}} é uma versão de {{Lp|Sidebar}} oferecendo {{Lp|collapsible list}}s como uma alternativa para os parâmetros ''conteúdo'' Sidebar.

== Pro forma (for collapsible list-related parameters) ==

Parameters with infrequent use omitted.

<pre style="font-size:95%; overflow:auto;">
{{Sidebar with collapsible lists

...Insira os parâmetros de título/imagem/etc por Predefinição:Sidebar aqui...

|listtitlestyle =
|liststyle =

|list1name =
|list1title =
|list1 =

|list2name =
|list2title =
|list2 =

......

|list15name =
|list15title =
|list15 =

...Possíveis parâmetros para portal/tnavbar-related por Predefinição:Sidebar...

}}
</pre>

The ''listtitlestyle'' and ''liststyle'' parameters are the equivalent of {{tl|collapsible list}}'s ''titlestyle'' and ''liststyle'' parameters, while each ''listNtitle'' and ''listN'' parameter is the equivalent of {{tl|collapsible list}}'s ''title'' and unnamed list parameter, respectively.

The ''listNname'' parameters are used to identify which, if any, list is to be shown expanded; see {{tl|collapsible lists option}}.

== Other collapsible list-related parameters ==

In addition to the above, the following collapsible list-related parameters are also available:

; ''listframestyle'' : Sets the framestyle (see {{tl|collapsible list}}) for the lists.
; ''listNframestyle'' : Sets the framestyle for ''listN'', overriding ''listframestyle''.
; ''listNtitlestyle'' : Sets the titlestyle for ''listN'', overriding ''listtitlestyle'' above.
; ''listNstyle'' : Sets the liststyle for ''listN'', overriding ''liststyle'' above.

== Handling long links ==

As with {{tl|Sidebar}}, {{tl|longlink}} may be used to handle links that will wrap within the sidebar or otherwise need to be made to wrap in order to prevent the sidebar becoming too wide. Use <code style="font-size:95%; white-space:nowrap;"><nowiki>{{longlink|</nowiki>''longlinkname''}}</code>, where ''longlinkname'' is the long link without its square brackets.

== Ver também ==
* {{Lp|Sidebar}}
* {{Lp|Collapsible list}}
* {{Lp|Collapsible lists option}}
* {{Lp|Navbox with collapsible groups}}
* {{Lp|Física navegação}}
* {{Lp|Sidebar with heading backgrounds}}

<includeonly>
[[Categoria:!Predefinições para caixas de navegação]]
</includeonly>

Menu de navegação