Diferencia entre revisiones de «Plantilla:Navbox»

De WikiMinecraft
Saltar a: navegación, buscar
m (Protegió «Plantilla:Navbox» ([Editar=Solo permitir administradores] (indefinido) [Pueden trasladar=Solo permitir administradores] (indefinido)))
 
(No se muestran 24 ediciones intermedias de 2 usuarios)
Línea 1: Línea 1:
<!--
+
<includeonly><table {{
 +
#if: {{{title|}}} | class="navbox hlist mw-collapsible mw-collapsed"  {{#if: {{{bodystyle|}}} | style="{{{bodystyle}}}" "mw-collapsible" "mw-collapsed mw-collapsed" }} }}>
 +
{{#if: {{{title|}}} | <tr>
 +
<th class="navbox-top" colspan="2" "mw-collapsible" {{#if: {{{titlestyle|}}} | style="{{{titlestyle|}}}" }}>
 +
{{#switch: {{{1}}} | navbar | navbar-mini = <div class="navbox-navbar">
 +
{{navbar|{{{name}}}|mini={{#ifeq: {{{1}}} | navbar-mini | 1 }}|plain=1}}
 +
</div>}}<span class="navbox-title">{{{title}}}</span></th>
 +
</tr>}}
 +
<tr>
 +
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group1}}}</th>
 +
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
 +
{{{list1}}}</td>
 +
</tr>
  
Please do not edit without discussion first as this is a VERY complex template.
+
{{#if: {{{group2|}}} | {{#if: {{{list2|}}} |
 +
<tr>
 +
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group2}}}</th>
 +
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
 +
{{{list2}}}</td>
 +
</tr>}} }}<!--
  
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!--
+
-->{{#if: {{{group3|}}} | {{#if: {{{list3|}}} |
-->class="navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--
+
<tr>
 +
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group3}}}</th>
 +
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
 +
{{{list3}}}</td>
 +
</tr>}} }}<!--
  
--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!--
+
-->{{#if: {{{group4|}}} | {{#if: {{{list4|}}} |
-->plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
+
<tr>
-->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!--
+
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group4}}}</th>
-->#default=navbox-inner" style="border-spacing:0;background:transparent;color:inherit}};{{{innerstyle|}}};"><!--
+
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
 +
{{{list4}}}</td>
 +
</tr>}} }}<!--
  
 +
-->{{#if: {{{group5|}}} | {{#if: {{{list5|}}} |
 +
<tr>
 +
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group5}}}</th>
 +
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
 +
{{{list5}}}</td>
 +
</tr>}} }}<!--
  
---Title and Navbar---
+
-->{{#if: {{{group6|}}} | {{#if: {{{list6|}}} |
-->{{#if:{{{title|}}}|<tr>{{#if:{{{titlegroup|}}}|<!--
+
<tr>
--><th scope="row" class="navbox-group {{{titlegroupclass|}}}" <!--
+
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group6}}}</th>
-->style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}"><!--
+
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
-->{{{titlegroup|}}}</th><th scope="col" style="border-left:2px solid #fdfdfd;width:100%;|<!--
+
{{{list6}}}</td>
--><th scope="col" style="}}{{{basestyle|}}};{{{titlestyle|}}}" class="navbox-title" <!--
+
</tr>}} }}<!--
-->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}}><!--
 
  
-->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!--
+
-->{{#if: {{{group7|}}} | {{#if: {{{list7|}}} |
-->{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!--
+
<tr>
-->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;">&nbsp;</span>}}|<!--
+
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}> {{{group7}}}</th>
-->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;">&nbsp;</span>}}}}|<!--
+
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
-->{{#if:{{{name|}}}|{{Navbar|{{{name}}}|mini=1|<!--
+
{{{list7}}}</td>
-->fontstyle={{{basestyle|}}};{{{titlestyle|}}};background:none transparent;border:none;}}|<!--
+
</tr>}} }}<!--
--><span class="error" style="float:left;white-space:nowrap;">Error: No name provided</span>}}<!--
 
-->{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;">&nbsp;</span>}}}}<!--
 
  
--><div class="{{{titleclass|}}}" style="font-size:110%;">
+
-->{{#if: {{{group8|}}} | {{#if: {{{list8|}}} |
{{{title}}}</div></th></tr>}}<!--
+
<tr>
 +
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group8}}}</th>
 +
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
 +
{{{list8}}}</td>
 +
</tr>}} }}<!--
  
 +
