Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Imageexists: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#ifexist: File:{{{file}}} | [[File:{{{file}}}{{
<includeonly>{{#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...]]{{#if: {{{mcat|}}} </span>}}</includeonly><noinclude>
  #if: {{{caption|}}} | {{!}}{{{caption}}} | }}]] | [[File:NoImage.png|link={{fullurl:Special:Upload|wpDestFile={{{file}}}}}|Click to upload a new image...]]</includeonly><noinclude>
Syntax time:
Syntax time:
<pre>{{imageexists
<pre>{{imageexists

Revision as of 10:39, 12 April 2022

Syntax time:

{{imageexists
|file    = filename.png
|width   = 256px
|caption = derp
|mcat    = Missing images
}}