Difference between revisions of "Template:NavboxTest"

m
m
 
(28 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: 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>
 
  
<center><small>{{#if:{{{title|}}}|'''{{{title}}}''' }}</small></center></div>
+
<small>{{#if:{{{title|}}}|'''{{{title}}}'''|}}</small></div>
  
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
<table class="wikitable" style="margin:auto; line-height:1.5">
+
<table class="table" style="margin:auto; line-height:1.5; border:none; width:100%; align:top">
 
{{#if:{{{group1|}}}|
 
{{#if:{{{group1|}}}|
 
<tr>
 
<tr>
<td style="width:0%><small><div style="line-height:1.0">'''{{{group1}}}'''</div></small></td>
+
<td style="width:80%><div style="line-height:1.0; border=none">{{{group1}}}</div></td>
<td><small><div class="{{#if:{{{liststyle1|}}}|vlist|hlist}}">{{#if:{{{list1|}}}|{{{list1}}} }}</div></small></td>
+
<td style="vertical-align:top"><div class="{{#if:{{{liststyle1|}}}|vlist|hlist}}">{{#if:{{{list1|}}}|{{{list1}}} }}</div></td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{group2|}}}|
 
{{#if:{{{group2|}}}|

Latest revision as of 16:28, 17 May 2024