Template:UnNews Main Image/doc
Jump to navigation
Jump to search
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 |
---|---|
|
|
|
|
|
|
|
|
|