No edit summary |
m (try a shorter filename) |
||
(12 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
|tag=Img | |tag=Img | ||
|button=Img.gif | |button=Img.gif | ||
|example=& | |example=[img width=30]http:⁄⁄wiki.simplemachines.org/smf/images/1/19/Button_media.png[/img] | ||
|result= | |result=[[File:button_media.png|30px]] | ||
|parameters={{Parmdesc | |||
|alt|d1=text alternative to the image, for visually impaired users | |||
|width|d2=resize image to this width. If no height is specified, height will be resized to preserve the aspect ratio. | |||
|height|d3=resize image to this height. If no width is specified, width will be resized to preserve the aspect ratio. | |||
}} | |||
}} | }} | ||
[[Category:Basic Bulletin Board Code]] | [[Category:Basic Bulletin Board Code]] | ||
[[Category:Bulletin_Board_Code]] | [[Category:Bulletin_Board_Code]] |
Revision as of 23:50, 3 May 2014
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=30]http:⁄⁄wiki.simplemachines.org/smf/images/1/19/Button_media.png[/img]