Diferencia entre revisiones de «Plantilla:Navboxtest»

De Wiki de Universo Zelda
Saltar a: navegación, buscar
Línea 2: Línea 2:
  
 
Please do not edit without discussion first as this is a VERY complex template.
 
Please do not edit without discussion first as this is a VERY complex template.
 +
 +
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table  class="navbox {{{bodyclass|}}}" cellspacing="0" <!--
 +
-->style="background: #4a6219; border:1px solid #fff;{{{style|}}}"><tr><td style="padding:2px;">}}<!--
 +
 +
--><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!--
 +
-->#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
 +
-->subgroup|child|none=navbox-subgroup" style="width:100%;background: #4a6219;{{{style|}}}|<!--
 +
-->#default=" style="width:100%;background: #4a6219}};{{{innerstyle|}}};"><!--
 +
 +
 +
---Title and Navbar---
 +
-->{{#if:{{{title|}}}|<tr>{{#if:{{{titlegroup|}}}|<!--
 +
--><td class="navbox-group"  style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}">{{{titlegroup|}}}</td><!--
 +
--><th style="border-left:2px solid #fdfdfd;width:100%;|<th style="}}{{{basestyle|}}};{{{titlestyle|}}}" <!--
 +
-->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}} <!--
 +
-->class="navbox-title"><!--
 +
 +
-->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!--
 +
-->{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!--
 +
-->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span  style="float:right;width:6em;">&nbsp;</span>}}|<!--
 +
-->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;">&nbsp;</span>}}}}|<!--
 +
--><span style="float:left;width:6em;text-align:left;">{{#if:{{{name|}}}|<!--
 +
-->{{Navbar|{{{name}}}|mini=1|fontstyle={{{basestyle|}}};{{{titlestyle|}}};<!--
 +
-->background:none transparent;border:none;font-size:100%;}}|<!--
 +
--><span class="error" style="white-space:nowrap;">Error: No name provided</span>}}</span><!--
 +
-->{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;">&nbsp;</span>}}}}<!--
 +
 +
--><span class="{{{titleclass|}}}"  style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"><!--
 +
-->{{{title}}}</span></th></tr>}}<!--
 +
 +
 +
---Above---
 +
-->{{#if:{{{above|}}}|<!--
 +
-->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!--
 +
--><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{abovestyle|}}}" <!--
 +
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}">{{{above}}}</td></tr>}}<!--
 +
  
 
---Body---
 
---Body---
Línea 215: Línea 252:
 
  --><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{belowstyle|}}}" <!--
 
  --><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{belowstyle|}}}" <!--
 
  -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}">{{{below}}}</td></tr>}}<!--
 
  -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}">{{{below}}}</td></tr>}}<!--
 +
 +
 +
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!--
  
 
--><noinclude>
 
--><noinclude>
  
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
[[Category:Plantillas]]</noinclude>
 
[[Category:Plantillas]]</noinclude>

Revisión del 15:31 19 sep 2016