Difference between revisions of "Template:Multiple image"
From Summertime Saga Wiki
m |
m |
||
Line 1: | Line 1: | ||
− | < | + | <onlyinclude>{{#if:{{{image1|}}}{{{image2|}}}{{{image3|}}}{{{image4|}}}{{{image5|}}}{{{image6|}}}{{{image7|}}}{{{image8|}}}{{{image9|}}}{{{image10|}}}|<div class="thumb {{#switch: {{{align|}}} | left = tleft | center|centre = tnone | right|#default = tright}}" style="width: {{#switch:{{{direction|}}}<!-- |
− | {{#if:{{{image1|}}}{{{image2|}}}{{{image3|}}}{{{image4|}}}{{{image5|}}}{{{image6|}}}{{{image7|}}}{{{image8|}}}{{{image9|}}}{{{image10|}}}|<div class="thumb {{#switch: {{{align|}}} | left = tleft | center|centre = tnone | right|#default = tright}}" style="width: {{#switch:{{{direction|}}}<!-- | ||
If stacked vertically, box width = largest width + 12 px (6 px margin on left and right) --> | If stacked vertically, box width = largest width + 12 px (6 px margin on left and right) --> | ||
| vertical = {{#expr: | | vertical = {{#expr: | ||
Line 123: | Line 122: | ||
</div> | </div> | ||
</div> | </div> | ||
− | }}<noinclude> | + | }}</onlyinclude><noinclude>[[Category:Templates]]</noinclude> |