Template:Infobox: Difference between revisions

m
no edit summary
m (Protected "Template:Infobox": Prototype of Infobox ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
mNo edit summary
Line 1: Line 1:
{{#if:{{{color|}}}|{{#vardefine:color| background-color: {{{color}}};}}}}<table class="infobox section-border">
{{#if:{{{color|}}}|{{#vardefine:color| background-color: {{{color}}};}}}}<table class="infobox section-border">
   <tr style="{{#var:color}}" class="textfloat">
   <tr style="{{#var:color}}" class="textfloat">
     <th colspan="{{#expr:{{{colset|1}}}+1}}">{{{name|}}}</th>
     <th colspan="{{#expr:{{{colset|1}}}+1}}">{{{title|}}}</th>
   </tr>{{#if:{{{image|}}}|<tr>
   </tr>{{#if:{{{image|}}}|<tr>
     <td  colspan="{{#expr:{{{colset|1}}}+1}}"><center>{{{image}}}</center></td>
     <td  colspan="{{#expr:{{{colset|1}}}+1}}"><center>{{{image}}}</center></td>