Difference between revisions of "Template:Display image/image"

From Wikispooks
Jump to navigation Jump to search
(omit missing files)
(omit missing files)
 
Line 1: Line 1:
<noinclude>A sub-template of [[Template:Display image]]. If the argument does not have a [[Has image]] property (or that file does not exist), it gets an icon with [[Template:Display class icon]]</noinclude>{{#if: {{{1|}}}|{{#ifexpr: {{#ask:[[-Has image::{{{1}}}]]|format=count}}>0|{{#ifexist: {{#show: {{{1}}}|?Has image2}}|{{#show: {{{1}}}|?Has image2}}|{{Display class icon|{{{1|}}}|}}}}{{Display class icon|{{{1|}}}|}}}}}}
+
<noinclude>A sub-template of [[Template:Display image]]. If the argument does not have a [[Has image]] property (or that file does not exist), it gets an icon with [[Template:Display class icon]]</noinclude>{{#if: {{{1|}}}|{{#ifexpr: {{#ask:[[-Has image::{{{1}}}]]|format=count}}>0|{{#ifexist: {{#show: {{{1}}}|?Has image2}}|{{#show: {{{1}}}|?Has image2}}|{{Display class icon|{{{1|}}}|}}}}|{{Display class icon|{{{1|}}}|}}}}}}

Latest revision as of 14:58, 15 July 2015

A sub-template of Template:Display image. If the argument does not have a Has image property (or that file does not exist), it gets an icon with Template:Display class icon