Template:External Image

From DataSelf Knowledge Base
Jump to navigation Jump to search


Creates an HTML img (image) tag with optional hypertext link. The style, size, and href are optional.

NOTE: The {href} parm doesn't work. MediaWiki doesn't seem to work with that HTML. Leave out the href parameter or specify it as "|href=|".

Wiki Code Generated by this Template

 <a href={href}>     
    
     <img src="{src}" height="{size}px" 
          style="{style}" alt="{alt}">
 </a>

Usage

Example 1

some text </a >


-- Display the specified .png file with alt text = "some text", size of 50px, and the image as a hypertext link to www.dataself.com.

Example 2

some text



-- Display the specified .png file with alt text = "some text", full size, and no hypertext link.