Open main menu

mtgpq wiki β

Changes

Template:Schedule week row

1,540 bytes added, 02:15, 2 March 2019
no edit summary
</noinclude><includeonly>
|-
<!-- Sunday-->{{#ifexpr:{{#explode:{{{2}}}|,|0}} > 1| <!-- Need blank column(s) before the start of the event-->
{{!}} colspan="{{#expr:{{#explode:{{{2}}}|,|0}} - 1}}" {{!}} }}
| {{Schedule week cell|{{{1}}}|{{#explode:{{{2}}}|,|1}}}}<!-- Monday-->{{#if:{{{3|}}}|{{#ifexpr:{{#explode:{{{3}}}|,|0}} > {{#explode:{{{2}}}|,|0}} + 1|<br>{{!}} colspan="{{#expr:{{#explode:{{{3}}}|,|0}} - {{#explode:{{{2}}}|,|0}} - 1}}" {{!}} }}<br>{{!}} {{Schedule week cell|{{{1}}}|{{#explode:{{{3}}}|,|1}}}} }}<!-- Tuesday-->{{#if:{{{4|}}}|{{#ifexpr:{{#explode:{{{4}}}|,|0}} > {{#explode:{{{3}}}|,|0}} + 1|<br>{{!}} colspan="{{#expr:{{#explode:{{{4}}}|,|0}} - {{#explode:{{{3}}}|,|0}} - 1}}" {{!}} }}<br>{{!}} {{Schedule week cell|{{{1}}}|{{#explode:{{{4}}}|,|1}}}}}}<!-- Wednesday-->{{#if:{{{5|}}}|{{#ifexpr:{{#explode:{{{5}}}|,|0}} > {{#explode:{{{4}}}|,|0}} + 1|<br>{{!}} colspan="{{#expr:{{#explode:{{{5}}}|,|0}} - {{#explode:{{{4}}}|,|0}} - 1}}" {{!}} }}<br>{{!}} {{Schedule week cell|{{{1}}}|{{#explode:{{{5}}}|,|1}}}}}}<!-- Thursday-->{{#if:{{{6|}}}|{{#ifexpr:{{#explode:{{{6}}}|,|0}} > {{#explode:{{{5}}}|,|0}} + 1|<br>{{!}} colspan="{{#expr:{{#explode:{{{6}}}|,|0}} - {{#explode:{{{5}}}|,|0}} - 1}}" {{!}} }}<br>{{!}} {{Schedule week cell|{{{1}}}|{{#explode:{{{6}}}|,|1}}}}}}<!-- Friday-->{{#if:{{{7|}}}|{{#ifexpr:{{#explode:{{{7}}}|,|0}} > {{#explode:{{{6}}}|,|0}} + 1|<br>{{!}} colspan="{{#expr:{{#explode:{{{7}}}|,|0}} - {{#explode:{{{6}}}|,|0}} - 1}}" {{!}} }}<br>{{!}} {{Schedule week cell|{{{1}}}|{{#explode:{{{7}}}|,|1}}}}}}<!-- Saturday-->{{#if:{{{8|}}}|{{#ifexpr:{{#explode:{{{8}}}|,|0}} > {{#explode:{{{7}}}|,|0}} + 1|<br>{{!}} colspan="{{#expr:{{#explode:{{{8}}}|,|0}} - {{#explode:{{{7}}}|,|0}} - 1}}" {{!}} }}<br>{{!}} {{Schedule week cell|{{{1}}}|{{#explode:{{{8}}}|,|1}}}}}}<!----></includeonly>