Predefinição:Lista minimizável: mudanças entre as edições
De Wiki Donkey Kong
Ir para navegaçãoIr para pesquisar
Conteúdo adicionado Conteúdo deletado
Sem resumo de edição |
m (7 edições: import from pt.dkwiki.org) |
||
(5 revisões intermediárias por um outro usuário não estão sendo mostradas) | |||
Linha 4: | Linha 4: | ||
--></div> |
--></div> |
||
<div class="NavContent" style="{{{liststyle|text-align:left;}}}"><!-- |
<div class="NavContent" style="{{{liststyle|text-align:left;}}}"><!-- |
||
-->{{#if:{{{1|}}} |{{{1|}}} |
-->{{#if:{{{1|}}} |{{-}}{{{1|}}} }}<!-- |
||
-->{{#if:{{{2|}}} |{{-}}{{{2|}}} }}<!-- |
-->{{#if:{{{2|}}} |{{-}}{{{2|}}} }}<!-- |
||
-->{{#if:{{{3|}}} |{{-}}{{{3|}}} }}<!-- |
-->{{#if:{{{3|}}} |{{-}}{{{3|}}} }}<!-- |
||
Linha 56: | Linha 56: | ||
--></div> |
--></div> |
||
</div><noinclude> |
</div><noinclude> |
||
No [https://strategywiki.org/wiki/Template:Collapsible_list StrategyWiki], esta predefinição cria uma lista recolhível com espaço para até 50 itens. |
|||
==Parameters== |
==Parameters== |
Edição atual tal como às 18h33min de 13 de dezembro de 2021
List
No StrategyWiki, esta predefinição cria uma lista recolhível com espaço para até 50 itens.
Parameters[editar]
- Unnamed
These range from 1–50 and don't require a parameter name. For instance {{lista minimizável|one|two|three}} will result in:
List
onetwothree
- Named parameters
These parameters are all technically optional, but it is suggested that you at least give the title parameter.
- title: The title of the list. Default is "List".
- expand: Putting something here will make the list expanded on page load. Default is collapsed.
- framestyle: CSS styling for the entire list container. Default is "border:none; padding:0;".
- titlestyle: CSS styling for the title element. Default is "background:transparent;font-size:12px".
- liststyle: CSS styling for the list itself. Default is "text-align:left;".
Examples[editar]
- Standalone template
{{lista minimizável |one |two |three |title=Example list |expand=yes |framestyle=padding:3px;border:1px solid black; |titlestyle=background-color:pink;padding:2px;text-align:center; |liststyle=text-align:left;color:blue;margin-left:10px; }}