வார்ப்புரு:Photomontage/Horizontal
&lt;table style=&quot;background-color:{{{color|black}}}; border-collapse:collapse;&quot;&gt; 
 &lt;tr&gt;
 {{#switch:{{{quantity}}}
 |1=
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{1}}}|{{{size}}}px]]&lt;/td&gt;
 |2=
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{1}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{2}}}|{{#expr:{{{size}}}-(((({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0) + {{{spacing}}}) *({{{quantity}}}-1)}}px]]&lt;/td&gt;
 |3=
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{1}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{2}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{3}}}|{{#expr:{{{size}}}-(((({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0) + {{{spacing}}}) *({{{quantity}}}-1)}}px]]&lt;/td&gt;
 |4=
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{1}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{2}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{3}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{4}}}|{{#expr:{{{size}}}-(((({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0) + {{{spacing}}}) *({{{quantity}}}-1)}}px]]&lt;/td&gt;
 |5=
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{1}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{2}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{3}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{4}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{5}}}|{{#expr:{{{size}}}-(((({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0) + {{{spacing}}}) *({{{quantity}}}-1)}}px]]&lt;/td&gt;
 |6=
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{1}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{2}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{3}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{4}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{5}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[size:{{{6}}}|{{#expr:{{{size}}}-(((({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0) + {{{spacing}}}) *({{{quantity}}}-1)}}px]]&lt;/td&gt;
 |7=
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{1}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{2}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{3}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{4}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{5}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[File:{{{6}}}|{{#expr:(({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0}}px]]&lt;/td&gt;
 &lt;td style=&quot;border-top:0; padding:0px {{{spacing}}}px {{{spacing}}}px 0px&quot;&gt;[[size:{{{7}}}|{{#expr:{{{size}}}-(((({{{size}}}-{{{spacing}}}*({{{quantity}}}-1))/{{{quantity}}}) round 0) + {{{spacing}}}) *({{{quantity}}}-1)}}px]]&lt;/td&gt;
 }}
 &lt;/tr&gt;
 &lt;/table&gt;