Şablon:Navbox generic: Revizyonlar arasındaki fark

Westeros Türkiye Vikipedi sitesinden
Değişiklik özeti yok
Etiket: Geri alındı
Değişiklik özeti yok
Etiket: Elle geri alma
1. satır: 1. satır:
<!--
<!--


Dear editors, if you wish to add more items, please make sure that they are in one single line, delimited by space. Otherwise, consecutive boxes made from this template would have space between them.
Dear editors, if you wish to add more items, please make sure that they are in one single line, delimited by space. Otherwise, consecutive boxes made from this template would have space between them.


--><noinclude>
{{merge|Navbox}}
</noinclude><table class="navbox collapsible {{{state|autocollapse}}}" style="margin:auto; {{{style|}}}{{{bodystyle|}}}">
<tr><!--


----------------------------------------Titlebar-----------------------------------------
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbox {{{bodyclass|}}}" cellspacing="0" <!--
--><th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center;
-->style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--
<!---deprecated:--->
 
  {{#if:{{{titlebkg|}}}{{{color|}}} |background:{{{titlebkg|}}}{{{color|}}};}}
--><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!--
  {{{title_style|}}}
-->#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
<!---->
-->subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}|<!--
{{{titlestyle|}}}"><div style="float:left; width:6em; text-align:left;">{{Tnavbar|<!---deprecated:--->{{{templateName|<!---->{{{name<noinclude>|Navbox generic</noinclude>}}}}}}|mini=1}}</div><span style="font-size:110%;">{{{title}}}</span></th>
-->#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}};"><!--
</tr> <!--
 
----------------------------------------Titlebar-----------------------------------------  
-->{{#if: {{{title|}}} | <tr><th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center; {{{titlestyle|}}}"><!--
---Tnavbar
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=|#default=<span style="float:left;width:6em;text-align:left;"><!--
-->{{Tnavbar|{{{templateName|{{{name<noinclude>|Navbox generic</noinclude>}}}}}}|mini=1}}</span>}}<!--
 
---Title
--><span class="{{{titleclass|}}}" style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"><!--
-->{{{title}}}</span></th></tr>}}<!--


-----------------------above (optional content above groups)-----------------------
-----------------------above (optional content above groups)-----------------------  
-->{{#if:<!---deprecated:--->{{{top|}}}<!----> {{{above|}}} |<tr>
-->{{#if:{{{above|}}}|<tr> <td class="navbox-abovebelow" style="{{{abovestyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}"><div>
<td style="<!---deprecated:--->{{{top-style|}}}{{{above_style|}}}<!----> {{{abovestyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}"><!---deprecated:--->{{{top|}}}<!----> {{{above|}}}</td>
{{{above|}}}</div></td></tr>}}<!--
</tr>}} <!--


