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
 
m (1 revision imported)
 
(No difference)

Latest revision as of 15:16, 20 November 2023

Syntax time:

{{imageexists
|file    = filename.png
|width   = 50px
|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.