Difference between revisions of "Template:Navbox/sandbox"

From blackwiki
Jump to navigation Jump to search
( Replaced content with '{| class="navbox" cellspacing="0" style=";" | {| cellspacing="0" class="nowraplinks collapsible" style="width:100%;background:transparent;color:inherit;;" ...')
Line 1: Line 1:
<!--
+
{| class="navbox" cellspacing="0" style=";"
 
+
|
Please do not edit without discussion first as this is a VERY complex template.
+
  {| cellspacing="0" class="nowraplinks collapsible" style="width:100%;background:transparent;color:inherit;;"
 
+
  |-
-->{{#switch:|subgroup|child=</div>|none=|#default=<table class="navbox" cellspacing="0" <!--
+
  ! colspan="3" class="navbox-title" | <div style="float:left; width:6em; text-align:left;" />hello
-->style=";"><tr><td style="padding:2px;">}}<!--
+
  |- style="height:2px;"
 
+
  |-
--><table cellspacing="0" class="nowraplinks {{#if:hello|{{#switch:|plain|off=|<!--
+
  | style="text-align:left;" |
-->#default=collapsible {{#if:||autocollapse}}}}}} {{#switch:|<!--
+
  something
-->subgroup|child|none=navbox-subgroup" style="width:100%;;|<!--
+
  |}
-->#default=" style="width:100%;background:transparent;color:inherit}};;"><!--
+
|}
 
 
 
 
 
 
---Title and Navbar---
 
-->{{#if:hello|<tr>{{#if:|<!--
 
--><td class="navbox-group" style=";;"></td><!--
 
--><th style="border-left:2px solid #fdfdfd;width:100%;|<th style="}};" <!--
 
-->colspan={{#expr:2{{#if:|+1}}{{#if:|+1}}{{#if:|-1}}}} <!--
 
-->class="navbox-title"><!--
 
 
 
-->{{#if:{{#switch:|plain|off=1}}<!--
 
-->{{#if:||{{#switch:|subgroup|child|none=1}}}}|<!--
 
-->{{#ifeq:|off|{{#ifeq:|plain|<div style="float:right;width:6em;">&nbsp;</div>}}|<!--
 
-->{{#ifeq:|plain||<div style="float:left; width:6em;text-align:left;">&nbsp;</div>}}}}|<!--
 
--><div style="float:left; width:6em;text-align:left;"><!--
 
-->{{Tnavbar|{{{name}}}|fontstyle=;;border:none;|mini=1}}<!--
 
--></div>{{#ifeq:|plain|<div style="float:right;width:6em;">&nbsp;</div>}}}}<!--
 
 
 
--><span style="font-size:{{#switch:|subgroup|child|none=100|#default=110}}%;"><!--
 
-->hello</span></th></tr>}}<!--
 
 
 
 
 
 
 
---Above---
 
-->{{#if:something|<!--
 
-->{{#if:hello|<tr style="height:2px;"><td></td></tr>}}<!--
 
--><tr><td class="navbox-abovebelow" style=";" <!--
 
-->colspan="{{#expr:2{{#if:|+1}}{{#if:|+1}}}}">something</td></tr>}}<!--
 
 
 
 
 
 
 
---Body---
 
 
 
---First group/list and images---
 
-->{{#if:|{{#if:hellosomething|<tr style="height:2px;"><td></td></tr>}}<tr><!--
 
 
 
-->{{#if:|<!--
 
--><td style="width:0%;padding:0px 2px 0px 0px;" <!--
 
-->rowspan={{#expr:1{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}<!--
 
-->{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}<!--
 
-->{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}<!--
 
-->{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}<!--
 
-->{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}}}><!--
 
--></td>}}<!--
 
 
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group1}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|even|odd}}"><!--
 
--><div style="padding:0em 0.25em">}}{{#if:|</div></td><!--
 
 
 
-->{{#if:|<!--
 
--><td style="width:0%;padding:0px 0px 0px 2px;" <!--
 
-->rowspan={{#expr:1{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}<!--
 
-->{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}<!--
 
-->{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}<!--
 
-->{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}<!--
 
-->{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}{{#if:|+2}}}}><!--
 
--></td>}}<!--
 
 
 
--></tr>}}<!--
 
 
 
 
 
 
 
---Remaining groups/lists---
 
 
 
-->{{#if:|<!--
 
-->{{#if:hellosomething|<tr style="height:2px"><td></td></tr>}}<tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group2}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|odd|even}}"><!--
 
--><div style="padding:0em 0.25em">}}{{#if:|</div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
-->{{#if:hellosomething|<tr style="height:2px"><td></td></tr>}}<tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group3}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|even|odd}}"><!--
 
--><div style="padding:0em 0.25em">}}{{#if:|</div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group4}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|odd|even}}"><!--
 
--><div style="padding:0em 0.25em">}}{{#if:|</div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group5}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|even|odd}}"><!--
 
--><div style="padding:0em 0.25em">}}{{#if:|</div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group6}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|odd|even}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group7}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|even|odd}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group8}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|odd|even}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group9}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|even|odd}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group10}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|odd|even}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group11}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|even|odd}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group12}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|odd|even}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group13}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|even|odd}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group14}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|odd|even}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group15}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|even|odd}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group16}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|odd|even}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group17}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|even|odd}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group18}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|odd|even}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group19}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|even|odd}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
-->{{#if:|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:|<td class="navbox-group" style=";;"><!--
 
-->{{{group20}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
 
-->width:100%;padding:0px;;;" <!--
 
-->class="navbox-list navbox-{{#ifeq:|swap|odd|even}}"><!--
 
--><div style="padding:0em 0.25em"></div></td></tr>}}<!--
 
 
 
 
 
---Below---
 
-->{{#if:|<!--
 
-->{{#if:hellosomething|<tr style="height:2px;"><td></td></tr>}}<!--
 
--><tr><td class="navbox-abovebelow" style=";" <!--
 
-->colspan="{{#expr:2{{#if:|+1}}{{#if:|+1}}}}">{{{below}}}</td></tr>}}<!--
 
 
 
 
 
--></table>{{#switch:|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!--
 
 
 
-->
 

Revision as of 17:42, 5 August 2008