Array

Template:NavboxTest: Difference between revisions

mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#ifeq:{{{state|}}}|expanded|<div class="mw-collapsible">|<div class="mw-collapsible mw-collapsed">}}
{{#ifeq:{{{state|}}}|expanded|<div class="mw-collapsible">|<div class="mw-collapsible mw-collapsed">}}
{{#if:{{{background_color|}}}|<div style="background-color:{{{background_color}}}; border: none">|<div style="background-color:{{Settings:Default Navbox Color}}; border: none">}}<!--Defaults to light blue color-->
{{#if:{{{background_color|}}}|<div style="background-color:{{{background_color}}}; border: none">|<div style="background-color:{{Settings:Default Navbox Color}}; border: none">}}<!--Defaults to light blue color-->
<div style="float:left;">{{#if:{{{name|}}}|[[Template:Navbox:{{{name}}}|]]}}</div>
<div style="float:left;">{{#if:{{{name|}}}|[[Template:Navbox:{{{name}}}|]]}}</div>


<center><small>{{#if:{{{title|}}}|'''{{{title}}}''' }}</small></center></div>
<center><small>{{#if:{{{title|}}}|'''{{{title}}}''' }}</small></center></div>
Line 9: Line 9:
{{#if:{{{group1|}}}|
{{#if:{{{group1|}}}|
<tr>
<tr>
<td style="width:0%><small><div style="line-height:0">'''{{{group1}}}'''</div></small></td>
<td style="width:0%><small><div style="line-height:1.0">'''{{{group1}}}'''</div></small></td>
<td><small><div class="{{#if:{{{liststyle1|}}}|vlist|hlist}}">{{#if:{{{list1|}}}|{{{list1}}} }}</div></small></td>
<td><small><div class="{{#if:{{{liststyle1|}}}|vlist|hlist}}">{{#if:{{{list1|}}}|{{{list1}}} }}</div></small></td>
</tr>}}
</tr>}}

Revision as of 20:13, 15 May 2024