Şablon:Navbox generic: Revizyonlar arasındaki fark

Westeros Türkiye Vikipedi sitesinden
Değişiklik özeti yok
Etiket: Geri alındı
19012 değişikliği Archmaester (mesaj) tarafından geri alındı.
Etiket: Geri al
1. satır: 1. satır:
<includeonly><!--   
<!--   


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.   




-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!--
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbox {{{bodyclass|}}}" cellspacing="0" <!--
  -->class="navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--
  -->style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--


--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!--
--><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!--
  -->plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
  -->#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
  -->subgroup|child|none=navbox-subgroup" style="border-spacing:0;width:100%;{{{bodystyle|}}};{{{style|}}}|<!--
  -->subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}|<!--
  -->#default=navbox-inner" style="border-spacing:0;background:transparent;width:100%;color:inherit;}};{{{innerstyle|}}};"><!--
  -->#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}};"><!--  


----------------------------------------Titlebar-----------------------------------------
-->{{#if: {{{title|}}} | <tr><th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center; {{{titlestyle|}}}"><!--


---Title and Navbar---
-->{{#if:{{{title|}}}|<tr>{{#if:{{{titlegroup|}}}|<!--
--><th scope="row" class="navbox-group {{{titlegroupclass|}}}" <!--
-->style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}"><!--
-->{{{titlegroup|}}}</th><th scope="col" style="border-left:2px solid #fdfdfd;width:100%;|<!--
--><th scope="col" style="}}{{{basestyle|}}};{{{titlestyle|}}}" class="navbox-title" <!--
-->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}}><!--


-->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!--
---Title
  -->{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!--
  --><span class="{{{titleclass|}}}" style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"><!--
-->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;">&nbsp;</span>}}|<!--
  -->{{{title}}}</span></th></tr>}}<!--   
  -->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;">&nbsp;</span>}}}}|<!--
-->{{#if:{{{name|}}}|{{navbar|{{{name}}}|mini=1|style=width:6.8em;|<!--
-->fontstyle={{{basestyle|}}};{{{titlestyle|}}};background:none transparent;border:none;}}|<!--
--><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%;">
-----------------------above (optional content above groups)-----------------------
{{{title}}}</div></th></tr>}}<!--
-->{{#if:{{{above|}}}|<tr> <td class="navbox-abovebelow" style="{{{abovestyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}">{{{above|}}}</td></tr>}}<!--


----------------------------------------- Groups ----------------------------------------
-->{{#if:{{{list1|}}} |{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!-- 
-->{{#if:{{{group1|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group1}}}</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|}}}{{{list1style|}}}" colspan="{{#if:{{{group1|}}}|1|2}}" class="navbox-list"><!--
                      -->{{{list1}}}</td> <!--


---Above---
-----------------------Right side Image-----------------------  
-->{{#if:{{{above|}}}|<!--
-->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!--
--><tr><td class="navbox-abovebelow {{{aboveclass|}}}" style="{{{basestyle|}}};{{{abovestyle|}}}" <!--
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div>
{{{above}}}
</div></td></tr>}}<!--
 
 
---Body---
 
---First group/list and images---
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<tr style="height:2px;"><td></td></tr>}}<tr><!--
 
-->{{#if:{{{imageleft|}}}|<!--
--><td class="navbox-image {{{imageclass|}}}" style="width:0%;padding:0px 2px 0px 0px;{{{imageleftstyle|}}}" <!--
-->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}}}}><div>
{{{imageleft}}}</div></td>}}<!--
 
-->{{#if:{{{group1|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group1style|}}}"><!--
-->{{{group1}}}</td><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|}}};{{{list1style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
--><div style="padding:{{{list1padding|{{{listpadding|0em 0.25em}}}}}}">
{{{list1}}}
</div></td><!--
 
-->{{#if:{{{image|}}}|<!--
-->{{#if:{{{image|}}}|<!--
--><td class="navbox-image {{{imageclass|}}}" style="width:0%;padding:0px 0px 0px 2px;{{{imagestyle|}}}" <!--
--><td style="width:0%;padding:0px 0px 0px 2px;{{{imagestyle|}}}" <!--
  -->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!--
  -->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:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!--
  -->{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+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:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!--
  -->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}}}><div>
  -->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}}}><!--
{{{image}}}</div></td>}}<!--
-->{{{image}}}</td>}} </tr>}}<!--
 
--></tr>}}<!--
 


