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">}}
+
{{#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><center><small>{{#if:{{{title|}}}|'''{{{title}}}''' }}</small></center></div>
+
<div style="float:left;"><small>{{#if:{{{name|}}}|[[Template:Navigation {{{name}}}|V]]}}</small></div>
 +
 
 +
<center><small>{{#if:{{{title|}}}|'''{{{title}}}''' }}</small></center></div>
 +
 
 
<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">

Revision as of 20:51, 25 March 2024