This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

Template:Imagelink

From Heroes Wiki
Revision as of 15:08, 6 March 2007 by imported>Hardvice (fix usage)
Jump to navigation Jump to search
Main Page

Usage

Produces a linked image.

{{Imagelink
| image = <!--Image filename-->
| height = <!--Height of image-->
| width = <!-- Width of image-->
| link = <!-- Article to link to-->
| text= <!-- OPTIONAL Alt text for link-->
|}

Inline for cut and paste:

{{Imagelink | image= | height= | width= | link= | text=}}

Height and width must both be specified. Decide the display width you need and multiply it by the aspect ratio constant for the type of image you are using. Common ratios for image height and width are as follows.

Image Type Standard Size Ratio
Episode image/other full 16x9 screencaps 300x169 Height = Width x .563
Prophecy images 300x200 Height = Width x .667
Most images 450x350 Height = Width x .778
Portraits 200x250 Height = Width x 1.25