Difference between revisions of "Template:MontageBox"
Line 2: | Line 2: | ||
{{#if:{{{title|}}}|{{!}}- | {{#if:{{{title|}}}|{{!}}- | ||
{{!}}style="background: tan; font-size: 120%; text-align: center" colspan="{{{columns}}}" {{!}} '''{{{title}}}'''}} | {{!}}style="background: tan; font-size: 120%; text-align: center" colspan="{{{columns}}}" {{!}} '''{{{title}}}'''}} | ||
− | {{# | + | {{#ifeq:{{{columns}}}|2| |
{{#if:{{{image1|}}}|{{!}}- | {{#if:{{{image1|}}}|{{!}}- | ||
{{!}} {{{image1|}}} {{!}}{{!}} {{{image2|}}} }} | {{!}} {{{image1|}}} {{!}}{{!}} {{{image2|}}} }} | ||
Line 16: | Line 16: | ||
{{!}} {{{image11|}}} {{!}}{{!}} {{{image12|}}} }} | {{!}} {{{image11|}}} {{!}}{{!}} {{{image12|}}} }} | ||
}} | }} | ||
− | {{# | + | {{#ifeq:{{{columns}}}|3| |
{{#if:{{{image1|}}}|{{!}}- | {{#if:{{{image1|}}}|{{!}}- | ||
{{!}} {{{image1|}}} {{!}}{{!}} {{{image2|}}} {{!}}{{!}} {{{image3|}}} }} | {{!}} {{{image1|}}} {{!}}{{!}} {{{image2|}}} {{!}}{{!}} {{{image3|}}} }} |