Template:Img

From Official Kodi Wiki
Revision as of 20:11, 27 July 2013 by Ned Scott (talk | contribs) (Protected "Template:Img" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<img src="{{{1}}}" />

[edit] Template documentation

A shortcut for the HTML img tag.

Usage

{{img|1|2}}

creates

<img src="1" width="2" />

1
URL to image
2 (optional)
width in px. For example, 500px.

Example

{{img|http://www.straitpinkie.com/wp-content/uploads/2010/04/038.jpg|200px}}:

<img src="http://www.straitpinkie.com/wp-content/uploads/2010/04/038.jpg" width="200px"/>