Modelo:Navbox: Diferenzas entre revisións

Contido eliminado Contido engadido
Sen resumo de edición
collo do modelo inglés; fago proba...
Liña 1:
<!--
<!-- Dear editors, if you wish to add more items, please make sure that they are in one single line, delimited by space. Otherwise, consecutive boxes made from this template would have space between them.
--><table class="navbox collapsible {{{state|autocollapse}}}" style="margin: auto; {{{style|}}}">
<tr>
<th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center; {{#if:{{{titlebkg|}}}{{{color|}}}|<!--then:-->background:{{{titlebkg|}}}{{{color|}}};}}"><div style="float:left; text-align:left; width:6em;">{{Tnavbar|{{{templateName|{{{name<noinclude>|Navbox generic</noinclude>}}}}}}|mini=1}}</div>{{{title}}}</th>
</tr> <!--
 
Please do not edit without discussion first as this is a VERY complex template.
-->{{#if:{{{top|}}}{{{above|}}}|<tr>
<td style="{{{top-style|}}}" colspan="{{#if:{{{image|}}}|3|2}}">{{{top|}}}{{{above|}}}</td>
</tr>}} <!--
 
-->{{Navbox/core
-->{{#if:{{{list1|}}}|<tr>
|name = {{{name<noinclude>|{{FULLPAGENAME}}</noinclude>}}}
{{#if:{{{group1|}}}|<th style="{{{group-style|}}}">{{{group1}}}</th>}}
|navbar = {{{navbar|}}}
<td style="{{{odd-style|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td>
|state = {{{state|autocollapse}}}
{{#if:{{{image|}}}|<td rowspan="{{#expr: {{#if:{{{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}}}}" style="vertical-align:middle; padding-left:7px;">{{{image}}}</td>}}
|title = {{{title|}}}
</tr>}} <!--
|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:{{{list2|}}}|<tr>
{{#if:{{{group2|}}}|<th style="{{{group-style|}}}">{{{group2}}}</th>}}
<td style="{{{even-style|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td>
</tr>}} <!--
 
|span = {{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}{{{imageleft|}}}|{{#if:{{{image|}}}|3|2}}|{{#if:{{{image|}}}|2|1}}}}
-->{{#if:{{{list3|}}}|<tr>
{{#if:{{{group3|}}}|<th style="{{{group-style|}}}">{{{group3}}}</th>}}
<td style="{{{odd-style|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td>
</tr>}} <!--
 
|nogroups = {{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}|false|true}}
-->{{#if:{{{list4|}}}|<tr>
{{#if:{{{group4|}}}|<th style="{{{group-style|}}}">{{{group4}}}</th>}}
<td style="{{{even-style|}}}" colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td>
</tr>}} <!--
 
|bodystyle = {{{style|}}}{{{bodystyle|}}}
-->{{#if:{{{list5|}}}|<tr>
|titlestyle = {{{titlestyle|}}}
{{#if:{{{group5|}}}|<th style="{{{group-style|}}}">{{{group5}}}</th>}}
|abovestyle = background:#ddddff;{{{abovestyle|}}}
<td style="{{{odd-style|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td>
|belowstyle = background:#ddddff;{{{belowstyle|}}}
</tr>}} <!--
 
-->|above = {{#if:{{{list6above|}}}|<tr>
|below = {{{below|}}}
{{#if:{{{group6|}}}|<th style="{{{group-style|}}}">{{{group6}}}</th>}}
<td style="{{{even-style|}}}" colspan="{{#if:{{{group6|}}}|1|2}}">{{{list6}}}</td>
</tr>}} <!--
 
|gs = white-space:nowrap;background:#ddddff;text-align:right;{{{groupstyle|}}}
-->{{#if:{{{list7|}}}|<tr>
|os = width:100%;{{{liststyle|}}}{{{oddstyle|}}}
{{#if:{{{group7|}}}|<th style="{{{group-style|}}}">{{{group7}}}</th>}}
|es = width:100%;background:#f7f7f7;{{{liststyle|}}}{{{evenstyle|}}}
<td style="{{{odd-style|}}}" colspan="{{#if:{{{group7|}}}|1|2}}">{{{list7}}}</td>
</tr>}} <!--
 
-->|g1 = {{#if:{{{list8group1|}}}|<tr>
|g2 = {{{group2|}}}
{{#if:{{{group8|}}}|<th style="{{{group-style|}}}">{{{group8}}}</th>}}
|g3 = {{{group3|}}}
<td style="{{{even-style|}}}" colspan="{{#if:{{{group8|}}}|1|2}}">{{{list8}}}</td>
|g4 = {{{group4|}}}
</tr>}} <!--
|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|}}}
 
-->|l1 = {{#if:{body|}}}{{list9{list1|}}}{{{category|<tr>}}}
|l2 = {{{list2|}}}
{{#if:{{{group9|}}}|<th style="{{{group-style|}}}">{{{group9}}}</th>}}
|l3 = {{{list3|}}}
<td style="{{{odd-style|}}}" colspan="{{#if:{{{group9|}}}|1|2}}">{{{list9}}}</td>
|l4 = {{{list4|}}}
</tr>}} <!--
|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|}}}
 
}}<noinclude>
-->{{#if:{{{list10|}}}|<tr>
{{pp-template|small=yes}}
{{#if:{{{group10|}}}|<th style="{{{group-style|}}}">{{{group10}}}</th>}}
<td style="{{{even-style|}}}" colspan="{{#if:{{{group10|}}}|1|2}}">{{{list10}}}</td>
</tr>}} <!--
 
{{documentation}}
-->{{#if:{{{list11|}}}|<tr>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
{{#if:{{{group11|}}}|<th style="{{{group-style|}}}">{{{group11}}}</th>}}
<td style="{{{odd-style|}}}" colspan="{{#if:{{{group11|}}}|1|2}}">{{{list11}}}</td>
</tr>}} <!--
 
-->{{#if:{{{list12|}}}|<tr>
{{#if:{{{group12|}}}|<th style="{{{group-style|}}}">{{{group12}}}</th>}}
<td style="{{{even-style|}}}" colspan="{{#if:{{{group12|}}}|1|2}}">{{{list12}}}</td>
</tr>}} <!--
 
-->{{#if:{{{list13|}}}|<tr>
{{#if:{{{group13|}}}|<th style="{{{group-style|}}}">{{{group13}}}</th>}}
<td style="{{{odd-style|}}}" colspan="{{#if:{{{group13|}}}|1|2}}">{{{list13}}}</td>
</tr>}} <!--
 
-->{{#if:{{{list14|}}}|<tr>
{{#if:{{{group14|}}}|<th style="{{{group-style|}}}">{{{group14}}}</th>}}
<td style="{{{even-style|}}}" colspan="{{#if:{{{group14|}}}|1|2}}">{{{list14}}}</td>
</tr>}} <!--
 
-->{{#if:{{{list15|}}}|<tr>
{{#if:{{{group15|}}}|<th style="{{{group-style|}}}">{{{group15}}}</th>}}
<td style="{{{odd-style|}}}" colspan="{{#if:{{{group15|}}}|1|2}}">{{{list15}}}</td>
</tr>}} <!--
 
-->{{#if:{{{list16|}}}|<tr>
{{#if:{{{group16|}}}|<th style="{{{group-style|}}}">{{{group16}}}</th>}}
<td style="{{{even-style|}}}" colspan="{{#if:{{{group16|}}}|1|2}}">{{{list16}}}</td>
</tr>}} <!--
 
-->{{#if:{{{list17|}}}|<tr>
{{#if:{{{group17|}}}|<th style="{{{group-style|}}}">{{{group17}}}</th>}}
<td style="{{{odd-style|}}}" colspan="{{#if:{{{group17|}}}|1|2}}">{{{list17}}}</td>
</tr>}} <!--
 
-->{{#if:{{{list18|}}}|<tr>
{{#if:{{{group18|}}}|<th style="{{{group-style|}}}">{{{group18}}}</th>}}
<td style="{{{even-style|}}}" colspan="{{#if:{{{group18|}}}|1|2}}">{{{list18}}}</td>
</tr>}} <!--
 
-->{{#if:{{{list19|}}}|<tr>
{{#if:{{{group19|}}}|<th style="{{{group-style|}}}">{{{group19}}}</th>}}
<td style="{{{odd-style|}}}" colspan="{{#if:{{{group19|}}}|1|2}}">{{{list19}}}</td>
</tr>}} <!--
 
-->{{#if:{{{list20|}}}|<tr>
{{#if:{{{group20|}}}|<th style="{{{group-style|}}}">{{{group20}}}</th>}}
<td style="{{{even-style|}}}" colspan="{{#if:{{{group20|}}}|1|2}}">{{{list20}}}</td>
</tr>}} <!--
 
-->{{#if:{{{bottom|}}}{{{below|}}}|<tr>
<td style="{{{bottom-style|}}}" colspan="{{#if:{{{image|}}}|3|2}}">{{{bottom|}}}{{{below|}}}</td>
</tr>}}
 
</table><noinclude>
{{Navbox generic/doc}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>