Difference between revisions of "Template:Image array/image"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(test fix for mobile)
imported>Frietjes
 
Line 2: Line 2:
 
  |
 
  |
 
  |<td style="width:{{#if:{{{w|}}}|{{{w}}}|60}}px;{{#ifeq:{{{bw|1}}}|0||border:{{{bw|1}}}px #aaa solid}}">{{#if:{{{i|}}}
 
  |<td style="width:{{#if:{{{w|}}}|{{{w}}}|60}}px;{{#ifeq:{{{bw|1}}}|0||border:{{{bw|1}}}px #aaa solid}}">{{#if:{{{i|}}}
   |<div style="vertical-align:middle; width:{{#if:{{{w|}}}|{{{w}}}|60}}px; height:{{#if:{{{h|}}}|{{{h}}}|70}}px; margin-left:auto; margin-right:auto;">[[File:{{{i}}}|{{#if:{{{w|}}}|{{{w}}}|60}}x{{#if:{{{h|}}}|{{{h}}}|70}}px|{{#if:{{{a|}}}|alt={{{a|}}}}}|{{#if:{{{l|}}}|link={{{l|}}}}}|{{{t|}}}]]</div><div style="vertical-align:middle; padding:1px;{{#if:{{{f|}}}|font-size:{{{f}}};}}">{{{c|}}}</div>
+
   |<div style="vertical-align:middle; width:{{#if:{{{w|}}}|{{{w}}}|60}}px; height:{{#if:{{{h|}}}|{{{h}}}|70}}px; margin-left:auto; margin-right:auto;">[[File:{{{i}}}|{{#if:{{{w|}}}|{{{w}}}|60}}x{{#if:{{{h|}}}|{{{h}}}|70}}px|{{#if:{{{a|}}}|alt={{{a|}}}}}|{{#if:{{{l|}}}|link={{{l|}}}}}|{{#if:{{{tc|}}}|{{#if:{{{t|}}}|{{{t|}}}|{{{c|}}}}}|{{{t|}}}}}]]</div><div style="vertical-align:middle; padding:1px;{{#if:{{{f|}}}|font-size:{{{f}}};}}">{{{c|}}}</div>
 
   }}</td>{{#ifexpr:{{{m|}}} = 0|</tr><tr>}}
 
   }}</td>{{#ifexpr:{{{m|}}} = 0|</tr><tr>}}
 
}}<noinclude>
 
}}<noinclude>

Latest revision as of 16:21, 11 October 2013

Template documentation

This subtemplate is used by {{image array}} to generate the individual images. It should not be used directly.