Template:ImageLink

From Galaxy on Fire Wiki
Jump to navigation Jump to search

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-->
| externallink= <!-- OPTIONAL external link used in place of link -->
}}

Inline for cut and paste:

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

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.
Note: For internal links (image or otherwise), the hover box text for most browsers always shows as the title of the page linked to. For external links (image or otherwise), the hover box text for most browsers always shows as the URL. The text= attribute in this template sets the alternative text that appears in place of the image in text browsers.