Template:Hotlink/doc

From Toon Wiki
Revision as of 11:30, 21 September 2014 by imported>ToonWikiBot (Imported from Avatar Wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Description
This template is used to "hotlink" or display images hosted on external servers on an Toon Wiki page. Do not use this technique to add images to canon articles.
Dependencies
Uses Template:Hotlink/data
Uses File:Image icon.png
Syntax
Type {{hotlink|<url>}} somewhere, or use:
{{hotlink
| image    = <url>
| position = <left/right>
| caption  = <text>
}}
To use this template, add either of the above where you want to add an image. Both position and caption are optional. If excluded, the image will be right aligned to the location entered. Likewise, you may optionally leave off the "image" parameter name, but you absolutely must then provide the url to the image you wish to hotlink as the first parameter value.
Sample output
{{hotlink
|image = http://images3.wikia.nocookie.net/__cb20140920231628/avatar/images/5/59/Planet_Earth.png
|position = right
|caption = Just testing adding a small description.
}}
produces...