Template:Imgur/doc

< Template:Imgur
Revision as of 04:04, 6 June 2018 by old>Fakolana (Page created.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a template intended to make the built in Imgur embed functionality on iiWiki more user friendly and accessible, as well as more Template friendly.

Usage

This template supports two parameters, the first being the Imgur image ID, and the second being the width of the image, as follows: {{Imgur|imageID.jpg|80}}

Images must be uploaded to Imgur before they can be used with the Imgur embed. The direct link to an image can be accessed by right clicking the image and using view image.

The Imgur image ID can be found at the end of a direct link to the Imgur image. For example, the ID of the image found at i.imgur.com/qD0LXCP.png is qD0LXCP.png.

Examples

By filling out the parameters as follows, the result will be as shown below the code.

{{Imgur|Y3cwsCr.jpg|250}}

<imgur w="250">Y3cwsCr.jpg</imgur>

{{Imgur|ADchdBY.jpg|500}}

<imgur w="500">ADchdBY.jpg</imgur>