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
Page créée avec « <includeonly>{{#ifexist: File:{{{file}}} | [[File:{{{file}}}{{ #if: {{{width|}}} | {{!}}{{{width}}} | }}{{ #if: {{{caption|}}} | {{!}}{{{caption}}} | }}]] | link={{fullurl:Special:Upload|wpDestFile={{{file}}}}}|Click to upload a new image...{{#if: {{{mcat|}}} | [[Category:{{{mcat}}}|{{PAGENAME}}]] | }}<span style="display: none;">[[Media:{{{file}}}|Dummy link]]</span>}}</includeonly><noinclude> Syntax time: <pre>{{imageexists |file = filenam... »
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
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|}}} | [[Category:{{{mcat}}}|{{PAGENAME}}]] | }}<span style="display: none;">[[Media:{{{file}}}|Dummy link]]</span>}}</includeonly><noinclude>
  #if: {{{caption|}}} | {{!}}{{{caption}}} | }}]] | [[File:ImageNo.png|link={{fullurl:Special:Upload|wpDestFile={{{file}}}}}|Click to upload a new image...]]}}</includeonly><noinclude>
Syntax time:
Syntax time:
<pre>{{imageexists
<pre>{{imageexists

Latest revision as of 11:12, 12 April 2022

Syntax time:

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