Template:Navbox with columns: Difference between revisions
From Vigyanwiki
Template>Sardanaphalus (added "colwidth" as alternate name for ambiguous "width") |
Template>Ms2ger m (-<center>; +css to center table) |
||
Line 1: | Line 1: | ||
<!-- | <!-- | ||
Please do not edit without discussion first as this is a VERY complex template. | Please do not edit without discussion first as this is a "VERY complex" template. | ||
-->{{Navbox/core | -->{{Navbox/core | ||
Line 24: | Line 24: | ||
|os = {{{oddstyle|}}} | |os = {{{oddstyle|}}} | ||
|l1 = | |l1 = | ||
<table style="background:transparent;text-align:left;font-size:95%;{{{colstyle|}}}" cellspacing="0" cellpadding="0"> | <table style="background:transparent; text-align:left; font-size:95%; margin-left:auto; margin-right:auto; {{{colstyle|}}}" cellspacing="0" cellpadding="0"> | ||
<tr | <tr style="vertical-align:top;"><!-- | ||
--><td style="width:{{{padding|5em}}};"><!--padding--></td><!-- | --><td style="width:{{{padding|5em}}};"><!--padding--></td><!-- | ||
------------col1------><td style="width:{{{col1width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col1style|}}}"> | ------------col1------><td style="width:{{{col1width|{{{colwidth|{{{width|10em}}}}}}}}}; {{{oddcolstyle|}}} {{{col1style|}}}"> | ||
Line 59: | Line 59: | ||
</td>}} | </td>}} | ||
</tr></table> | </tr></table> | ||
{{{category|}}} | |||
}}<noinclude> | }}<noinclude> | ||