If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Template:Imageexists

From The Cutting Room Floor
Jump to navigation Jump to search

Syntax time:

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

Usage: Given file (the only real required attribute), will either show that file, or (if it doesn't exist) a placeholder that links to the file uploader, pre-set for that filename. Upon uploading it the image will display the new upload.

The main intended use of this is bob, though it could probably find some use elsewhere if you tried really hard.

  • width: width of uploaded image (note that the placeholder will always be normal size)
  • caption: Wit.
  • mcat: The category to place the page into when the file does not exist.