Template:PopupImage/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
This is a documentation subpage for Template:PopupImage.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:PopupImage.

Description

Popup images - mouse-over text to have an image pop up.

Usage

{{PopupImage|text*|image=image*|width=size*|height=size*}}

Optional parameters are:

  • |alt= mouseover text, if desired
  • |link= alternate link, if desired
  • |color= colour of the text; defaults to blue
  • |textwidth= approximate width of the text; use this if the offset comes out wrong when using large font or something.
  • indicates required field, or weirdness is apt to ensue.

Examples

<div class="center">This is the {{PopupImage|place|image=Tatercoons Large-2.jpg|width=400|height=300}} to be for the end of the world show.</div>
This is the Tatercoons Large-2.jpgplace to be for the end of the world show.

TemplateData

Mouse-over text to have an image pop up

Template parameters

ParameterDescriptionTypeStatus
11

Text that triggers the pop-up

Default
place
Stringsuggested
Altalt

Mouseover text

Stringoptional
Widthwidth

in pixels

Numbersuggested
Textwidthtextwidth

Width of text

Default
{{#len:{{{1|place}}}}}*10}}}
Numberoptional
Heightheight

in pixels

Default
300
Numbersuggested
Imageimage

without File: prefix

Default
Tatercoons Large-2.jpg
Example
Example.jpg
Filesuggested
Linklink

Link this page to the text

Default
:File:Tatercoons Large-2.jpg
Pagesuggested
Colorcolor colour

Font color

Default
blue
Stringoptional