Template:Multiple image: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{#if:{{{image1|}}}{{{image2|}}}{{{image3|}}}{{{image4|}}}{{{image5|}}}{{{image6|}}}{{{image7|}}}{{{image8|}}}{{{image9|}}}{{{image10|}}}|<div class="thumb {{#switch: {{{align|}}} | left = tleft|none | center|centre = tnone | right|#default = tright}}" style="width: {{#switch:{{{direction|}}}<!-- | <onlyinclude> | ||
{{#if:{{{image1|}}}{{{image2|}}}{{{image3|}}}{{{image4|}}}{{{image5|}}}{{{image6|}}}{{{image7|}}}{{{image8|}}}{{{image9|}}}{{{image10|}}}|<div class="thumb {{#switch: {{{align|}}} | left = tleft|none | 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 132: | Line 133: | ||
</div> | </div> | ||
}} | }} | ||
</onlyinclude | </onlyinclude> | ||
[[Category:Templates]] | [[Category:Templates]] |