Predefinição:Navbox com colunas: diferenças entre revisões

Conteúdo apagado Conteúdo adicionado
Thegoergen (discussão | contribs)
m colHeader
Thegoergen (discussão | contribs)
Desfazendo todas minhas edições porque tinham dado um problemas com os exemplos até, vou verificar
Linha 1:
<!--
 
Please do not edit without discussion first as this is a "VERY complex" template.
Favor não editar sem discussão anterior, porque é uma predefinição MUITO COMPLEXA.
 
-->{{Navbox/core
Linha 26:
|l1 =
<table style="background:transparent; text-align:left; font-size:95%; margin-left:auto; margin-right:auto; {{{colstyle|}}}" cellspacing="0" cellpadding="0">
<tr style="vertical-align:top;"><!--
--><td style="width:{{{padding|5em}}};"><!--padding--></td><!--
------------col1------><td style="width:{{{col1width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col1style|}}}">
 
<!-- Linha com os cabeçalhos --->
 
{{#if:{{{col1header|}}}|<tr>
<td class="navbox-abovebelow" style="{{{colheaderstyle|}}}">'''{{{col1header}}}'''</td>
{{#if:{{{col2header|}}}|<td class="navbox-abovebelow" style="{{{colheaderstyle|}}}">'''{{{col2header}}}'''</td>}}
{{#if:{{{col3header|}}}|<td class="navbox-abovebelow" style="{{{colheaderstyle|}}}">'''{{{col3header}}}'''</td>}}
{{#if:{{{col4header|}}}|<td class="navbox-abovebelow" style="{{{colheaderstyle|}}}">'''{{{col4header}}}'''</td>}}
{{#if:{{{col5header|}}}|<td class="navbox-abovebelow" style="{{{colheaderstyle|}}}">'''{{{col5header}}}'''</td>}}
{{#if:{{{col6header|}}}|<td class="navbox-abovebelow" style="{{{colheaderstyle|}}}">'''{{{col6header}}}'''</td>}}
{{#if:{{{col7header|}}}|<td class="navbox-abovebelow" style="{{{colheaderstyle|}}}">'''{{{col7header}}}'''</td>}}
{{#if:{{{col8header|}}}|<td class="navbox-abovebelow" style="{{{colheaderstyle|}}}">'''{{{col8header}}}'''</td>}}
{{#if:{{{col9header|}}}|<td class="navbox-abovebelow" style="{{{colheaderstyle|}}}">'''{{{col9header}}}'''</td>}}
{{#if:{{{col10header|}}}|<td class="navbox-abovebelow" style="{{{colheaderstyle|}}}">'''{{{col10header}}}'''</td>}}
{{#if:{{{col11header|}}}|<td class="navbox-abovebelow" style="{{{colheaderstyle|}}}">'''{{{col11header}}}'''</td>}}
{{#if:{{{col12header|}}}|<td class="navbox-abovebelow" style="{{{colheaderstyle|}}}">'''{{{col12header}}}'''</td>}}
</tr>}}<!-- Aqui fecha o IF do col1header -->
<!-- Fim dos cabeçalhos, início das colunas de conteúdo -->
 
<td style="width:{{{col1width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col1style|}}}">
{{{col1}}}
</td><!--
------------col2------><td style="width:{{{col2width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col2style|}}}">
{{{col2}}}
</td><!--
-->{{#if:{{{col3|}}} |<td style="width:{{{col3width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col3style|}}}">
{{{col3}}}
</td>}}<!--
-->{{#if:{{{col4|}}} |<td style="width:{{{col4width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col4style|}}}">
{{{col4}}}
</td>}}<!--
-->{{#if:{{{col5|}}} |<td style="width:{{{col5width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col5style|}}}">
{{{col5}}}
</td>}}<!--
-->{{#if:{{{col6|}}} |<td style="width:{{{col6width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col6style|}}}">
{{{col6}}}
</td>}}<!--
-->{{#if:{{{col7|}}} |<td style="width:{{{col7width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col7style|}}}">
{{{col7}}}
</td>}}<!--
-->{{#if:{{{col8|}}} |<td style="width:{{{col8width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col8style|}}}">
{{{col8}}}
</td>}}<!--
-->{{#if:{{{col9|}}} |<td style="width:{{{col9width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col9style|}}}">
{{{col9}}}
</td>}}<!--
-->{{#if:{{{col10|}}} |<td style="width:{{{col10width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col10style|}}}">
{{{col10}}}
</td>}}<!--
-->{{#if:{{{col11|}}} |<td style="width:{{{col11width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col11style|}}}">
{{{col11}}}
</td>}}<!--
-->{{#if:{{{col12|}}} |<td style="width:{{{col12width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col12style|}}}">
{{{col12}}}
</td>}}
</tr></table>
</table>
{{{categoria|}}}
}}<noinclude>
{{Documentação}}
<!-- AdicioneAdd categoriascategories eand interwikis nato subpáginathe /doc subpage, NÃOnot AQUIhere! -->
</noinclude>