Template:Img/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Usage== {{tlx|img|1|2}} creates <nowiki><img src="</nowiki><big>'''1'''</big>" width="<big>'''2'''</big>" /> ;1 :URL to image ;2 (optional) :width in px. For example, 500px...") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
A shortcut for the HTML img tag. | |||
==Usage== | ==Usage== | ||
{{tlx|img|1|2}} | {{tlx|img|1|2}} | ||
Line 17: | Line 18: | ||
{{img|http://www.straitpinkie.com/wp-content/uploads/2010/04/038.jpg|200px}} | {{img|http://www.straitpinkie.com/wp-content/uploads/2010/04/038.jpg|200px}} | ||
<includeonly>[[Category: | <includeonly> | ||
[[Category:Formatting templates]] | |||
[[Category:External site feature templates]] | |||
</includeonly> |
Latest revision as of 02:57, 22 May 2013
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"/>