Template:Infobox/Row: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
new infobox row
mNo edit summary
(new infobox row)
Line 1: Line 1:
{{#if:{{{2|}}}|
<tr>{{#if: {{{1|}}}
! class="label" {{!}} {{{1|}}}
| <td {{#if:{{{2|}}}||colspan="2"}}><div class="multicell"><div class="subcell {{#ifexpr:{{{label|1}}}>=1|label}}">{{#tag:poem|{{{1}}}}}</div></div></td>
{{!}} colspan={{#expr:{{#var:infobox-cols}}-1}} {{!}} {{#tag:poem|{{{2|}}}}}
}}{{#if: {{{2|}}}
{{!-}}
| <td {{#if:{{{1|}}}||colspan="2"}}><div class="multicell">{{#fornumargs:key|val
}}
  | {{#ifeq:{{#var:key}}|1||{{#if:{{#var:val}}|<div class="subcell {{#ifexpr:{{{label|1}}}>={{#var:key}}|label}}" {{#if:{{#var:col{{#var:key}}width}}|style="width: {{#var:col{{#var:key}}width}};"}}>{{#tag:poem|{{#var:val}}}}</div>}}}}
  }}</div></td>
}}</tr>

Navigation menu