---Remaining groups/lists---
---Remaining groups/lists---
-->{{#if:{{{list2|}}}  |{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
-->{{#if:{{{group2|}}}  |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group2}}}</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|}}}{{{list2style|}}}" colspan="{{#if:{{{group2|}}}|1|2}}" class="navbox-list"><!--
                      -->{{{list2}}}</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"><!--
                      -->{{{list3}}}</td></tr>}}<!-- 


-->{{#if:{{{list2|}}}|<!--
-->{{#if:{{{list4|}}}   |<tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
-->{{#if:{{{group4|}}}  |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group4}}}</td><!--   
-->{{#if:{{{group2|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
  -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group2style|}}}"><!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list4style|}}}" colspan="{{#if:{{{group4|}}}|1|2}}" class="navbox-list"><!--
-->{{{group2}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->{{{list4}}}</td></tr>}}<!--   
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list2}}}
</div></td></tr>}}<!--
 
-->{{#if:{{{list3|}}}|<!--
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
-->{{#if:{{{group3|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group3style|}}}"><!--
-->{{{group3}}}</td><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|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group4style|}}}"><!--
-->{{{group4}}}</td><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|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group5style|}}}"><!--
-->{{{group5}}}</td><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|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group6style|}}}"><!--
-->{{{group6}}}</td><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|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group7style|}}}"><!--
-->{{{group7}}}</td><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|}}}|<!--
-->{{#if:{{{list5|}}}   |<tr style="height:2px"><td></td></tr><tr><!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group5|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group5}}}</td><!--
-->{{#if:{{{group8|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group8style|}}}"><!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list5style|}}}" colspan="{{#if:{{{group5|}}}|1|2}}" class="navbox-list"><!--
-->{{{group8}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->{{{list5}}}</td></tr>}}<!--  
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list8style|}}}" <!--
   
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
-->{{#if:{{{list6|}}}  |<tr style="height:2px"><td></td></tr><tr><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
-->{{#if:{{{group6|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group6}}}</td><!--
{{{list8}}}
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</div></td></tr>}}<!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list6style|}}}" colspan="{{#if:{{{group6|}}}|1|2}}" class="navbox-list"><!--
                      -->{{{list6}}}</td></tr>}}<!--


