(added parameter width to the example/result) |
mNo edit summary |
||
Line 2: | Line 2: | ||
|tag=Img | |tag=Img | ||
|button=Img.gif | |button=Img.gif | ||
|example=[img width= | |example=[img width=300]http://wiki.simplemachines.org/skins/common/images/button_media.png [/img] | ||
|result=<img width="300" alt="" src="http://wiki.simplemachines.org/skins/common/images/button_media.png" alt="" class="bbc_img" /> | |result=<img width="300" alt="" src="http://wiki.simplemachines.org/skins/common/images/button_media.png" alt="" class="bbc_img" /> | ||
|parameters={{Parmdesc | |parameters={{Parmdesc |
Revision as of 00:45, 6 December 2011
parameters:
- alt text alternative to the image, for visually impaired users
- width resize image to this width. If no height is specified, height will be resized to preserve the aspect ratio.
- height resize image to this height. If no width is specified, width will be resized to preserve the aspect ratio.
example: [img width=300]http://wiki.simplemachines.org/skins/common/images/button_media.png [/img]
result: <img width="300" alt="" src="http://wiki.simplemachines.org/skins/common/images/button_media.png" alt="" class="bbc_img" />