-->{{#if: {{{group9|}}} | {{#if: {{{list9|}}} |
 +
<tr>
 +
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group9}}}</th>
 +
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
 +
{{{list9}}}</td>
 +
</tr>}} }}<!--
  
---Above---
+
-->{{#if: {{{group10|}}} | {{#if: {{{list10|}}} |
-->{{#if:{{{above|}}}|<!--
+
<tr>
-->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!--
+
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group10}}}</th>
--><tr><td class="navbox-abovebelow {{{aboveclass|}}}" style="{{{basestyle|}}};{{{abovestyle|}}}" <!--
+
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div>
+
{{{list10}}}</td>
{{{above}}}</div></td></tr>}}<!--
+
</tr>}} }}<!--
  
 +
-->{{#if: {{{group11|}}} | {{#if: {{{list11|}}} |
 +
<tr>
 +
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group11}}}</th>
 +
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
 +
{{{list11}}}</td>
 +
</tr>}} }}<!--
  
---Body---
+
-->{{#if: {{{group12|}}} | {{#if: {{{list12|}}} |
 +
<tr>
 +
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group12}}}</th>
 +
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
 +
{{{list12}}}</td>
 +
</tr>}} }}<!--
  
---First group/list and images---
+
-->{{#if: {{{group13|}}} | {{#if: {{{list13|}}} |
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<tr style="height:2px;"><td></td></tr>}}<tr><!--
+
<tr>
 +
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group13}}}</th>
 +
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
 +
{{{list13}}}</td>
 +
</tr>}} }}<!--
  
-->{{#if:{{{imageleft|}}}|<!--
+
-->{{#if: {{{group14|}}} | {{#if: {{{list14|}}} |
--><td class="navbox-image {{{imageclass|}}}" style="width:0%;padding:0px 2px 0px 0px;{{{imageleftstyle|}}}" <!--
+
<tr>
-->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!--
+
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group14}}}</th>
-->{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!--
+
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
-->{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+2}}<!--
+
{{{list14}}}</td>
-->{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!--
+
</tr>}} }}<!--
-->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}}}><div>
 
{{{imageleft}}}</div></td>}}<!--
 
  
-->{{#if:{{{group1|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
+
-->{{#if: {{{group15|}}} | {{#if: {{{list15|}}} |
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group1style|}}}"><!--
+
<tr>
-->{{{group1}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
+
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group15}}}</th>
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" <!--
+
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
+
{{{list15}}}</td>
--><div style="padding:{{{list1padding|{{{listpadding|0em 0.25em}}}}}}">
+
</tr>}} }}<!--
{{{list1}}}</div></td><!--
 
  
-->{{#if:{{{image|}}}|<!--
+
-->{{#if: {{{group16|}}} | {{#if: {{{list16|}}} |
--><td class="navbox-image {{{imageclass|}}}" style="width:0%;padding:0px 0px 0px 2px;{{{imagestyle|}}}" <!--
+
<tr>
-->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!--
+
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group16}}}</th>
-->{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!--
+
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
-->{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+2}}<!--
+
{{{list16}}}</td>
-->{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!--
+
</tr>}} }}<!--
-->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}}}><div>
 
{{{image}}}</div></td>}}<!--
 
  
--></tr>}}<!--
+
-->{{#if: {{{group17|}}} | {{#if: {{{list17|}}} |
 +
<tr>
 +
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group17}}}</th>
 +
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
 +
{{{list17}}}</td>
 +
</tr>}} }}<!--
  
 +
-->{{#if: {{{group18|}}} | {{#if: {{{list18|}}} |
 +
<tr>
 +
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group18}}}</th>
 +
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
 +
{{{list18}}}</td>
 +
</tr>}} }}<!--
  
---Remaining groups/lists---
+
-->{{#if: {{{group19|}}} | {{#if: {{{list19|}}} |
 +
<tr>
 +
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group19}}}</th>
 +
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
 +
{{{list19}}}</td>
 +
</tr>}} }}<!--
  
-->{{#if:{{{list2|}}}|<!--
+
-->{{#if: {{{group20|}}} | {{#if: {{{list20|}}} |
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
+
<tr>
-->{{#if:{{{group2|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
+
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle = text-align:left}}}" }}>{{{group20}}}</th>
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group2style|}}}"><!--
+
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
-->{{{group2}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
+
{{{list20}}}</td>
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!--
+
</tr>}} }}
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
+
</table></includeonly><noinclude>
--><div style="padding:{{{listpadding|0em 0.25em}}}">
+
{{/doc}}
{{{list2}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list3|}}}|<!--
 
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
 
