This high-risk template is indefinitely protected from editing to prevent vandalism.

Template:UnNews Main Image

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
[edit] [purge] Template-info.svg Template documentation

Description

To display a floating image at a maximum of 250px width. Used on the website main page with {{RecentUnNews}} for the list of recent UnNews articles.

Usage

{{UnNews Main Image | image name | width (optional) | link (optional) | text (optional) | left=left (optional) }}

Image name
The name of the image with extension, but without name space (e.g. Example.jpg). Adding in the name space (e.g. File:Example.jpg) will cause an error.
Width
The width is limited to 250px. Enter this figure as a numeral only (i.e., no px). Any values above 250, or any non-numerical values, will default to 200. If using more than one variable this must have a value.
link
The page the image will link to. The default is UnNews
text
Tooltip (hover) and alternate text. At the time of writing this the default is "All the news that's unfit to print!"
left
Adding | left=left will make the image float on the left side of nearby text rather than the right side.

Examples

Input Display
Default

{{UnNews Main Image}}

Single line, short

{{UnNews Main Image|Example.jpg}}

Single line, long

{{UnNews Main Image|Example.jpg|225|Main page|When you wish upon a star, you're wasting breath}}

Multi line, short

{{UnNews Main Image
 |Example.jpg
}}

Multi line, long

{{UnNews Main Image
 | image = Example.jpg
 | width = 150
 | link = Main page
 | text = There is a house in New Orleans - or at least there was before Katrina came along.
}}