Template:PopupImage/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

For the annoying popup images which occasionally show up in articles, giving you a jumpscare where you once thought was a link. Feel free to add this to every article on this site, rendering the entire place unreadable.

Usage

{{PopupImage|Everything was beautiful and nothing hurt|image=Everythingwasbeautifulandnothinghurt.png}}

The above code will produce this: Everything was beautiful and nothing hurt Everythingwasbeautifulandnothinghurt.png .

All parameters

  • text – You can also use the text parameter, very helpful for when your text contains an = sign, i.e. {{PopupImage|text=2+2=4|image=Einstein-pipe.jpg}}
  • image – The image which will popup, do NOT include the File: part of the image name.
  • width – Changes the image's width, defaults to 200px, has a hard limit of 600px, so any value larger will just go to 600px.
  • link – Will change the image's link, does not change the text!
  • alt – Mouseover text, for the "joke-to-pixel" ratio maximizers.
  • color – Changes the text color, from "default link blue" to whatever you want.

Putting it all together:

{{PopupImage|text='''If you can solve this problem, you might have an IQ > 300: 2+2=?'''|image=Einstein-pipe.jpg|width=333px|link=Albert Einstein|alt=Here is some alt text you animal|color=green}}

The above code will produce this monstrosity: If you can solve this problem, you might have an IQ > 300: 2+2=? Here is some alt text you animal

Note: You may see pages which specify a height parameter for this template. This is no longer needed, and will do nothing if used now.

See also