Diferenças entre edições de "Predefinição:Navbox"

Da wiki OrthodoxWiki
Ir para: navegação, pesquisa
 
(Há 4 edições intermédias do mesmo utilizador que não estão a ser apresentadas)
Linha 4: Linha 4:
 
--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!--
 
--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!--
 
  -->plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
 
  -->plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
  -->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!--
+
  -->subgroup|child|none=navbox-subgroup" style="border-spacing:0; border-collapse: separate; {{{bodystyle|}}};{{{style|}}}|<!--
  -->#default=navbox-inner" style="width: 100%; border-spacing: 0; background: transparent; color:inherit}};{{{innerstyle|}}};"><!--
+
  -->#default=navbox-inner" style="width: 100%; border-spacing: 0; border-collapse: separate; background: transparent; color:inherit}};{{{innerstyle|}}};"><!--
  
  
Linha 29: Linha 29:
 
---Above---
 
---Above---
 
-->{{#if:{{{above|}}}|<!--
 
-->{{#if:{{{above|}}}|<!--
  -->{{#if:{{{title|}}}|<tr style="height:1px;"><td></td></tr>}}<!--
+
  -->{{#if:{{{title|}}}|}}<!--
 
  --><tr><td class="navbox-abovebelow {{{aboveclass|}}}" style="{{{basestyle|}}};{{{abovestyle|}}}; border-top: 2px solid #fdfdfd; background-color: #ddddff; padding: 0.25em 1em; line-height: 1.5em; text-align: center;" <!--
 
  --><tr><td class="navbox-abovebelow {{{aboveclass|}}}" style="{{{basestyle|}}};{{{abovestyle|}}}; border-top: 2px solid #fdfdfd; background-color: #ddddff; padding: 0.25em 1em; line-height: 1.5em; text-align: center;" <!--
 
  -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div>
 
  -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div>
Linha 38: Linha 38:
  
 
---First group/list and images---
 
---First group/list and images---
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<tr style="height:1px;"><td></td></tr>}}<tr><!--
+
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|}}<tr><!--
  
 
-->{{#if:{{{imageleft|}}}|<!--
 
-->{{#if:{{{imageleft|}}}|<!--
Linha 264: Linha 264:
 
---Below---
 
---Below---
 
-->{{#if:{{{below|}}}|<!--
 
-->{{#if:{{{below|}}}|<!--
  -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<tr style="height:1px;"><td></td></tr>}}<!--
+
  -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|}}<!--
 
  --><tr><td class="navbox-abovebelow {{{belowclass|}}}" style="{{{basestyle|}}};{{{belowstyle|}}}; border-top: 2px solid #fdfdfd; background-color: #ddddff; padding: 0.25em 1em; line-height: 1.5em; text-align: center;" <!--
 
  --><tr><td class="navbox-abovebelow {{{belowclass|}}}" style="{{{basestyle|}}};{{{belowstyle|}}}; border-top: 2px solid #fdfdfd; background-color: #ddddff; padding: 0.25em 1em; line-height: 1.5em; text-align: center;" <!--
 
  -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div>
 
  -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div>
Linha 288: Linha 288:
 
   |hlist vcard
 
   |hlist vcard
 
   |vcard hlist =  
 
   |vcard hlist =  
   |#default = {{#ifeq:{{{tracking|}}}|no||[[Category:Navigational boxes without horizontal lists]]}}
+
   |#default = {{#ifeq:{{{tracking|}}}|no||<!--[[Category:Navigational boxes without horizontal lists]]-->}}
 
   }}
 
   }}
 
   }}
 
   }}
Linha 303: Linha 303:
 
   |#default =  
 
   |#default =  
 
  }}
 
  }}
}}}}<includeonly>{{template other|{{#if:{{{titlestyle|}}}{{{groupstyle|}}}|[[Category:Navboxes using background colours]]}}}}</includeonly>
+
}}}}

Edição atual desde as 20h33min de 20 de dezembro de 2020