This wiki is still a major work in progress, and a lot is being worked on. Please be patient.Newmaker

Difference between revisions of "Template:Imageexists"

From Petscop
Jump to: navigation, search
(Created page with "<includeonly>{{#ifexist: File:{{{file}}} | [[File:{{{file}}}{{ #if: {{{width|}}} | {{!}}{{{width}}} | }}{{ #if: {{{caption|}}} | {{!}}{{{caption}}} | }}]] | File:NoImage.p...")
 
 
Line 1: Line 1:
<includeonly>{{#ifexist: File:{{{file}}} | [[File:{{{file}}}{{
+
<onlyinclude>{{#ifexist: File:{{{file}}} | [[File:{{{file}}}{{
 
  #if: {{{width|}}} | {{!}}{{{width}}} | }}{{
 
  #if: {{{width|}}} | {{!}}{{{width}}} | }}{{
  #if: {{{caption|}}} | {{!}}{{{caption}}} | }}]] | [[File:NoImage.png|link={{fullurl:Special:Upload|wpDestFile={{{file}}}}}|Click to upload a new image...]]<span style="display: none;">[[Media:{{{file}}}|Dummy link]]</span>}}</includeonly>
+
  #if: {{{caption|}}} | {{!}}{{{caption}}} | }}]] | [[File:NoImage.png|link={{fullurl:Special:Upload|wpDestFile={{{file}}}}}|Click to upload a new image...]]<span style="display: none;">[[Media:{{{file}}}|Dummy link]]</span>}}</onlyinclude>
 +
 
 +
[[Category:Templates]]

Latest revision as of 21:05, 17 November 2018

Click to upload a new image...[[Media:{{{file}}}|Dummy link]]