Utilisateur:Michelet/Test

Une page de Wikipédia, l'encyclopédie libre.
{{#ifexist:Media:image_name.ext|then ...|otherwise ...}} - test is the file exist on upload.wikimedia.org
{{#ifexist:Image:image_name.ext|then ...|otherwise ...}} - test is the image page exist on the local wiki

See also this same test:

Tests: The 3 following tests of the function {{ifexist:}} are with existing pages and files.

  • no,is not found on upload.wikimedia.org - test with Media on upload.wikimedia.org + chinese character
  • no,does not exist on this local wiki - test with Image on Commons + chinese character
  • no, Image:Wikipedia.png does not exist on this local wiki - test with Image
  • yes, China exist - test with Article

Tests: The 3 following tests of the function {{ifexist:}} are with non-existing pages and files.

  • no, Media:dummy-seal.gif is not found on upload.wikimedia.org - test with Media on upload.wikimedia.org + chinese character
  • no, Image:dummy-seal.gif does not exist on this local wiki - test with Image on Commons + chinese character
  • no, Image:dummy.png does not exist on this local wiki - test with Image
  • yes, dummy exist - test with Article