-->{{#if:{{{list9|}}}|<!--
-->{{#if:{{{list7|}}}   |<tr style="height:2px"><td></td></tr><tr><!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group7|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group7}}}</td><!--
-->{{#if:{{{group9|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group9style|}}}"><!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list7style|}}}" colspan="{{#if:{{{group7|}}}|1|2}}" class="navbox-list"><!--
-->{{{group9}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->{{{list7}}}</td></tr>}}<!--
-->{{#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|}}}|<!--
-->{{#if:{{{list8|}}}   |<tr style="height:2px"><td></td></tr><tr><!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group8|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group8}}}</td><!--
-->{{#if:{{{group10|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group10style|}}}"><!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list8style|}}}" colspan="{{#if:{{{group8|}}}|1|2}}" class="navbox-list"><!--
-->{{{group10}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->{{{list8}}}</td></tr>}}<!--
-->{{#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|}}}|<!--
-->{{#if:{{{list9|}}}   |<tr style="height:2px"><td></td></tr><tr><!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group9|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group9}}}</td><!--  
-->{{#if:{{{group11|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group11style|}}}"><!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list9style|}}}" colspan="{{#if:{{{group9|}}}|1|2}}" class="navbox-list"><!--
-->{{{group11}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->{{{list9}}}</td></tr>}}<!--
-->{{#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|}}}|<!--
-->{{#if:{{{list10|}}} |<tr style="height:2px"><td></td></tr><tr><!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group10|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group10}}}</td><!--
-->{{#if:{{{group12|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group12style|}}}"><!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list10style|}}}" colspan="{{#if:{{{group10|}}}|1|2}}" class="navbox-list"><!--
-->{{{group12}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->{{{list10}}}</td></tr>}}<!--
-->{{#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|}}}|<!--
-->{{#if:{{{list11|}}} |<tr style="height:2px"><td></td></tr><tr><!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group11|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group11}}}</td><!--
-->{{#if:{{{group13|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group13style|}}}"><!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list11style|}}}" colspan="{{#if:{{{group11|}}}|1|2}}" class="navbox-list"><!--
-->{{{group13}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->{{{list11}}}</td></tr>}}<!--
-->{{#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|}}}|<!--
-->{{#if:{{{list12|}}} |<tr style="height:2px"><td></td></tr><tr><!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group12|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group12}}}</td><!--
-->{{#if:{{{group14|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group14style|}}}"><!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list12style|}}}" colspan="{{#if:{{{group12|}}}|1|2}}" class="navbox-list"><!--
-->{{{group14}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->{{{list12}}}</td></tr>}}<!--
-->{{#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|}}}|<!--
-->{{#if:{{{list13|}}} |<tr style="height:2px"><td></td></tr><tr><!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group13|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group13}}}</td><!--
-->{{#if:{{{group15|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group15style|}}}"><!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list13style|}}}" colspan="{{#if:{{{group13|}}}|1|2}}" class="navbox-list"><!--
-->{{{group15}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->{{{list13}}}</td></tr>}}<!--
-->{{#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|}}}|<!--
-->{{#if:{{{list14|}}} |<tr style="height:2px"><td></td></tr><tr><!--  
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group14|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group14}}}</td><!--
-->{{#if:{{{group16|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group16style|}}}"><!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list14style|}}}" colspan="{{#if:{{{group14|}}}|1|2}}" class="navbox-list"><!--
-->{{{group16}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->{{{list14}}}</td></tr>}}<!--  
-->{{#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|}}}|<!--
-->{{#if:{{{list15|}}} |<tr style="height:2px"><td></td></tr><tr><!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group15|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group15}}}</td><!--  
-->{{#if:{{{group17|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group17style|}}}"><!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list15style|}}}" colspan="{{#if:{{{group15|}}}|1|2}}" class="navbox-list"><!--
-->{{{group17}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->{{{list15}}}</td></tr>}}<!--
-->{{#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|}}}|<!--
-->{{#if:{{{list16|}}} |<tr style="height:2px"><td></td></tr><tr><!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group16|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group16}}}</td><!--  
-->{{#if:{{{group18|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group18style|}}}"><!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list16style|}}}" colspan="{{#if:{{{group16|}}}|1|2}}" class="navbox-list"><!--
-->{{{group18}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->{{{list16}}}</td></tr>}}<!--
-->{{#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|}}}|<!--
-->{{#if:{{{list17|}}} |<tr style="height:2px"><td></td></tr><tr><!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group17|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group17}}}</td><!--  
-->{{#if:{{{group19|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group19style|}}}"><!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list17style|}}}" colspan="{{#if:{{{group17|}}}|1|2}}" class="navbox-list"><!--
-->{{{group19}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->{{{list17}}}</td></tr>}}<!--
-->{{#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|}}}|<!--
-->{{#if:{{{list18|}}} |<tr style="height:2px"><td></td></tr><tr><!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group18|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group18}}}</td><!--  
-->{{#if:{{{group20|}}}|<td scope="row" class="navbox-group {{{groupclass|}}}" <!--
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group20style|}}}"><!--
                      -->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list18style|}}}" colspan="{{#if:{{{group18|}}}|1|2}}" class="navbox-list"><!--
-->{{{group20}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
                      -->{{{list18}}}</td></tr>}}<!--  
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" <!--
   
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
-->{{#if:{{{list19|}}}  |<tr style="height:2px"><td></td></tr><tr><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
-->{{#if:{{{group19|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group19}}}</td><!--  
{{{list20}}}
                      --><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
</div></td></tr>}}<!--
                      -->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list19style|}}}" colspan="{{#if:{{{group19|}}}|1|2}}" class="navbox-list"><!--
                      -->{{{list19}}}</td></tr>}}<!--


-->{{#if:{{{list20|}}}  |<tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group20|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group20}}}</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|}}}{{{list20style|}}}" colspan="{{#if:{{{group20|}}}|1|2}} class="navbox-list"><!--
                      -->{{{list20}}}</td></tr>}}<!--


---Below---
-----------------------below (optional content below groups)-----------------------  
-->{{#if:{{{below|}}}|<!--
-->{{#if:{{{below|}}} |{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--  
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<tr style="height:2px;"><td></td></tr>}}<!--
--><td style="{{{belowstyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}">{{{below|}}}</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>}}<!--
--><noinclude>


--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}</includeonly><noinclude>See [[w:en:Template:Navbox/doc]] for documentation.
{{Template:Navbox generic/doc}}


[[Category:Navigational templates| ]]</noinclude>
[[Category:Navigational templates|!]]</noinclude>

18.39, 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>