Difference between revisions of "Template:Navbox"

m
m
 
(6 intermediate revisions by the same user not shown)
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:{{Settings:Default Navbox Color}}; border: thin solid gray">}}<!--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>
  
Line 10: Line 10:
 
<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="{{#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>}}
 
{{#if:{{{group2|}}}|
 
{{#if:{{{group2|}}}|
Line 35: Line 35:
 
<tr>
 
<tr>
 
<td><small><div style="line-height:1.0">'''{{{group6}}}'''</div></small></td>
 
<td><small><div style="line-height:1.0">'''{{{group6}}}'''</div></small></td>
<td><small><div class="{{#if:{{{liststyle5|}}}|vlist|hlist}}">{{#if:{{{list6|}}}|{{{list6}}} }}</div></small></td>
+
<td><small><div class="{{#if:{{{liststyle6|}}}|vlist|hlist}}">{{#if:{{{list6|}}}|{{{list6}}} }}</div></small></td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{group7|}}}|
 
{{#if:{{{group7|}}}|
Line 109: Line 109:
 
</table>
 
</table>
 
</div>
 
</div>
 +
[[Category:Navbox]]
 +
<noinclude>

Latest revision as of 00:07, 12 May 2024