Template:Ifexist only Commons/doc

Usage
The   template can be used to identify a media file which exists on Wikimedia Commons but not on English Wikipedia; whereas and  will only check, respectively, whether the file exists on English Wikipedia (the first) and on Commons or English Wikipedia (the second).

Use the format. The 2nd and 3rd parameters are used to define the output of the template if the condition is true or false, respectively.

File existing only on Commons

 * Local: File:Name.jpg
 * Commons: commons:File:Name.jpg

File existing only on English Wikipedia

 * Local: File:CemeteryGatesPantera.jpg
 * Commons: commons:File:CemeteryGatesPantera.jpg

File existing both on Commons and on English Wikipedia

 * Local: File:No Photo Available.svg
 * Commons: commons:File:No Photo Available.svg

Non-existent file

 * Local: File:Non-existent filename.format
 * Commons: commons:File:Non-existent filename.format