Template:Imgur/doc: Difference between revisions

Jump to navigation Jump to search
old>Fakolana
(Page created.)
 
m (1 revision imported: Uploading templates: Br separated entries, Imgur, Smallsup)
 
(No difference)

Latest revision as of 03:00, 11 January 2019

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>