Template:Infobox/Row: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(Getting rid of multicell for IE compatibility and for general sanity.)
m (change label class to zdw-label to distinguish from bootstrap)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<tr>{{#if: {{{1|}}}
<tr><td {{#if:{{{2|}}}||colspan="3"}} {{#ifexpr:{{{label|1}}}>=1|class="zdw-label"}}{{#if:{{#var:col1width}}|style="width: {{#var:col1width}};"}}>{{#tag:poem|{{{1}}}}}</td>{{#if: {{{2|}}}
| <td {{#if:{{{2|}}}||colspan="3"}} {{#ifexpr:{{{label|1}}}>=1|class="label"}}>{{#tag:poem|{{{1}}}}}</td>
| <td {{#if:{{{3|}}}||colspan="2"}} {{#ifexpr:{{{label|1}}}>=2|class="zdw-label"}} {{#if:{{#var:col2width}}|style="width: {{#var:col2width}};"}}>{{#tag:poem|{{{2|}}}}}</td>}}{{#if: {{{3|}}}
}}{{#if: {{{2|}}}
| <td {{#ifexpr:{{{label|1}}}>=3|class="zdw-label"}} {{#if:{{#var:col3width}}|style="width: {{#var:col3width}};"}}>{{#tag:poem|{{{3|}}}}}</td>
| <td {{#if:{{{1|}}}|{{#if:{{{3|}}}||colspan="2"}}|colspan="3"}} {{#ifexpr:{{{label|1}}}>=2|class="label"}} {{#if:{{#var:col2width}}|style="width: {{#var:col2width}};"}}>{{#tag:poem|{{{2|}}}}}</td>
}}{{#if: {{{2|}}}
| <td {{#ifexpr:{{{label|1}}}>=3|class="label"}} {{#if:{{#var:col3width}}|style="width: {{#var:col3width}};"}}>{{#tag:poem|{{{3|}}}}}</td>
}}</tr>
}}</tr>

Latest revision as of 02:20, November 16, 2020

{{{1}}}