Edición de «Plantilla:Navboxtest»
Advertencia: no has iniciado sesión. Tu dirección IP se hará pública si haces cualquier edición en estas condiciones. Si inicias sesión o creas una cuenta, tus ediciones se atribuirán a tu nombre de usuario, además de otros beneficios.
Puedes deshacer la edición. Antes de deshacer la edición, comprueba la siguiente comparación para verificar que realmente es lo que quieres hacer, y entonces guarda los cambios para así efectuar la reversión.
Revisión actual | Tu texto | ||
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 #B4C767;{{{style|}}}"><tr><td style="padding:2px;">}}<!-- | ||
--><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!-- | --><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!-- | ||
Línea 7: | Línea 10: | ||
-->subgroup|child|none=navbox-subgroup" style="width:100%;background: #4a6219;{{{style|}}}|<!-- | -->subgroup|child|none=navbox-subgroup" style="width:100%;background: #4a6219;{{{style|}}}|<!-- | ||
-->#default=" style="width:100%;background: #4a6219}};{{{innerstyle|}}};"><!-- | -->#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;"> </span>}}|<!-- | ||
+ | -->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;"> </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;"> </span>}}}}<!-- | ||
+ | |||
+ | --><span class="{{{titleclass|}}}" style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"><!-- | ||
+ | -->{{{title}}}</span></th></tr>}}<!-- | ||
Línea 30: | Línea 54: | ||
-->{{{imageleft}}}</td>}}<!-- | -->{{{imageleft}}}</td>}}<!-- | ||
− | -->{{#if:{{{group1|}}}|<td class="navbox-group" style=" | + | -->{{#if:{{{group1|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group1style|}}}"><!-- |
− | -->{{{group1}}}</td><td style="text-align: | + | -->{{{group1}}}</td><td style="text-align:center;border-left-width:2px;border-left-style:solid #2d3c0e;|<td colspan=2 style="}}<!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!-- | ||
Línea 53: | Línea 77: | ||
-->{{#if:{{{list2|}}}|<!-- | -->{{#if:{{{list2|}}}|<!-- | ||
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!-- | -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!-- | ||
− | -->{{#if:{{{group2|}}}|<td class="navbox-group" style=" | + | -->{{#if:{{{group2|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group2style|}}}"><!-- |
− | -->{{{group2}}}</td><td style="background:# | + | -->{{{group2}}}</td><td style="background:#4a6219;text-align:center;border-left-width:2px;border-left-style:solid #2d3c0e;|<td colspan=2 style="}}<!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!-- | ||
Línea 62: | Línea 86: | ||
-->{{#if:{{{list3|}}}|<!-- | -->{{#if:{{{list3|}}}|<!-- | ||
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!-- | -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!-- | ||
− | -->{{#if:{{{group3|}}}|<td class="navbox-group" style=" | + | -->{{#if:{{{group3|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group3style|}}}"><!-- |
− | -->{{{group3}}}</td><td style="text-align: | + | -->{{{group3}}}</td><td style="text-align:center;border-left-width:2px;border-left-style:solid #2d3c0e;|<td colspan=2 style="}}<!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list3style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list3style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!-- | ||
Línea 71: | Línea 95: | ||
-->{{#if:{{{list4|}}}|<!-- | -->{{#if:{{{list4|}}}|<!-- | ||
--><tr style="height:2px"><td></td></tr><tr><!-- | --><tr style="height:2px"><td></td></tr><tr><!-- | ||
− | -->{{#if:{{{group4|}}}|<td class="navbox-group" style=" | + | -->{{#if:{{{group4|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group4style|}}}"><!-- |
− | -->{{{group4}}}</td><td style="background:# | + | -->{{{group4}}}</td><td style="background:#4a6219;text-align:center;border-left-width:2px;border-left-style:solid #2d3c0e;|<td colspan=2 style="}}<!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list4style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list4style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!-- | ||
Línea 80: | Línea 104: | ||
-->{{#if:{{{list5|}}}|<!-- | -->{{#if:{{{list5|}}}|<!-- | ||
--><tr style="height:2px"><td></td></tr><tr><!-- | --><tr style="height:2px"><td></td></tr><tr><!-- | ||
− | -->{{#if:{{{group5|}}}|<td class="navbox-group" style=" | + | -->{{#if:{{{group5|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group5style|}}}"><!-- |
− | -->{{{group5}}}</td><td style="text-align: | + | -->{{{group5}}}</td><td style="text-align:center;border-left-width:2px;border-left-style:solid #2d3c0e;|<td colspan=2 style="}}<!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list5style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list5style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!-- | ||
Línea 89: | Línea 113: | ||
-->{{#if:{{{list6|}}}|<!-- | -->{{#if:{{{list6|}}}|<!-- | ||
--><tr style="height:2px"><td></td></tr><tr><!-- | --><tr style="height:2px"><td></td></tr><tr><!-- | ||
− | -->{{#if:{{{group6|}}}|<td class="navbox-group" style=" | + | -->{{#if:{{{group6|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group6style|}}}"><!-- |
− | -->{{{group6}}}</td><td style="background:# | + | -->{{{group6}}}</td><td style="background:#4a6219;text-align:center;border-left-width:2px;border-left-style:solid #2d3c0e;|<td colspan=2 style="}}<!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list6style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list6style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!-- | ||
Línea 98: | Línea 122: | ||
-->{{#if:{{{list7|}}}|<!-- | -->{{#if:{{{list7|}}}|<!-- | ||
--><tr style="height:2px"><td></td></tr><tr><!-- | --><tr style="height:2px"><td></td></tr><tr><!-- | ||
− | -->{{#if:{{{group7|}}}|<td class="navbox-group" style=" | + | -->{{#if:{{{group7|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group7style|}}}"><!-- |
− | -->{{{group7}}}</td><td style="text-align: | + | -->{{{group7}}}</td><td style="text-align:center;border-left-width:2px;border-left-style:solid #2d3c0e;|<td colspan=2 style="}}<!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list7style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list7style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!-- | ||
Línea 107: | Línea 131: | ||
-->{{#if:{{{list8|}}}|<!-- | -->{{#if:{{{list8|}}}|<!-- | ||
--><tr style="height:2px"><td></td></tr><tr><!-- | --><tr style="height:2px"><td></td></tr><tr><!-- | ||
− | -->{{#if:{{{group8|}}}|<td class="navbox-group" style=" | + | -->{{#if:{{{group8|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group8style|}}}"><!-- |
− | -->{{{group8}}}</td><td style="background:# | + | -->{{{group8}}}</td><td style="background:#4a6219;text-align:center;border-left-width:2px;border-left-style:solid #2d3c0e;|<td colspan=2 style="}}<!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list8style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list8style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!-- | ||
Línea 116: | Línea 140: | ||
-->{{#if:{{{list9|}}}|<!-- | -->{{#if:{{{list9|}}}|<!-- | ||
--><tr style="height:2px"><td></td></tr><tr><!-- | --><tr style="height:2px"><td></td></tr><tr><!-- | ||
− | -->{{#if:{{{group9|}}}|<td class="navbox-group" style=" | + | -->{{#if:{{{group9|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group9style|}}}"><!-- |
− | -->{{{group9}}}</td><td style="text-align: | + | -->{{{group9}}}</td><td style="text-align:center;border-left-width:2px;border-left-style:solid #2d3c0e;|<td colspan=2 style="}}<!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list9style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list9style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!-- | ||
Línea 125: | Línea 149: | ||
-->{{#if:{{{list10|}}}|<!-- | -->{{#if:{{{list10|}}}|<!-- | ||
--><tr style="height:2px"><td></td></tr><tr><!-- | --><tr style="height:2px"><td></td></tr><tr><!-- | ||
− | -->{{#if:{{{group10|}}}|<td class="navbox-group" style=" | + | -->{{#if:{{{group10|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group10style|}}}"><!-- |
− | -->{{{group10}}}</td><td style="background:# | + | -->{{{group10}}}</td><td style="background:#4a6219;text-align:center;border-left-width:2px;border-left-style:solid #2d3c0e;|<td colspan=2 style="}}<!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list10style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list10style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!-- | ||
Línea 134: | Línea 158: | ||
-->{{#if:{{{list11|}}}|<!-- | -->{{#if:{{{list11|}}}|<!-- | ||
--><tr style="height:2px"><td></td></tr><tr><!-- | --><tr style="height:2px"><td></td></tr><tr><!-- | ||
− | -->{{#if:{{{group11|}}}|<td class="navbox-group" style=" | + | -->{{#if:{{{group11|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group11style|}}}"><!-- |
− | -->{{{group11}}}</td><td style="text-align: | + | -->{{{group11}}}</td><td style="text-align:center;border-left-width:2px;border-left-style:solid #2d3c0e;|<td colspan=2 style="}}<!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list11style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list11style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!-- | ||
Línea 143: | Línea 167: | ||
-->{{#if:{{{list12|}}}|<!-- | -->{{#if:{{{list12|}}}|<!-- | ||
--><tr style="height:2px"><td></td></tr><tr><!-- | --><tr style="height:2px"><td></td></tr><tr><!-- | ||
− | -->{{#if:{{{group12|}}}|<td class="navbox-group" style=" | + | -->{{#if:{{{group12|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group12style|}}}"><!-- |
− | -->{{{group12}}}</td><td style="background:# | + | -->{{{group12}}}</td><td style="background:#4a6219;text-align:center;border-left-width:2px;border-left-style:solid #2d3c0e;|<td colspan=2 style="}}<!-- |
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list12style|}}}" <!-- | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list12style|}}}" <!-- | ||
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!-- | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!-- | ||
Línea 228: | 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> |