Minimum Wiki
(Creating Navbox template)
 
m (Added some padding to the group title)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
  +
<!-- Begin Navbox -->
<table cellspacing="0" style="width: 100%; border: 1px solid #090909; background: #f0f0f0;">
+
<table cellspacing="0" style="width: 100%; border: 1px solid #090909; background: #f0f0f0;"><!--
  +
  +
--- Title Bar -->
 
<tr><td style="padding: 1px; font-weight: bold; text-align: center;">
 
<tr><td style="padding: 1px; font-weight: bold; text-align: center;">
 
<table style="width: 100%;">
 
<table style="width: 100%;">
<tr><td style="border: 1px solid #090909; background: #090909; background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0,#191919), color-stop(1,#090909) ); padding: 2px 8px 2px 8px">
+
<tr><td style="font-size: {{{titlefontsize|120}}}%; border: 1px solid #090909; background: #090909; background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0,#191919), color-stop(1,#090909) ); padding: 2px 4px 2px 4px">
{{{title}}}
+
{{{title|Navigation Box}}}
 
</td></tr>
 
</td></tr>
 
</table>
 
</table>
  +
<!-- End Title Bar ---
  +
  +
--- Body -->
 
</td></tr>
 
</td></tr>
<tr><td style="padding: 2px 16px 2px 16px; color: #090909;">
+
<tr><td style="padding: 2px 0px 2px 0px; color: #090909;"><!--
  +
{{{body}}}
 
  +
--><table style="width: 100%; padding: 0px 16px 0px 16px;">
  +
<tr>
  +
<td>
 
{{{body|}}}
  +
</td>
  +
</tr>
  +
</table><!--
  +
  +
--- Begin Group Table -->
  +
{{#ifexpr:{{{groups|0}}}>0|
  +
<table style="width: 100%;" cellpadding="2px;" cellspacing="4px;">
  +
  +
{{#if:{{{group1|}}}|
  +
<tr>
  +
<td style="width: 10%; font-weight: bold; text-align: right; padding: 0px 6px 0px 0px;" bgcolor="#d1d1d1">
  +
''{{{group1}}}''
  +
</td>
  +
<td>
  +
{{{list1}}}
  +
</td>
  +
</tr>
  +
}}
  +
{{#if:{{{group2|}}}|
  +
<tr>
  +
<td style="width: 10%; font-weight: bold; text-align: right; padding: 0px 6px 0px 0px;" bgcolor="#d1d1d1">
  +
''{{{group2}}}''
  +
</td>
  +
<td>
  +
{{{list2}}}
  +
</td>
  +
</tr>
  +
}}
  +
{{#if:{{{group3|}}}|
  +
<tr>
  +
<td style="width: 10%; font-weight: bold; text-align: right; padding: 0px 6px 0px 0px;" bgcolor="#d1d1d1">
  +
''{{{group3}}}''
  +
</td>
  +
<td>
  +
{{{list3}}}
  +
</td>
  +
</tr>
  +
}}
  +
{{#if:{{{group4|}}}|
  +
<tr>
  +
<td style="width: 10%; font-weight: bold; text-align: right; padding: 0px 6px 0px 0px;" bgcolor="#d1d1d1">
  +
''{{{group4}}}''
  +
</td>
  +
<td>
  +
{{{list4}}}
  +
</td>
  +
</tr>
  +
}}
  +
{{#if:{{{group5|}}}|
  +
<tr>
  +
<td style="width: 10%; font-weight: bold; text-align: right; padding: 0px 6px 0px 0px;" bgcolor="#d1d1d1">
  +
''{{{group5}}}''
  +
</td>
  +
<td>
  +
{{{list5}}}
  +
</td>
  +
</tr>
  +
}}
  +
{{#if:{{{group6|}}}|
  +
<tr>
  +
<td style="width: 10%; font-weight: bold; text-align: right; padding: 0px 6px 0px 0px;" bgcolor="#d1d1d1">
  +
''{{{group6}}}''
  +
</td>
  +
<td>
  +
{{{list6}}}
  +
</td>
  +
</tr>
  +
}}
  +
{{#if:{{{group7|}}}|
  +
<tr>
  +
<td style="width: 10%; font-weight: bold; text-align: right; padding: 0px 6px 0px 0px;" bgcolor="#d1d1d1">
  +
''{{{group7}}}''
  +
</td>
  +
<td>
  +
{{{list7}}}
  +
</td>
  +
</tr>
  +
}}
  +
{{#if:{{{group8|}}}|
  +
<tr>
  +
<td style="width: 10%; font-weight: bold; text-align: right; padding: 0px 6px 0px 0px;" bgcolor="#d1d1d1">
  +
''{{{group8}}}''
  +
</td>
  +
<td>
  +
{{{list8}}}
  +
</td>
  +
</tr>
  +
}}
  +
{{#if:{{{group9|}}}|
  +
<tr>
  +
<td style="width: 10%; font-weight: bold; text-align: right; padding: 0px 6px 0px 0px;" bgcolor="#d1d1d1">
  +
''{{{group9}}}''
  +
</td>
  +
<td>
  +
{{{list9}}}
  +
</td>
  +
</tr>
  +
}}
  +
{{#if:{{{group10|}}}|
  +
<tr>
  +
<td style="width: 10%; font-weight: bold; text-align: right; padding: 0px 6px 0px 0px;" bgcolor="#d1d1d1">
  +
''{{{group10}}}''
  +
</td>
  +
<td>
  +
{{{list10}}}
  +
</td>
  +
</tr>
  +
}}
  +
  +
</table>
  +
}}
  +
<!-- End Group Table -->
 
</td></tr>
 
</td></tr>
  +
<!-- End Body -->
 
</table>
 
</table>
  +
<!-- End Navbox -->

Latest revision as of 07:08, 19 May 2014

Navigation Box