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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
(test fix for mobile)
Line 1: Line 1:
 
{{#ifeq:{{{i|§}}}|§
 
{{#ifeq:{{{i|§}}}|§
 
  |
 
  |
  |<td {{#ifeq:{{{bw|1}}}|0||style="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|}}}}}|{{{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>}}

Revision as of 15:05, 25 August 2013

Template documentation

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