User:Locke/Sandbox/Template2: Difference between revisions

Want an adless experience? Log in or Create an account.
m
no edit summary
(fixed 3-column row with no multicells)
mNo edit summary
Line 1: Line 1:
<tr>{{#if: {{{1|}}}
<tr>{{#if: {{{1|}}}
| <{{#ifexpr:{{{label|1}}}>=1|th class="label"|td}} {{#if:{{{2|}}}{{{3|}}}|{{#if:{{{2|}}}||colspan="2"}}|colspan="3"}}>{{#tag:poem|{{{1}}}</{{#ifexpr:{{{label|1}}}>=1|th|td}}>
| <{{#ifexpr:{{{label|1}}}>=1|th class="label"|td}} {{#if:{{{2|}}}{{{3|}}}|{{#if:{{{2|}}}||colspan="2"}}|colspan="3"}}>{{#tag:poem|{{{1}}}}}</{{#ifexpr:{{{label|1}}}>=1|th|td}}>
}}{{#if: {{{2|}}}
}}{{#if: {{{2|}}}
| <{{#ifexpr:{{{label|1}}}>=2|th class="label"|td}} {{#if:{{{3|}}}||colspan="2"}}>{{#tag:poem|{{{2}}}</{{#ifexpr:{{{label|1}}}>=2|th|td}}>
| <{{#ifexpr:{{{label|1}}}>=2|th class="label"|td}} {{#if:{{{3|}}}||colspan="2"}}>{{#tag:poem|{{{2}}}}}</{{#ifexpr:{{{label|1}}}>=2|th|td}}>
}}{{#if: {{{3|}}}
}}{{#if: {{{3|}}}
| <{{#ifexpr:{{{label|1}}}>=3|th class="label"|td}}>{{#tag:poem|{{{3}}}</{{#ifexpr{{{label|1}}}>=3|th|td}}>
| <{{#ifexpr:{{{label|1}}}>=3|th class="label"|td}}>{{#tag:poem|{{{3}}}}}</{{#ifexpr{{{label|1}}}>=3|th|td}}>
}}</tr>
}}</tr>