-->{{#if:{{{group3|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group3style|}}}"><!--
 
-->{{{group3}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list3style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list3}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list4|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group4|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group4style|}}}"><!--
 
-->{{{group4}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list4style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list4}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list5|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group5|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group5style|}}}"><!--
 
-->{{{group5}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list5style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list5}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list6|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group6|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group6style|}}}"><!--
 
-->{{{group6}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list6style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list6}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list7|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group7|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group7style|}}}"><!--
 
-->{{{group7}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list7style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list7}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list8|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group8|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group8style|}}}"><!--
 
-->{{{group8}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list8style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list8}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list9|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group9|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group9style|}}}"><!--
 
-->{{{group9}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list9style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list9}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list10|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group10|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group10style|}}}"><!--
 
-->{{{group10}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list10style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list10}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list11|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group11|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group11style|}}}"><!--
 
-->{{{group11}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list11style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list11}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list12|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group12|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group12style|}}}"><!--
 
-->{{{group12}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list12style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list12}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list13|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group13|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group13style|}}}"><!--
 
-->{{{group13}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list13style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list13}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list14|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group14|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group14style|}}}"><!--
 
-->{{{group14}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list14style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list14}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list15|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group15|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group15style|}}}"><!--
 
-->{{{group15}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list15style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list15}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list16|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group16|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group16style|}}}"><!--
 
-->{{{group16}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list16style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list16}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list17|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group17|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group17style|}}}"><!--
 
-->{{{group17}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list17style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list17}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list18|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group18|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group18style|}}}"><!--
 
-->{{{group18}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list18style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list18}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list19|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group19|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group19style|}}}"><!--
 
-->{{{group19}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list19style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list19}}}</div></td></tr>}}<!--
 
 
 
-->{{#if:{{{list20|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group20|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group20style|}}}"><!--
 
-->{{{group20}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
 
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list20}}}</div></td></tr>}}<!--
 
 
 
 
 
---Below---
 
-->{{#if:{{{below|}}}|<!--
 
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<tr style="height:2px;"><td></td></tr>}}<!--
 
--><tr><td class="navbox-abovebelow {{{belowclass|}}}" style="{{{basestyle|}}};{{{belowstyle|}}}" <!--
 
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div>
 
{{{below}}}</div></td></tr>}}<!--
 
 
 
 
 
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!--
 
 
 
-->{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#ifeq:{{{border|{{{1|}}}}}}|child||{{#ifeq:{{{border|{{{1|}}}}}}|subgroup||{{#switch:{{lc:{{SUBPAGENAME}}}}
 
|doc
 
|sandbox
 
|testcases =
 
|#default = {{#switch:{{{bodyclass|}}}
 
  |plainlist
 
  |hlist
 
  |hlist hnum
 
  |hlist vcard
 
  |vcard hlist =
 
  |#default = {{{listclass|}}}
 
  }}
 
}}
 
}}}}}}<noinclude>
 
 
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Revisión actual del 16:54 20 abr 2014

Template-info.png Documentación

This template should be used to in navbox templates, which should then be included at the bottom of each page that is linked in the template.

Usage

Parameter(s) Usage Default value(s)
{{{name}}} Should be identical to the template's name without namespace. Does nothing unless {{{1}}} is set to navbar or navbar-mini. {{{name}}}
{{{title}}} Sets the title used at the top of the navbox. {{{title}}}
{{{state}}} Allows you to change the collapsing state of the table. More info. Collapsed is removed while on pages in the Template namespace, to make editing easier. collapsible collapsed
{{{1}}} navbar: Will add a navigation bar giving links to view, discuss, and edit the template. Requires {{{name}}} to be set. Note: This will only correctly link to templates that are actually in the Template: namespace.

navbar-mini: Identical to navbar, except the titles of the links are v, d, and e instead of view, discuss, and edit.

None
{{{titlestyle}}} Allows custom styling for the title area None
{{{bodystyle}}} Allows custom styling for the body area None
{{{groupstyle}}} Allows custom styling for the group area None
{{{liststyle}}} Allows custom styling for the list area None
{{{group1-20}}} Adds the heading for the group number specified {{{group1}}} = {{{group1}}}
{{{group2-20}}} = None
{{{list1-20}}} Adds text for the list number specified {{{list1}}} = {{{list1}}}
{{{list2-20}}} = None

Example

La documentación anterior se transcluye de Plantilla:Navbox/doc. (edit | history)