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) |
(Make number of cells depend on colspan instead of parameter presence) |
||
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|}}}|{{#expr:{{{colspan|1}}} >= 1|<td>{{{1}}}</td>}}{{#expr:{{{colspan|1}}} >= 2|<td>{{{2}}}</td>}}{{#expr:{{{colspan|1}}} >= 3|<td>{{{3}}}</td>}}|<td colspan="{{{colspan|1}}}">{{{span}}}}}</includeonly> |