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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(use more meaningful internal parameter names)
imported>Frietjes
Line 2: Line 2:
 
  |
 
  |
 
  |<td {{#ifeq:{{{bw|1}}}|0||style="border:{{{bw|1}}}px #aaa solid"}}>{{#if:{{{i|}}}
 
  |<td {{#ifeq:{{{bw|1}}}|0||style="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;">{{#if:{{{a|}}}
+
   |<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;">{{{c|}}}</div>
    |[[File:{{{i}}}|{{#if:{{{w|}}}|{{{w}}}|60}}x{{#if:{{{h|}}}|{{{h}}}|70}}px|alt={{{a|}}}|{{{t|}}}]]
 
    |[[File:{{{i}}}|{{#if:{{{w|}}}|{{{w}}}|60}}x{{#if:{{{h|}}}|{{{h}}}|70}}px|{{{t|}}}]]
 
    }}</div><div style="vertical-align:middle; padding:1px;">{{{c|}}}</div>
 
 
   }}</td>{{#ifexpr:{{{m|}}} = 0|</tr><tr>}}
 
   }}</td>{{#ifexpr:{{{m|}}} = 0|</tr><tr>}}
 
}}<noinclude>
 
}}<noinclude>

Revision as of 14:52, 10 April 2013

Template documentation

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