----------------------------------------- Groups ----------------------------------------
----------------------------------------- Groups ----------------------------------------  
-->{{#if:{{{list1|}}} |<tr>
-->{{#if:{{{list1|}}} |{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
{{#if:{{{group1|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group1}}}</th>}}
-->{{#if:{{{group1|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group1}}}</td><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
{{#if:{{{image|}}}|<td rowspan="{{#expr: {{#if:{{{list1|}}}|1|0}} +{{#if:{{{list2|}}}|1|0}} +{{#if:{{{list3|}}}|1|0}} +{{#if:{{{list4|}}}|1|0}} +{{#if:{{{list5|}}}|1|0}} +{{#if:{{{list6|}}}|1|0}} +{{#if:{{{list7|}}}|1|0}} +{{#if:{{{list8|}}}|1|0}} +{{#if:{{{list9|}}}|1|0}} +{{#if:{{{list10|}}}|1|0}} +{{#if:{{{list11|}}}|1|0}} +{{#if:{{{list12|}}}|1|0}} +{{#if:{{{list13|}}}|1|0}} +{{#if:{{{list14|}}}|1|0}} +{{#if:{{{list15|}}}|1|0}} +{{#if:{{{list16|}}}|1|0}} +{{#if:{{{list17|}}}|1|0}} +{{#if:{{{list18|}}}|1|0}} +{{#if:{{{list19|}}}|1|0}} +{{#if:{{{list20|}}}|1|0}}}}" style="vertical-align:middle; padding-left:7px;">{{{image}}}</td>}}
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list1style|}}}" colspan="{{#if:{{{group1|}}}|1|2}}" class="navbox-list"><!--
</tr>}} <!--
                      --><div>
{{{list1}}}</div></td> <!--  


-->{{#if:{{{list2|}}} |<tr>
-----------------------Right side Image-----------------------
{{#if:{{{group2|}}}   |<th style="<!---deprecated:--->{{{group-style|}}} {{{group_style|}}}<!---->{{{groupstyle|}}}">{{{group2}}}</th>}}
-->{{#if:{{{image|}}}|<!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td>
--><td style="width:0%;padding:0px 0px 0px 2px;{{{imagestyle|}}}" <!--
</tr>}} <!--
-->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!--
-->{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!--
-->{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+2}}<!--
-->{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!--
-->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}}}><!--
-->{{{image}}}</td>}} </tr>}}<!--


-->{{#if:{{{list3|}}} |<tr>
---Remaining groups/lists---
{{#if:{{{group3|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group3}}}</th>}}
-->{{#if:{{{list2|}}}  |{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td>
-->{{#if:{{{group2|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group2}}}</td><!-
</tr>}} <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list2style|}}}" colspan="{{#if:{{{group2|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list2}}}</div></td></tr>}}<!--
-->{{#if:{{{list3|}}}  |{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
-->{{#if:{{{group3|}}}  |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group3}}}</td><!-- 
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list3style|}}}" colspan="{{#if:{{{group3|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list3}}}</div></td></tr>}}<!--


-->{{#if:{{{list4|}}} |<tr>
-->{{#if:{{{list4|}}}   |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group4|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group4}}}</th>}}
-->{{#if:{{{group4|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group4}}}</td><!-- 
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list4style|}}}" colspan="{{#if:{{{group4|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list4}}}</div></td></tr>}}<!--


-->{{#if:{{{list5|}}} |<tr>
-->{{#if:{{{list5|}}}   |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group5|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group5}}}</th>}}
-->{{#if:{{{group5|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group5}}}</td><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list5style|}}}" colspan="{{#if:{{{group5|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list5}}}</div></td></tr>}}<!--
-->{{#if:{{{list6|}}}   |<tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group6|}}}  |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group6}}}</td><!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list6style|}}}" colspan="{{#if:{{{group6|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list6}}}</div></td></tr>}}<!--


-->{{#if:{{{list6|}}} |<tr>
-->{{#if:{{{list7|}}}   |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group6|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group6}}}</th>}}
-->{{#if:{{{group7|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group7}}}</td><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group6|}}}|1|2}}">{{{list6}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list7style|}}}" colspan="{{#if:{{{group7|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list7}}}</div></td></tr>}}<!--


-->{{#if:{{{list7|}}} |<tr>
-->{{#if:{{{list8|}}}   |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group7|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group7}}}</th>}}
-->{{#if:{{{group8|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group8}}}</td><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group7|}}}|1|2}}">{{{list7}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list8style|}}}" colspan="{{#if:{{{group8|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list8}}}</div>/td></tr>}}<!--


-->{{#if:{{{list8|}}} |<tr>
-->{{#if:{{{list9|}}}   |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group8|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group8}}}</th>}}
-->{{#if:{{{group9|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group9}}}</td><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group8|}}}|1|2}}">{{{list8}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list9style|}}}" colspan="{{#if:{{{group9|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list9}}}</div></td></tr>}}<!--


-->{{#if:{{{list9|}}}  |<tr>
-->{{#if:{{{list10|}}}  |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group9|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group9}}}</th>}}
-->{{#if:{{{group10|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group10}}}</td><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group9|}}}|1|2}}">{{{list9}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list10style|}}}" colspan="{{#if:{{{group10|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list10}}}</div></td></tr>}}<!--


-->{{#if:{{{list10|}}} |<tr>
-->{{#if:{{{list11|}}} |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group10|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group10}}}</th>}}
-->{{#if:{{{group11|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group11}}}</td><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group10|}}}|1|2}}">{{{list10}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list11style|}}}" colspan="{{#if:{{{group11|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list11}}}</div></td></tr>}}<!--


-->{{#if:{{{list11|}}} |<tr>
-->{{#if:{{{list12|}}} |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group11|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group11}}}</th>}}
-->{{#if:{{{group12|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group12}}}</td><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group11|}}}|1|2}}">{{{list11}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list12style|}}}" colspan="{{#if:{{{group12|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list12}}}</div></td></tr>}}<!--


-->{{#if:{{{list12|}}} |<tr>
-->{{#if:{{{list13|}}} |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group12|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group12}}}</th>}}
-->{{#if:{{{group13|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group13}}}</td><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group12|}}}|1|2}}">{{{list12}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list13style|}}}" colspan="{{#if:{{{group13|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list13}}}</div></td></tr>}}<!--


-->{{#if:{{{list13|}}} |<tr>
-->{{#if:{{{list14|}}} |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group13|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group13}}}</th>}}
-->{{#if:{{{group14|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group14}}}</td><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group13|}}}|1|2}}">{{{list13}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list14style|}}}" colspan="{{#if:{{{group14|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list14}}}</div></td></tr>}}<!--  


-->{{#if:{{{list14|}}} |<tr>
-->{{#if:{{{list15|}}} |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group14|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group14}}}</th>}}
-->{{#if:{{{group15|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group15}}}</td><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group14|}}}|1|2}}">{{{list14}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list15style|}}}" colspan="{{#if:{{{group15|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list15}}}</div></td></tr>}}<!--


-->{{#if:{{{list15|}}} |<tr>
-->{{#if:{{{list16|}}} |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group15|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group15}}}</th>}}
-->{{#if:{{{group16|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group16}}}</td><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group15|}}}|1|2}}">{{{list15}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list16style|}}}" colspan="{{#if:{{{group16|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list16}}}</div></td></tr>}}<!--


-->{{#if:{{{list16|}}} |<tr>
-->{{#if:{{{list17|}}} |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group16|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group16}}}</th>}}
-->{{#if:{{{group17|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group17}}}</td><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group16|}}}|1|2}}">{{{list16}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list17style|}}}" colspan="{{#if:{{{group17|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list17}}}</div></td></tr>}}<!--


-->{{#if:{{{list17|}}} |<tr>
-->{{#if:{{{list18|}}} |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group17|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group17}}}</th>}}
-->{{#if:{{{group18|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group18}}}</td><!--  
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group17|}}}|1|2}}">{{{list17}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list18style|}}}" colspan="{{#if:{{{group18|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list18}}}</div></td></tr>}}<!--
-->{{#if:{{{list19|}}} |<tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group19|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group19}}}</td><!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list19style|}}}" colspan="{{#if:{{{group19|}}}|1|2}}" class="navbox-list"><!--
                      --><div>
{{{list19}}}</div></td></tr>}}<!--


-->{{#if:{{{list18|}}} |<tr>
-->{{#if:{{{list20|}}} |<tr style="height:2px"><td></td></tr><tr><!--
{{#if:{{{group18|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group18}}}</th>}}
-->{{#if:{{{group20|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group20}}}</td><!--
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group18|}}}|1|2}}">{{{list18}}}</td>
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</tr>}} <!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list20style|}}}" colspan="{{#if:{{{group20|}}}|1|2}} class="navbox-list"><!--
                      --><div>
{{{list20}}}</div></td></tr>}}<!--  


-->{{#if:{{{list19|}}} |<tr>
-----------------------below (optional content below groups)-----------------------
{{#if:{{{group19|}}}   |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group19}}}</th>}}
-->{{#if:{{{below|}}} |{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--  
<td style="{{{liststyle|}}} <!---deprecated:--->{{{odd-style|}}}{{{list(odd#)_style|}}}{{{list(odd#)style|}}}<!----> {{{oddstyle|}}}" colspan="{{#if:{{{group19|}}}|1|2}}">{{{list19}}}</td>
--><td style="{{{belowstyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}"><div>
</tr>}} <!--
{{{below|}}}</div></td></tr>}}<!--


-->{{#if:{{{list20|}}} |<tr>
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!--
{{#if:{{{group20|}}}  |<th style="<!---deprecated:--->{{{group-style|}}}{{{group_style|}}}<!----> {{{groupstyle|}}}">{{{group20}}}</th>}}
--><noinclude>
<td style="{{{liststyle|}}} <!---deprecated:--->{{{even-style|}}}{{{list(even#)_style|}}}{{{list(even#)style|}}}<!----> {{{evenstyle|}}}" colspan="{{#if:{{{group20|}}}|1|2}}">{{{list20}}}</td>
</tr>}} <!--


-----------------------below (optional content below groups)-----------------------
{{Template:Navbox generic/doc}}
-->{{#if:<!---deprecated:--->{{{bottom|}}}<!----> {{{below|}}} |<tr>
<td style="<!---deprecated:--->{{{bottom-style|}}}{{{below_style|}}}<!----> {{{belowstyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}"><!----deprecated:---->{{{bottom|}}}<!----> {{{below|}}}</td>
</tr>}}


</table><noinclude>
[[Category:Deprecated templates]]</noinclude>
<!-- Add cats and interwikis to the /doc subpage, not here! -->
{{documentation}}
</noinclude>

18.46, 30 Ağustos 2022 tarihindeki hâli


Template documentation

This template allows creation Navbox, to facilitate navigation between related articles. So instead of adding list of see also links, we place Navbox template that can be updated in from a central place.

Blank template

{{Navbox 
|name       =
|title      =  

|group1     =  
|list1      =   
|group2     =  
|list2      =   
... 
|group20    =  
|list20     =   

|below      =  

Parameter list

The basic and most common parameters are as follows (see below for the full list):

name - the name of the template.
title - text in the title bar, such as: [[Widget stuff]].
state - controls when a navbox is expanded or collapsed.
image - an optional right-side image, coded as the whole image.[[File:XX.jpg|90px|link=|alt=]].
above - text to appear above the group/list section (could be a list of overall wikilinks).
groupn - the left-side text before list-n (if group-n omitted, list-n starts at left of box).
listn - text listing wikilinks, often separated by middot templates, such as: [[A]]{{·}} [[B]]
below - optional text to appear below the group/list section.


Additional Parameter

titlestyle - a CSS style for the title-bar, such as: background:gray;
groupstyle - a CSS style for the group-cells, such as: background:#eee;
oddstyle , evenstyle - Applies to odd/even list numbers. Overrules styles defined by liststyle.
listnstyle -
abovestyle -
bodystyle -
imagestyle -
belowstyle -


state* [autocollapse, uncollapsed, collapsed, plain, off]
  • Defaults to autocollapse. A navbox with autocollapse will start out collapsed if there are two or more tables on the same page that use other collapsible tables. Otherwise, the navbox will be expanded. For the technically minded, see MediaWiki:Common.js.
  • If set to collapsed, the navbox will always start out in a collapsed state.
  • If set to plain, the navbox will always be expanded with no [hide] link on the right


Examples

Simple Example

{{Navbox generic
|name = Navbox_generic/doc
|title = Simple Example
|group1 = Group1
|list1 = List1
|group2 = Group2
|list2 = List2
|group3 = Group3
|list3 = List3
}}

Styles Example

{{Navbox generic
|name = Navbox_generic/doc
|image = [[File:No image.jpg|100px|link=|alt=]]
|title = Styles Example

| group-style = width:100px; background-color:#ddd;
| odd-style  = background-color:#F2F2F2;

|group1 = Group1
|list1 = List1
|group2 = Group2
|list2 = List2
|group3 = Group3
|list3 = List3
}}

Subgroups example

This example shows how subgroups can be used.

{{Navbox generic
|name = Navbox_generic/doc
|image = [[File:No image.jpg|100px|link=|alt=]]
|state = uncollapsed
|title = Multiple Subgroup Example
|above = Above
|below = Below

|group1 = Group1
|list1 = List1
|group2 = Group2
|list2 = 
 {{Navbox subgroup
  |evenodd = swap
  |group1 = Group2.1
  |list1 = List1
  |group2 = Group2.2
  |list2 = List2
  |group3 = Group2.3
  |list3 = List3
 }}

|group3 = Group3
|list3 = List3

|group4 = Group4
|list4 = 
 {{Navbox subgroup
  |evenodd = swap
  |group1 = Group4.1
  |list1 = List1
  |group2 = Group4.2
  |list2 = List2
  |group3 = Group4.3
  |list3 = List3
 }}
}}


See Also

  • Wikipedia Navbox Template, for additional refernce and documentation, Note that while this template was updated to have similar functionality and be more consistent with the Wikipidea sintax, they aren't exactly the same.


</noinclude>