User:Locke/Sandbox/Template3: Difference between revisions

Want an adless experience? Log in or Create an account.
no edit summary
mNo edit summary
No edit summary
Line 1: Line 1:
<tr>{{#if: {{{1|}}}
<tr>{{#if: {{{1|}}}
| <{{#ifexpr:{{{label|1}}}>=1|th class="label"|td}} {{#if:{{{2|}}}||colspan="2"}}><div class="multicell"><div class="subcell">{{#tag:poem|{{{1}}}}}</div></div></{{#ifexpr:{{{label|1}}}>=1|th|td}}>
| <td {{#ifexpr:{{{label|1}}}>=1|class="label"}} {{#if:{{{2|}}}||colspan="2"}}><div class="multicell"><div class="subcell">{{#tag:poem|{{{1}}}}}</div></div></td>
}}{{#if: {{{2|}}}
}}{{#if: {{{2|}}}
| <{{#ifexpr:{{{label|1}}}>=2|th class="label"|td}} {{#if:{{{1|}}}||colspan="2"}}><div class="multicell">{{#fornumargs:key|val
| <td {{#ifexpr:{{{label|1}}}>=2|class="label"}} {{#if:{{{1|}}}||colspan="2"}}><div class="multicell">{{#fornumargs:key|val
   | {{#ifeq:{{#var:key}}|1||<div class="subcell" {{#if:{{#var:col{{#var:key}}width}}|style="width: {{#var:col{{#var:key}}width}};"}}>{{#tag:poem|{{#var:val}}}}</div>}}
   | {{#ifeq:{{#var:key}}|1||<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></{{#ifexpr:{{{label|1}}}>=2|th|td}}>
   }}</div></td>
}}</tr>
}}</tr>