Jump to content

Template:Multiple image: Difference between revisions

From Fifth Empire Wiki
minor tweaks to the comments
allow |align=none per talk page request
Line 1: Line 1:
{{#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|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:

Revision as of 17:22, 2 November 2011