"ഫലകം:Navbox with columns" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

പുതിയ താള്‍: <!-- Please do not edit without discussion first as this is a "VERY complex" template. -->{{Navbox/core |name = {{{name<noinclude>|{{FULLPAGENAME}}</noinclude>}}} ...
Major upgrade to new internal code
വരി 3:
Please do not edit without discussion first as this is a "VERY complex" template.
 
--><!--
-->{{Navbox/core
 
|name = {{{name<noinclude>|{{FULLPAGENAME}}</noinclude>}}}
Please do not edit without discussion first as this is a "VERY complex" template.
 
-->{{User:CapitalR/Navbox
|name = {{{name|}}}
|navbar = {{{navbar|}}}
|state = {{{state|autocollapse}}}
|titleborder = {{{titleborder|{{{1|}}}}}}
 
|title = {{{title|}}}
|above = {{{above|}}}
|below = {{{below|}}}
|image = {{{image|}}}
|imageleft = {{{imageleft|}}}
 
|style = {{{style|}}}{{{bodystyle|}}}
|imagespan = 1
|basestyle = {{{basestyle|}}}
|span = {{#expr:1+{{#if:{{{image|}}}|1|0}}+{{#if:{{{imageleft|}}}|1|0}}}}
 
|nogroups = true
|bodystyle = {{{style|}}}{{{bodystyle|}}}
|titlestyle = {{{titlestyle|}}}
|abovestyle = background:#ddf;font-size:95%;{{{abovestyle|}}}
|belowstyle = background:#ddf;font-size:95%;{{{belowstyle|}}}
|imagestyle = {{{imagestyle|}}}
|imageleftstyle = {{{imageleftstyle|}}}
|list1padding = 0px;
 
|list1 = <!--
|above = {{{above|}}}
--><table cellspacing="0" class="navbox-columns-table" style="text-align:left;<!--
|below = {{{below|}}}
-->{{#if:{{{col1header|}}}{{{col1header2|}}}{{{fullwidth|}}}|width:100%;<!--
-->|width:auto;margin-left:auto;margin-right:auto;}}{{{coltablestyle|}}}"><!--
 
 
|os = {{{oddstyle|}}}
--- First header row ---
|l1 =
 
<table style="background:transparent; text-align:left; font-size:95%; margin-left:auto; margin-right:auto; {{{colsstyle|{{{colstyle|}}}}}}" cellspacing="0" cellpadding="0">
-->{{#if:{{{col1header|}}}|<tr><!--
<tr style="vertical-align:top;"><!--
 
--><td style="width:{{{padding|5em}}};"><!--padding--></td><!--
-->{{#if:{{{col1header|}}}|<td class="navbox-abovebelow" {{#ifeq:{{{col1headerrowspan|}}}|2|rowspan=3}} <!--
------------col1------><td style="width:{{{col1width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col1style|}}}">
-->colspan={{{col1headercolspan|1}}} style="<!--
-->{{{colheaderstyle|}}}{{{col1headerstyle|}}}">'''{{{col1header|}}}'''</td>}}<!--
 
-->{{#if:{{{col2header|}}}|<td class="navbox-abovebelow" {{#ifeq:{{{col2headerrowspan|}}}|2|rowspan=3}} <!--
-->colspan={{{col2headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col2headerstyle|}}}">'''{{{col2header|}}}'''</td>}}<!--
 
-->{{#if:{{{col3header|}}}|<td class="navbox-abovebelow" {{#ifeq:{{{col3headerrowspan|}}}|2|rowspan=3}} <!--
-->colspan={{{col3headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col3headerstyle|}}}">'''{{{col3header|}}}'''</td>}}<!--
 
-->{{#if:{{{col4header|}}}|<td class="navbox-abovebelow" {{#ifeq:{{{col4headerrowspan|}}}|2|rowspan=3}} <!--
-->colspan={{{col4headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col4headerstyle|}}}">'''{{{col4header|}}}'''</td>}}<!--
 
-->{{#if:{{{col5header|}}}|<td class="navbox-abovebelow" {{#ifeq:{{{col5headerrowspan|}}}|2|rowspan=3}} <!--
-->colspan={{{col5headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col5headerstyle|}}}">'''{{{col5header|}}}'''</td>}}<!--
 
-->{{#if:{{{col6header|}}}|<td class="navbox-abovebelow" {{#ifeq:{{{col6headerrowspan|}}}|2|rowspan=3}} <!--
-->colspan={{{col6headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col6headerstyle|}}}">'''{{{col6header|}}}'''</td>}}<!--
 
-->{{#if:{{{col7header|}}}|<td class="navbox-abovebelow" {{#ifeq:{{{col7headerrowspan|}}}|2|rowspan=3}} <!--
-->colspan={{{col7headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col7headerstyle|}}}">'''{{{col7header|}}}'''</td>}}<!--
 
-->{{#if:{{{col8header|}}}|<td class="navbox-abovebelow" {{#ifeq:{{{col8headerrowspan|}}}|2|rowspan=3}} <!--
-->colspan={{{col8headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col8headerstyle|}}}">'''{{{col8header|}}}'''</td>}}<!--
 
-->{{#if:{{{col9header|}}}|<td class="navbox-abovebelow" {{#ifeq:{{{col9headerrowspan|}}}|2|rowspan=3}} <!--
-->colspan={{{col9headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col9headerstyle|}}}">'''{{{col9header|}}}'''</td>}}<!--
 
-->{{#if:{{{col10header|}}}|<td class="navbox-abovebelow" {{#ifeq:{{{col10headerrowspan|}}}|2|rowspan=3}} <!--
-->colspan={{{col10headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col10headerstyle|}}}">'''{{{col10header|}}}'''</td>}}<!--
 
-->{{#if:{{{col11header|}}}|<td class="navbox-abovebelow" {{#ifeq:{{{col11headerrowspan|}}}|2|rowspan=3}} <!--
-->colspan={{{col10headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col11headerstyle|}}}">'''{{{col11header|}}}'''</td>}}<!--
 
-->{{#if:{{{col12header|}}}|<td class="navbox-abovebelow" {{#ifeq:{{{col12headerrowspan|}}}|2|rowspan=3}} <!--
-->style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col12headerstyle|}}}">'''{{{col12header|}}}'''</td>}}<!--
 
--></tr>}}<!--
 
 
--- Second header row ---
 
-->{{#if:{{{col1header2|}}}{{#ifeq:{{{col1headerrowspan|}}}|2|1}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{col1header2|}}}|<td class="navbox-abovebelow" colspan={{{col1header2colspan|1}}} style="<!--
-->{{{colheader2style|}}};{{{col1header2style|}}}">'''{{{col1header2|}}}'''</td>}}<!--
 
-->{{#if:{{{col2header2|}}}|<td class="navbox-abovebelow" colspan={{{col2header2colspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colheader2style|}}};{{{col2header2style|}}}">'''{{{col2header2|}}}'''</td>}}<!--
 
-->{{#if:{{{col3header2|}}}|<td class="navbox-abovebelow" colspan={{{col3header2colspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colheader2style|}}};{{{col3header2style|}}}">'''{{{col3header2|}}}'''</td>}}<!--
 
-->{{#if:{{{col4header2|}}}|<td class="navbox-abovebelow" colspan={{{col4header2colspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colheader2style|}}};{{{col4header2style|}}}">'''{{{col4header2|}}}'''</td>}}<!--
 
-->{{#if:{{{col5header2|}}}|<td class="navbox-abovebelow" colspan={{{col5header2colspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colheader2style|}}};{{{col5header2style|}}}">'''{{{col5header2|}}}'''</td>}}<!--
 
-->{{#if:{{{col6header2|}}}|<td class="navbox-abovebelow" colspan={{{col6header2colspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colheader2style|}}};{{{col6header2style|}}}">'''{{{col6header2|}}}'''</td>}}<!--
 
-->{{#if:{{{col7header2|}}}|<td class="navbox-abovebelow" colspan={{{col7header2colspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colheader2style|}}};{{{col7header2style|}}}">'''{{{col7header2|}}}'''</td>}}<!--
 
-->{{#if:{{{col8header2|}}}|<td class="navbox-abovebelow" colspan={{{col8header2colspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colheader2style|}}};{{{col8header2style|}}}">'''{{{col8header2|}}}'''</td>}}<!--
 
-->{{#if:{{{col9header2|}}}|<td class="navbox-abovebelow" colspan={{{col9header2colspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colheader2style|}}};{{{col9header2style|}}}">'''{{{col9header2|}}}'''</td>}}<!--
 
-->{{#if:{{{col10header2|}}}|<td class="navbox-abovebelow" colspan={{{col10header2colspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colheader2style|}}};{{{col10header2style|}}}">'''{{{col10header2|}}}'''</td>}}<!--
 
-->{{#if:{{{col11header2|}}}|<td class="navbox-abovebelow" colspan={{{col11header2colspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colheader2style|}}};{{{col11header2style|}}}">'''{{{col11header2|}}}'''</td>}}<!--
 
-->{{#if:{{{col12header2|}}}|<td class="navbox-abovebelow" style="<!--
-->border-left:2px solid #fdfdfd;{{{colheader2style|}}};{{{col12header2style|}}}">'''{{{col12header2|}}}'''</td>}}<!--
 
--></tr>}}<!--
 
 
--- Main columns---
 
-->{{#if:{{{col1header|}}}{{{col1header2|}}}|<tr style="height:2px;"><td></td></tr>}}<!--
 
--><tr style="vertical-align:top;"><!--
-->{{#if:{{{col1header|}}}{{{col1header2|}}}||{{#switch:{{{padding|}}}|off|0|0em|0px|0%|0;|0em;|0px;|0%;=<!--
-->|#default=<td style="width:{{{padding|5em}}};">&nbsp;&nbsp;&nbsp;</td>}}}}<!--
 
-->{{#if:{{{col1|}}}|<td style="padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col1style|}}};width:{{{col1width|{{{colwidth|10em}}}}}};"><div>
{{{col1}}}
</div></td>}}<!--
 
------------col2------><td style="width:{{{col2width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col2style|}}}">
-->{{#if:{{{col2|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col2style|}}};width:{{{col2width|{{{colwidth|10em}}}}}};"><div>
{{{col2}}}
</div></td>}}<!--
 
-->{{#if:{{{col3|}}} |<td style="width:{{{col3width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col3style|}}}">
-->{{#if:{{{col3|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col3style|}}};width:{{{col3width|{{{colwidth|10em}}}}}};"><div>
{{{col3}}}
</div></td>}}<!--
 
-->{{#if:{{{col4|}}} |<td style="width:{{{col4width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col4style|}}}">
-->{{#if:{{{col4|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col4style|}}};width:{{{col4width|{{{colwidth|10em}}}}}};"><div>
{{{col4}}}
</div></td>}}<!--
 
-->{{#if:{{{col5|}}} |<td style="width:{{{col5width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col5style|}}}">
-->{{#if:{{{col5|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col5style|}}};width:{{{col5width|{{{colwidth|10em}}}}}};"><div>
{{{col5}}}
</div></td>}}<!--
 
-->{{#if:{{{col6|}}} |<td style="width:{{{col6width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col6style|}}}">
-->{{#if:{{{col6|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col6style|}}};width:{{{col6width|{{{colwidth|10em}}}}}};"><div>
{{{col6}}}
</div></td>}}<!--
 
-->{{#if:{{{col7|}}} |<td style="width:{{{col7width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col7style|}}}">
-->{{#if:{{{col7|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col7style|}}};width:{{{col7width|{{{colwidth|10em}}}}}};"><div>
{{{col7}}}
</div></td>}}<!--
 
-->{{#if:{{{col8|}}} |<td style="width:{{{col8width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col8style|}}}">
-->{{#if:{{{col8|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col8style|}}};width:{{{col8width|{{{colwidth|10em}}}}}};"><div>
{{{col8}}}
</div></td>}}<!--
 
-->{{#if:{{{col9|}}} |<td style="width:{{{col9width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col9style|}}}">
-->{{#if:{{{col9|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col9style|}}};width:{{{col9width|{{{colwidth|10em}}}}}};"><div>
{{{col9}}}
</div></td>}}<!--
 
-->{{#if:{{{col10|}}} |<td style="width:{{{col10width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col10style|}}}">
-->{{#if:{{{col10|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col10style|}}};width:{{{col10width|{{{colwidth|10em}}}}}};"><div>
{{{col10}}}
</div></td>}}<!--
 
-->{{#if:{{{col11|}}} |<td style="width:{{{col11width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col11style|}}}">
-->{{#if:{{{col11|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col11style|}}};width:{{{col11width|{{{colwidth|10em}}}}}};"><div>
{{{col11}}}
</div></td>}}<!--
 
-->{{#if:{{{col12|}}} |<td style="width:{{{col12width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col12style|}}}">
-->{{#if:{{{col12|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col12style|}}};width:{{{col12width|{{{colwidth|10em}}}}}};"><div>
{{{col12}}}
</div></td>}}<!--
 
-->{{#if:{{{col13|}}} |<td style="width:{{{col13width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col13style|}}}">
 
{{{col13}}}
 
</td>}}<!--
--- Footer row ---
-->{{#if:{{{col14|}}} |<td style="width:{{{col14width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col14style|}}}">
 
{{{col14}}}
</td-->{{#if:{{{col1footer|}}}|<!--
-->{{#if:{{{col1|}}}{{{col1header|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
-->{{#if:{{{col15|}}} |<td style="width:{{{col15width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col15style|}}}">
 
{{{col15}}}
-->{{#if:{{{col1footer|}}}|<td class="navbox-abovebelow" colspan={{{col1footercolspan|1}}} style="<!--
</td>}}<!--
-->{{{colfooterstyle|}}};{{{col1footerstyle|}}}">'''{{{col1footer|}}}'''</td>}}<!--
-->{{#if:{{{col16|}}} |<td style="width:{{{col16width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col16style|}}}">
 
{{{col16}}}
-->{{#if:{{{col2footer|}}}|<td class="navbox-abovebelow" colspan={{{col2footercolspan|1}}} style="<!--
</td>}}<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col2footerstyle|}}}">'''{{{col2footer|}}}'''</td>}}<!--
-->{{#if:{{{col17|}}} |<td style="width:{{{col17width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col17style|}}}">
 
{{{col17}}}
-->{{#if:{{{col3footer|}}}|<td class="navbox-abovebelow" colspan={{{col3footercolspan|1}}} style="<!--
</td>}}<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col3footerstyle|}}}">'''{{{col3footer|}}}'''</td>}}<!--
-->{{#if:{{{col18|}}} |<td style="width:{{{col18width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col18style|}}}">
 
{{{col18}}}
-->{{#if:{{{col4footer|}}}|<td class="navbox-abovebelow" colspan={{{col4footercolspan|1}}} style="<!--
</td>}}<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col4footerstyle|}}}">'''{{{col4footer|}}}'''</td>}}<!--
-->{{#if:{{{col19|}}} |<td style="width:{{{col19width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col19style|}}}">
 
{{{col19}}}
-->{{#if:{{{col5footer|}}}|<td class="navbox-abovebelow" colspan={{{col5footercolspan|1}}} style="<!--
</td>}}<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col5footerstyle|}}}">'''{{{col5footer|}}}'''</td>}}<!--
-->{{#if:{{{col20|}}} |<td style="width:{{{col20width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{evencolstyle|}}} {{{col20style|}}}">
 
{{{col20}}}
-->{{#if:{{{col6footer|}}}|<td class="navbox-abovebelow" colspan={{{col6footercolspan|1}}} style="<!--
</td>}}
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col6footerstyle|}}}">'''{{{col6footer|}}}'''</td>}}<!--
</tr></table>
 
{{{category|}}}
-->{{#if:{{{col7footer|}}}|<td class="navbox-abovebelow" colspan={{{col7footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col7footerstyle|}}}">'''{{{col7footer|}}}'''</td>}}<!--
 
-->{{#if:{{{col8footer|}}}|<td class="navbox-abovebelow" colspan={{{col8footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col8footerstyle|}}}">'''{{{col8footer|}}}'''</td>}}<!--
 
-->{{#if:{{{col9footer|}}}|<td class="navbox-abovebelow" colspan={{{col9footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col9footerstyle|}}}">'''{{{col9footer|}}}'''</td>}}<!--
 
-->{{#if:{{{col10footer|}}}|<td class="navbox-abovebelow" colspan={{{col10footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col10footerstyle|}}}">'''{{{col10footer|}}}'''</td>}}<!--
 
-->{{#if:{{{col11footer|}}}|<td class="navbox-abovebelow" colspan={{{col11footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col11footerstyle|}}}">'''{{{col11footer|}}}'''</td>}}<!--
 
-->{{#if:{{{col12footer|}}}|<td class="navbox-abovebelow" style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col12footerstyle|}}}">'''{{{col12footer|}}}'''</td>}}<!--
 
--></tr>}}<!--
 
--></tr></table>
 
 
<!-- Allow a few additional lists after columns -->
|liststyle = {{{liststyle|}}}
|list1style = background:transparent;color:inherit;
|list3style = {{{list1style|}}}
|list4style = {{{list2style|}}}
|list5style = {{{list3style|}}}
|list6style = {{{list3style|}}}
|list7style = {{{list5style|}}}
|list8style = {{{list6style|}}}
 
|list3 = {{{list1|}}}
|list4 = {{{list2|}}}
|list5 = {{{list3|}}}
|list6 = {{{list4|}}}
|list7 = {{{list5|}}}
|list8 = {{{list6|}}}
 
}}<noinclude>
{{documentation}}
"https://ml.wikipedia.org/wiki/ഫലകം:Navbox_with_columns" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്