Diferencia entre revisiones de «Plantilla:Navbox»

De DiabloNext Wiki
(Página creada con '{| class="navbox" |- ! class="header" colspan="3" | {{{Cabecera}}} |- {{#if:{{{g1|}}}| ! {{#if:{{{g1.5|}}}|rowspan="5"|{{#if:{{{g1.4|}}}|rowspan="4"|{{#if:{{{g1.3|}}}|rowspan="3...')
 
mSin resumen de edición
 
(No se muestra una edición intermedia del mismo usuario)
Línea 1: Línea 1:
{| class="navbox"
{| class="navbox"
|-
|-
! class="header" colspan="3" | {{{Cabecera}}}
 
|-
! class="header" colspan="3" | {{#if:{{{Cabecera|}}}| {{{Cabecera}}} }}
|-  
{{#if:{{{g1|}}}|
{{#if:{{{g1|}}}|
! {{#if:{{{g1.5|}}}|rowspan="5"|{{#if:{{{g1.4|}}}|rowspan="4"|{{#if:{{{g1.3|}}}|rowspan="3"|{{#if:{{{g1.2|}}}|rowspan="2"| }} }} }} }} {{!}} '''{{{g1}}}'''
! {{#if:{{{g1.5|}}}|rowspan="5"|{{#if:{{{g1.4|}}}|rowspan="4"|{{#if:{{{g1.3|}}}|rowspan="3"|{{#if:{{{g1.2|}}}|rowspan="2"| }} }} }} }} {{!}} '''{{{g1}}}'''
Línea 259: Línea 260:
|b7.5  =  
|b7.5  =  


}}</pre>[[Categoría:Plantillas]]</noinclude>
}}</pre>[[Categoría:Plantillas de navegación]]</noinclude>

Revisión actual - 11:06 1 jul 2011

This template is used to create all navboxes in the wiki.
There is a total of 7 possible gs in each navbox, and each g can have five subgs.
It is imperative that the subgs be used in order.
Do not jump from g2.3 to g2.5 without using the subg in-between, as it will cause displaying errors.
bX.1 does not exist, this is to allow this template to be backwards compatible with already created navboxes in the wiki.

{{Navbox

|Cabecera   = 

|g1   = 
|g1.1 = 
|g1.2 = 
|g1.3 = 
|g1.4 = 
|g1.5 = 

|b1    = 
|b1.2  = 
|b1.3  = 
|b1.4  = 
|b1.5  = 

|g2   = 
|g2.1 = 
|g2.2 = 
|g2.3 = 
|g2.4 = 
|g2.5 = 

|b2    = 
|b2.2  = 
|b2.3  = 
|b2.4  = 
|b2.5  = 

|g3   = 
|g3.1 = 
|g3.2 = 
|g3.3 = 
|g3.4 = 
|g3.5 = 

|b3    = 
|b3.2  = 
|b3.3  = 
|b3.4  = 
|b3.5  = 

|g4   = 
|g4.1 = 
|g4.2 = 
|g4.3 = 
|g4.4 = 
|g4.5 = 

|b4    = 
|b4.2  = 
|b4.3  = 
|b4.4  = 
|b4.5  = 

|g5   = 
|g5.1 = 
|g5.2 = 
|g5.3 = 
|g5.4 = 
|g5.5 = 

|b5    = 
|b5.2  = 
|b5.3  = 
|b5.4  = 
|b5.5  = 

|g6   = 
|g6.1 = 
|g6.2 = 
|g6.3 = 
|g6.4 = 
|g6.5 = 

|b6    = 
|b6.2  = 
|b6.3  = 
|b6.4  = 
|b6.5  = 

|g7   = 
|g7.1 = 
|g7.2 = 
|g7.3 = 
|g7.4 = 
|g7.5 = 

|b7    = 
|b7.2  = 
|b7.3  = 
|b7.4  = 
|b7.5  = 

}}