Template:Navbox/aux3

{{#switch:{{lc:{{{return}}}}}|brickstart={{#if:{{#pos:{{lc:{{{flags|}}}}}|alpha}}| {{#if:{{{sideimage2|}}}|  }}|{{#if:{{#pos:{{lc:{{{flags|}}}}}|hascontent}}| }}}}<table class="navbox_brick{{#if:{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,columns,}}|&#032;navbox_columncont}}{{#if:{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,wraplinks,}}||&#032;navbox_nowraplinks}}{{#ifexpr:(0{{#if:{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,collapsed,}}{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,collapsible,}}|+1}}{{#if:{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,nocollapse,}}|+1}}{{#if:{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,uncollapsed,}}|+1}})!=1||{{#if:{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,collapsed,}}{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,collapsible,}}|&#032;collapsible nocount collapsed}}{{#if:{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,nocollapse,}}|}}{{#if:{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,uncollapsed,}}|&#032;collapsible nocount uncollapsed}}}}" cellpadding="0" cellspacing="0">{{#if:{{{header|}}}{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,collapsible,}}|{{#if:{{#pos:{{lc:{{{flags|}}}}}|hascontent}}|{{#if:{{{header|}}}|{{{header}}}|Header?}}     }}}}|brickend= {{#if:{{#pos:{{lc:{{{flags|}}}}}|omega}}| {{#if:{{{sideimage1|}}}|  }} }}|colblock={{#if:{{{block|}}}|{{{block}}}  }}|colgroup={{#if:{{{group|}}}|{{#ifeq:{{{displayindex|}}}|1||<td class="navbox_space_h" rowspan="{{{rowcount|}}}"> }}<td class="navbox_colgroup" style="{{#if:{{{displaycount|}}}|{{#if:{{{displayindex|}}}|width: {{#expr:(floor ((100{{#if:{{{block|}}}|-12}}{{#if:{{{image1|}}}|-8}}{{#if:{{{image2|}}}|-8}}) / {{{displaycount|}}})){{#ifeq:{{#ifexpr:({{{displaycount|}}} mod 2)!=0|1}}{{#ifexpr:(100 mod ((floor ((100{{#if:{{{block|}}}|-12}}{{#if:{{{image1|}}}|-8}}{{#if:{{{image2|}}}|-8}}) / {{{displaycount|}}}))) mod 2)=0|1}}|11|{{#if:{{#ifexpr:{{{displayindex|}}} <= ((100 mod ((floor ((100{{#if:{{{block|}}}|-12}}{{#if:{{{image1|}}}|-8}}{{#if:{{{image2|}}}|-8}}) / {{{displaycount|}}}))) /2)|1}}{{#ifexpr:{{{displayindex|}}} > ({{{displaycount|}}} - ((100 mod ((floor ((100{{#if:{{{block|}}}|-12}}{{#if:{{{image1|}}}|-8}}{{#if:{{{image2|}}}|-8}}) / {{{displaycount|}}}))) /2))|1}}|+1}}|{{#if:{{#ifexpr:{{{displayindex|}}} <= (({{{displaycount|}}} / 2) + ((100 mod ((floor ((100{{#if:{{{block|}}}|-12}}{{#if:{{{image1|}}}|-8}}{{#if:{{{image2|}}}|-8}}) / {{{displaycount|}}}))) /2)|1}}{{#ifexpr:{{{displayindex|}}} > (({{{displaycount|}}} / 2) - ((100 mod ((floor ((100{{#if:{{{block|}}}|-12}}{{#if:{{{image1|}}}|-8}}{{#if:{{{image2|}}}|-8}}) / {{{displaycount|}}}))) /2)|1}}|+1}}}}%;}}}} {{#if:{{{group style|}}}|{{{group style}}}}}">{{#if:{{{group|}}}|{{{group}}}|group?}} }}|column={{#if:{{{content|}}}|{{#ifeq:{{{displayindex|}}}|1||<td class="navbox_space_h" rowspan="{{{rowcount|}}}"> }}<td class="navbox_column" style="{{#if:{{{displaycount|}}}|{{#if:{{{displayindex|}}}|width: {{#expr:(floor ((100{{#if:{{{block|}}}|-12}}{{#if:{{{image1|}}}|-8}}{{#if:{{{image2|}}}|-8}}) / {{{displaycount|}}})){{#ifeq:{{#ifexpr:({{{displaycount|}}} mod 2)!=0|1}}{{#ifexpr:(100 mod ((floor ((100{{#if:{{{block|}}}|-12}}{{#if:{{{image1|}}}|-8}}{{#if:{{{image2|}}}|-8}}) / {{{displaycount|}}}))) mod 2)=0|1}}|11|{{#if:{{#ifexpr:{{{displayindex|}}} <= ((100 mod ((floor ((100{{#if:{{{block|}}}|-12}}{{#if:{{{image1|}}}|-8}}{{#if:{{{image2|}}}|-8}}) / {{{displaycount|}}}))) /2)|1}}{{#ifexpr:{{{displayindex|}}} > ({{{displaycount|}}} - ((100 mod ((floor ((100{{#if:{{{block|}}}|-12}}{{#if:{{{image1|}}}|-8}}{{#if:{{{image2|}}}|-8}}) / {{{displaycount|}}}))) /2))|1}}|+1}}|{{#if:{{#ifexpr:{{{displayindex|}}} <= (({{{displaycount|}}} / 2) + ((100 mod ((floor ((100{{#if:{{{block|}}}|-12}}{{#if:{{{image1|}}}|-8}}{{#if:{{{image2|}}}|-8}}) / {{{displaycount|}}}))) /2)|1}}{{#ifexpr:{{{displayindex|}}} > (({{{displaycount|}}} / 2) - ((100 mod ((floor ((100{{#if:{{{block|}}}|-12}}{{#if:{{{image1|}}}|-8}}{{#if:{{{image2|}}}|-8}}) / {{{displaycount|}}}))) /2)|1}}|+1}}}}%;}}}} {{#if:{{{content style|}}}|{{{content style}}}}}">{{{content}}} }}|columnlower={{#if:{{{group|}}}|<td class="navbox_column" style="{{#if:{{{content style|}}}|{{{content style}}}}}">{{#if:{{{content|}}}|{{{content}}}|content?}} }}|colimageleft|colimageright={{#if:{{{image|}}}|{{#ifeq:{{lc:{{{return|}}}}}|colimageright|<td class="navbox_space_h" rowspan="{{{rowcount|}}}"> }}<td class="navbox_image" rowspan="{{{rowcount|}}}" style="{{#if:{{{image style|}}}|{{{image style}}}}}"> {{#ifeq:{{lc:{{{return|}}}}}|colimageleft|<td class="navbox_space_h" rowspan="{{{rowcount|}}}"> }}}}|fullrow={{#if:{{{content|}}}|<tr class="navbox_space_v"><td colspan="{{{colcount|}}}">  <tr class="navbox_row"><td class="{{#switch:{{lc:{{{flags|}}}}}|footer=navbox_footer|#default=navbox_cell}}" colspan="{{{colcount|}}}" style="{{{content style|}}}">{{{content}}}  }}|options={{#if:{{{meta options|}}}{{{options|}}}|{{#if:{{{meta options|}}}|,{{#if:{{#pos:,{{#replace:{{lc:{{{meta options|}}}}}}},|,columns,}}|columns,}}{{#if:{{#pos:,{{#replace:{{lc:{{{meta options|}}}}}}},|,collapsiblegroups,}}|{{#if:{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,nocollapse,}}{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,collapsible,}}{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,uncollapsed,}}||collapsible,}}}}{{#if:{{#pos:,{{#replace:{{lc:{{{meta options|}}}}}}},|,uncollapsedgroups,}}|{{#if:{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,nocollapse,}}{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,collapsed,}}{{#pos:,{{#replace:{{lc:{{{options|}}}}}}},|,collapsible,}}||uncollapsed,}}}}{{#if:{{#pos:,{{#replace:{{lc:{{{meta options|}}}}}}},|,wraplinks,}}|wraplinks,}}}}{{#if:{{{options|}}}|,{{#replace:{{lc:{{{options|}}}}}}},}}}}|row={{#if:{{{block|}}}{{{content|}}}{{{group|}}}|{{#if:{{{content|}}}{{{group|}}}|{{#ifeq:{{{displayindex|}}}|1||<tr class="navbox_space_v"><td colspan="{{{colcount|}}}">  }}<tr class="navbox_row">}}{{#ifeq:{{{displayindex|}}}|1|{{#if:{{{image2|}}}|<td class="navbox_image" rowspan="{{{rowcount|}}}" style="{{#if:{{{image2 style|}}}|{{{image2 style}}}}}"> <td class="navbox_space_h" rowspan="{{{rowcount|}}}"> }}{{#if:{{{block|}}}|<td class="navbox_group" rowspan="{{{rowcount|}}}" style="{{#if:{{{block style|}}}|{{{block style}}}}}">{{{block}}} <td class="navbox_space_h" rowspan="{{{rowcount|}}}"> }}}}{{#if:{{{group|}}}|<td class="{{#if:{{{block|}}}|navbox_subgroup|navbox_group}}" style="{{#if:{{{group style|}}}|{{{group style}}}}}">{{#if:{{{group|}}}|{{{group}}}|group?}} <td class="navbox_space_h"> }}{{#if:{{{content|}}}{{{group|}}}|<td class="navbox_cell {{{flags|}}}" colspan="{{#expr:{{{colcount}}}{{#if:{{{group|}}}|-2}}{{#if:{{{block|}}}|-2}}{{#if:{{{image1|}}}|-2}}{{#if:{{{image2|}}}|-2}}}}" style="{{#if:{{{content style|}}}|{{{content style}}}}}">{{#if:{{{content|}}}|{{{content}}}|content?}} }}{{#ifeq:{{{displayindex|}}}|1|{{#if:{{{image1|}}}|<td class="navbox_space_h" rowspan="{{{rowcount|}}}"> <td class="navbox_image" rowspan="{{{rowcount|}}}" style="{{#if:{{{image1 style|}}}|{{{image1 style}}}}}"> }}}}{{#if:{{{content|}}}{{{group|}}}| }}}}|style={{#if:{{{style1|}}}|{{{style1|}}}{{#ifexpr:{{#rpos:{{{style1|}}}|;}}+1|{{#len:{{{style1|}}}}}||;}}}}{{#if:{{{style2|}}}|{{{style2|}}}{{#ifexpr:{{#rpos:{{{style2|}}}|;}}+1|{{#len:{{{style2|}}}}}||;}}}}{{#if:{{{style3|}}}|{{{style3|}}}{{#ifexpr:{{#rpos:{{{style3|}}}|;}}+1|{{#len:{{{style3|}}}}}||;}}}}{{#if:{{{style4|}}}|{{{style4|}}}{{#ifexpr:{{#rpos:{{{style4|}}}|;}}+1|{{#len:{{{style4|}}}}}||;}}}}{{#if:{{{style5|}}}|{{{style5|}}}{{#ifexpr:{{#rpos:{{{style5|}}}|;}}+1|{{#len:{{{style5|}}}}}||;}}}}|#default={{Terr|Invalid value for  : "{{{return|}}}".}}}} {{Documentation}}