Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Imageexists

Template page
Revision as of 15:16, 20 November 2023 by Edgewurth (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.