Template:ThumbRight

From The Urban Dead Wiki

Jump to: navigation, search

Purpose

This provides output similar as far as possible to specifying an image with a right alignment in a thumbnail ([[Image:Example.jpg|thumb|right|100px]]) but importantly does not create padding by using white borders around the whole frame.

This allows it to be used on pages with a background other than white without showing the ugly borders. You should only use this template to get rid of the borders of page with a background other than white. Otherwise use the wiki-version.

Other minor functions that could not be replicated include:

  • The tooltip for the expand box in the top right of the caption area will not display the image's name.
  • The template cannot accept variables out of order like the wiki version.
  • The wiki version will not upscale an image if you accidentally provide a width bigger than the image itself, this template will.

Usage

{{ThumbRight|image filename|thumbnail size|optional caption}}

Example

{{ThumbRight|Example.jpg|100px}}


{{ThumbRight|Example.jpg|100px|This is an example image.}}
This is an example image.
This is an example image.


Comparison with Wiki-Version


This is the wiki standard thumbnail, notice the white borders surrounding it to provide spacing from text.



This is the template, it still has spacing around it so text does not get too close, but this is invisible.
This is the template, it still has spacing around it so text does not get too close, but this is invisible.

Personal tools
project wonderful
column-okay