Template:PopupImage
Jump to navigation
Jump to search
[edit] [ ] Template documentation
This documentation is transcluded from Template:PopupImage/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and test cases (create) pages.
Subpages of this template.
Editors can experiment in this template's sandbox (create) and test cases (create) pages.
Subpages of this template.
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
to be for the end of the world show.TemplateData
Mouse-over text to have an image pop up
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Text that triggers the pop-up
| String | suggested |
Alt | alt | Mouseover text | String | optional |
Width | width | in pixels | Number | suggested |
Textwidth | textwidth | Width of text
| Number | optional |
Height | height | in pixels
| Number | suggested |
Image | image | without File: prefix
| File | suggested |
Link | link | Link this page to the text
| Page | suggested |
Color | color colour | Font color
| String | optional |