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

From Wikispooks
Jump to navigation Jump to search
(Created page with "{{#if: {{{1|}}}| {{#ifexpr: {{#ask:[[-Has logo::{{{1}}}]]|format=count}}>0|haslogo|{{Display class icon|{{{1|}}}|}}}}}}")
 
(omit missing files)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{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|}}}|}}}}}}
{{#ifexpr: {{#ask:[[-Has logo::{{{1}}}]]|format=count}}>0|haslogo|{{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