Template:Character Details/multicell: Difference between revisions
Jump to navigation
Jump to search
(Make 1/2/3 take priority over span if both are specified, instead of the other way around) |
(Set cells to be equally-sized) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>Part of [[Template:Dual Character Details]] and [[Template:Three Character Details]].</noinclude><includeonly>{{#if:{{{1|}}}{{{2|}}}{{{3|}}}|{{# | <noinclude>Part of [[Template:Dual Character Details]] and [[Template:Three Character Details]].</noinclude><includeonly>{{#if:{{{1|}}}{{{2|}}}{{{3|}}}|{{#ifeq:{{#expr:{{{colspan|1}}} >= 1}}|1|<td style="width:{{#expr:80 / {{{colspan|1}}}}}%">{{#if:{{{1|}}}|{{{1}}}|{{{default|}}}}}</td>}}{{#ifeq:{{#expr:{{{colspan|1}}} >= 2}}|1|<td style="width:{{#expr:80 / {{{colspan|1}}}}}%">{{#if:{{{2|}}}|{{{2}}}|{{{default|}}}}}</td>}}{{#ifeq:{{#expr:{{{colspan|1}}} >= 3}}|1|<td style="width:{{#expr:80 / {{{colspan|1}}}}}%">{{#if:{{{3|}}}|{{{3}}}|{{{default|}}}}}</td>}}|<td colspan="{{{colspan|1}}}">{{#if:{{{span|}}}|{{{span}}}|{{{default|}}}}}</td> | ||
}}</includeonly> |