Difference between revisions of "Img"

From Online Manual

Jump to: navigation, search
m (passing <nowiki> to Wordy bbc for {{#set: was not working. use htmlchars instead.)
Line 2: Line 2:
 
|tag=Img
 
|tag=Img
 
|button=Img.gif
 
|button=Img.gif
|example=[img width=30]<nowiki>http://wiki.simplemachines.org/skins/common/images/button_media.png</nowiki>[/img]
+
|example=[img width=30]http:&frasl;&frasl;wiki.simplemachines.org/skins/common/images/button_media.png[/img]
 
|result=[[File:button_media.png|30px]]
 
|result=[[File:button_media.png|30px]]
 
|parameters={{Parmdesc
 
|parameters={{Parmdesc

Revision as of 19:46, 3 May 2014

button: Img.gif

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/skins/common/images/button_media.png[/img]

result: Button media.png