Difference between revisions of "Template:Navbox"

m
m
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: thin solid gray">|<div style="background-color:#E3FEFF; border: thin solid gray">}}<!--Defaults to light blue color-->
 
{{#if:{{{background_color|}}}|<div style="background-color:{{{background_color}}}; border: thin solid gray">|<div style="background-color:#E3FEFF; border: thin solid gray">}}<!--Defaults to light blue color-->
<div style="float:left;"><small>{{#if:{{{name|}}}|[[Template:Navigation {{{name}}}|V]]}}</small></div>
+
<div style="float:left;"><small>{{#if:{{{name|}}}|[[Template:Navigation {{{name}}}|]]}}</small></div>
  
 
<center><small>{{#if:{{{title|}}}|'''{{{title}}}''' }}</small></center></div>
 
<center><small>{{#if:{{{title|}}}|'''{{{title}}}''' }}</small></center></div>
Line 7: Line 7:
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
<table class="wikitable" style="margin:auto; line-height:1.5">
 
<table class="wikitable" style="margin:auto; line-height:1.5">
<div style="background-color:#FF000; border thin solid gray">
 
 
{{#if:{{{group1|}}}|
 
{{#if:{{{group1|}}}|
 
<tr>
 
<tr>
 
<td style="width:25%><small><div style="line-height:1.0">'''{{{group1}}}'''</div></small></td>
 
<td style="width:25%><small><div style="line-height:1.0">'''{{{group1}}}'''</div></small></td>
 
<td><small><div class="hlist">{{#if:{{{list1|}}}|{{{list1}}} }}</div></small></td>
 
<td><small><div class="hlist">{{#if:{{{list1|}}}|{{{list1}}} }}</div></small></td>
</tr>}}</div>
+
</tr>}}
 
{{#if:{{{group2|}}}|
 
{{#if:{{{group2|}}}|
 
<tr>
 
<tr>

Revision as of 20:55, 25 March 2024