Protected page

Template:UnNews Main Image

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

Description

To display an image float right at a max of 120px width. Designed to be used with {{RecentUnNews}}.

Usage

Single line version

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

Multi line version

{{UnNews Main Image
 | image =
 | width =
 | link =
 | text =
}}


image name
width in px as integer
internal link (optional)
text on hover/alt text (optional)

Image name
The name of the image with extension, but without name space (ie Example.jpg). Adding in the name space will cause an error, and the default UnNews logo will display.
Width
The width is limited to 120px. Enter this figure as a numeral only (ie no px). 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!"

Example

Input Display
Multi line, long

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