Template:Image/doc

From Dolphin Emulator Wiki
< Template:Image
Revision as of 20:41, 8 November 2012 by Mbc07 (talk | contribs) (Documentation for Template:Image)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template provides a simplified way to use thumbnails of images uploaded to this wiki. It automatically uses the standard thumbnail size and position used on this wiki

Usage

The Image template should be called in the following way:

  • {{Image|<filename>|<description>}}

where

  • Filename is the name of the file (with extension) uploaded to the wiki (like "myfile.png")
  • Description (optional) is the caption for the thumbnail

Examples

  • Specifying filename and description, {{Image|Super Smash Bros. Melee-Corrupt Stats.jpg|Corrupt}} produces this:
  • Specifying only filename leaves the desciption empty ({{Image|Super Smash Bros. Melee-Non-Corrupt Stats.jpg}}):

Notes

  • Using multiple calls will make the thumbnails be side-by-side:
  • ALWAYs add this after calling the template to properly show other elements from the page or when you need one thumbnail in each "line":
<div style="clear:left"></div>
  • If you use this template and forget to use a <div style="clear:left"></div> after calling it, you'll get something weird, like this topic!