Template:Infobox/Row

< Template:Infobox(Difference between revisions)

m (Woops)
Line 1: Line 1:
<onlyinclude><includeonly>{{#if: {{{L|}}}{{{1|}}} | <tr style="background:{{{{{2}}}}};">
+
<onlyinclude><includeonly>{{#if: {{{1|}}} |<tr><td style="font-weight: bold; background-color:#{{Tertiary}}; color:#fff;">{{#explode: {{{1}}} | :: | 0}}</td><td style="background-color:#{{{Primary}}; color:#fff;">{{#explode: {{{1}}} | :: | 1}}</td></tr>}}</includeonly></onlyinclude>
<td style="font-weight: bold;">{{#if: {{{L|}}} | {{{L}}} |
+
  {{#explode: {{{1|}}} |
+
    {{#if: {{#pos: {{{1|}}} | = }} | = | :: }}
+
    | 0
+
  }}
+
}}</td><td>{{#if: {{{D|}}} | {{{D}}} |
+
  {{#explode: {{{1|}}} |
+
    {{#if: {{#pos: {{{1|}}} | = }} | = | :: }}
+
    | 1
+
  }}
+
}}</td>
+
</tr>}}</includeonly></onlyinclude>
+

Revision as of 13:27, 6 May 2010