|
|
Linha 1: |
Linha 1: |
− | <!--
| |
| | | |
− | Por favor, não edite sem discutir primeiro, já que esta é uma predefinição muito complexa.
| |
− |
| |
− | -->{{Navbox/core
| |
− | |name = {{{name<noinclude>|{{FULLPAGENAME}}</noinclude>}}}
| |
− | |navbar = {{{navbar|}}}
| |
− | |state = {{{state|autocollapse}}}
| |
− | |title = {{{title|}}}
| |
− | |image = {{{image|}}}
| |
− | |imageleft = {{{imageleft|}}}
| |
− |
| |
− | |imagespan = {{#expr:{{#if:{{{body|}}}{{{list1|}}}|1|0}} +{{#if:{{{list2|}}}|1|0}} +{{#if:{{{list3|}}}|1|0}} +{{#if:{{{list4|}}}|1|0}} +{{#if:{{{list5|}}}|1|0}} +{{#if:{{{list6|}}}|1|0}} +{{#if:{{{list7|}}}|1|0}} +{{#if:{{{list8|}}}|1|0}} +{{#if:{{{list9|}}}|1|0}} +{{#if:{{{list10|}}}|1|0}} +{{#if:{{{list11|}}}|1|0}} +{{#if:{{{list12|}}}|1|0}} +{{#if:{{{list13|}}}|1|0}} +{{#if:{{{list14|}}}|1|0}} +{{#if:{{{list15|}}}|1|0}} +{{#if:{{{list16|}}}|1|0}} +{{#if:{{{list17|}}}|1|0}} +{{#if:{{{list18|}}}|1|0}} +{{#if:{{{list19|}}}|1|0}} +{{#if:{{{list20|}}}|1|0}} +{{#if:{{{list21|}}}|1|0}} +{{#if:{{{list22|}}}|1|0}} +{{#if:{{{list23|}}}|1|0}} +{{#if:{{{list24|}}}|1|0}} +{{#if:{{{list25|}}}|1|0}}}}
| |
− |
| |
− | |span = {{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}{{{group21|}}}{{{group22|}}}{{{group23|}}}{{{group24|}}}{{{group25|}}}{{{imageleft|}}}|{{#if:{{{image|}}}|3|2}}|{{#if:{{{image|}}}|2|1}}}}
| |
− |
| |
− | |nogroups = {{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}{{{group21|}}}{{{group22|}}}{{{group23|}}}{{{group24|}}}{{{group25|}}}|false|true}}
| |
− |
| |
− | |bodystyle = {{{style|}}}{{{bodystyle|}}}
| |
− | |titlestyle = {{{titlestyle|}}}
| |
− | |abovestyle = background:#ddddff;{{{abovestyle|}}}
| |
− | |belowstyle = background:#ddddff;{{{belowstyle|}}}
| |
− |
| |
− | |above = {{{above|}}}
| |
− | |below = {{{below|}}}
| |
− |
| |
− | |gs = white-space:nowrap;background:#ddddff;text-align:right;{{{groupstyle|}}}
| |
− | |os = width:100%;font-size:95%;{{{liststyle|}}}{{{oddstyle|}}}
| |
− | |es = width:100%;font-size:95%;background:#f7f7f7;{{{liststyle|}}}{{{evenstyle|}}}
| |
− |
| |
− | |g1 = {{{group1|}}}
| |
− | |g2 = {{{group2|}}}
| |
− | |g3 = {{{group3|}}}
| |
− | |g4 = {{{group4|}}}
| |
− | |g5 = {{{group5|}}}
| |
− | |g6 = {{{group6|}}}
| |
− | |g7 = {{{group7|}}}
| |
− | |g8 = {{{group8|}}}
| |
− | |g9 = {{{group9|}}}
| |
− | |g10 = {{{group10|}}}
| |
− | |g11 = {{{group11|}}}
| |
− | |g12 = {{{group12|}}}
| |
− | |g13 = {{{group13|}}}
| |
− | |g14 = {{{group14|}}}
| |
− | |g15 = {{{group15|}}}
| |
− | |g16 = {{{group16|}}}
| |
− | |g17 = {{{group17|}}}
| |
− | |g18 = {{{group18|}}}
| |
− | |g19 = {{{group19|}}}
| |
− | |g20 = {{{group20|}}}
| |
− | |g21 = {{{group21|}}}
| |
− | |g22 = {{{group22|}}}
| |
− | |g23 = {{{group23|}}}
| |
− | |g24 = {{{group24|}}}
| |
− | |g25 = {{{group25|}}}
| |
− |
| |
− | |l1 = {{{body|}}}{{{list1|}}}{{{category|}}}
| |
− | |l2 = {{{list2|}}}
| |
− | |l3 = {{{list3|}}}
| |
− | |l4 = {{{list4|}}}
| |
− | |l5 = {{{list5|}}}
| |
− | |l6 = {{{list6|}}}
| |
− | |l7 = {{{list7|}}}
| |
− | |l8 = {{{list8|}}}
| |
− | |l9 = {{{list9|}}}
| |
− | |l10 = {{{list10|}}}
| |
− | |l11 = {{{list11|}}}
| |
− | |l12 = {{{list12|}}}
| |
− | |l13 = {{{list13|}}}
| |
− | |l14 = {{{list14|}}}
| |
− | |l15 = {{{list15|}}}
| |
− | |l16 = {{{list16|}}}
| |
− | |l17 = {{{list17|}}}
| |
− | |l18 = {{{list18|}}}
| |
− | |l19 = {{{list19|}}}
| |
− | |l20 = {{{list20|}}}
| |
− | |l21 = {{{list21|}}}
| |
− | |l22 = {{{list22|}}}
| |
− | |l23 = {{{list23|}}}
| |
− | |l24 = {{{list24|}}}
| |
− | |l25 = {{{list25|}}}
| |
− |
| |
− | }}<noinclude>
| |
− |
| |
− | ==Como usar==
| |
− | <pre>
| |
− | {{Navbox
| |
− | |name = {{subst:PAGENAME}}
| |
− | |state =
| |
− | |title =
| |
− | |image =
| |
− | |above =
| |
− |
| |
− | |group1 =
| |
− | |list1 =
| |
− |
| |
− | |group2 =
| |
− | |list2 =
| |
− |
| |
− | ...
| |
− |
| |
− | |group25 =
| |
− | |list25 =
| |
− |
| |
− | |below =
| |
− | }}
| |
− | </pre>
| |
− |
| |
− | ===Como formatar===
| |
− | <pre>
| |
− | |titlestyle = background: #FFFFFF;
| |
− | |groupstyle = background: #FFFFFF;
| |
− | |abovestyle = text-align: center; background: #FFFFFF;
| |
− | |belowstyle = text-align: center; background: #FFFFFF;
| |
− | |liststyle = background: #FFFFFF;
| |
− | </pre>
| |
− |
| |
− | ==Exemplos==
| |
− | <pre>
| |
− | {{Navbox
| |
− | |name = {{subst:PAGENAME}}
| |
− | |state = (autocollapse|show|collapsed)
| |
− | |title = [[Título]]
| |
− | |image = [[Imagem:Image.jpg|150px]]
| |
− | |above = Em cima
| |
− |
| |
− | |group1 = Grupo 1
| |
− | |list1 = Lista 1
| |
− |
| |
− | |group2 = Grupo 2
| |
− | |list2 = Lista 2
| |
− |
| |
− | |group3 = Grupo 3
| |
− | |list3 = Lista 3
| |
− |
| |
− | |group4 = Grupo 4
| |
− | |list4 = Lista 4
| |
− |
| |
− | |group5 = Grupo 5
| |
− | |list5 = Lista 5
| |
− |
| |
− | |below = Abaixo
| |
− | }}
| |
− | </pre>
| |
− |
| |
− | {{Navbox
| |
− | |name = Navbox
| |
− | |state = Estado
| |
− | |title = [[Título]]
| |
− | |image = [[Imagem:Image.jpg|150px]]
| |
− | |above = Em cima
| |
− |
| |
− | |group1 = Grupo 1
| |
− | |list1 = Lista 1
| |
− |
| |
− | |group2 = Grupo 2
| |
− | |list2 = Lista 2
| |
− |
| |
− | |group3 = Grupo 3
| |
− | |list3 = Lista 3
| |
− |
| |
− | |group4 = Grupo 4
| |
− | |list4 = Lista 4
| |
− |
| |
− | |group5 = Grupo 5
| |
− | |list5 = Lista 5
| |
− |
| |
− | |below = Abaixo
| |
− | }}
| |
− |
| |
− | [[Categoria:!Predefinições Wikipédia|{{PAGENAME}}]]
| |
− | [[Categoria:!Metapredefinições]]
| |
− |
| |
− | [[es:Plantilla:Navbox]]
| |
− | [[en:Template:Navbox]]
| |
− | [[fa:الگو:جعبه گشتن]]
| |
− | [[fr:Modèle:Méta palette de navigation]]
| |
− | [[it:Template:Navbox generic]]
| |
− | [[ja:Template:Navbox]]
| |
− | [[ko:틀:Navbox]]
| |
− | [[sl:Predloga:Navpolje]]
| |
− | [[zh:Template:Navbox]]
| |
− | </noinclude>
| |