Changes

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search

Help:Image

346 bytes added, 11:09, 8 February 2010
m
no edit summary
** <span style="color:white;">|150px100px</span> - The image becomes no wider than 150 pixels and no higher than 100 pixels. The image size ration is preserved.
** If not used, it will use the standard size.
 
* '''Link'''
** <span style="color:white;">|link=</span> - Makes it possible to use the image as a link. Works on both external and internal links. Can't be used with the "thumb" variable.
* '''Caption''' - Any element that isn't identified as one of the above.
** <span style="color:white;">|(any text)</span> - This will create an alternative mouseover tooltip instead of the standard "Image:Jay_Wilson.jpg" on regular images. Will add a caption below the image for "frames" and "thumbs".
 
Examples:
* <nowiki>[[Image:Jay_Wilson.jpg|right|150px|Caption not working.]]</nowiki>
* <nowiki>[[Image:Jay_Wilson.jpg|thumb|150px|Caption about [[Jay Wilson]] in a "thumbnail".]]</nowiki>
* <nowiki>[[Image:Jay_Wilson.jpg|right|150px|link=Jay Wilson]]</nowiki>
 
Notice how the "150px" attribute on the "frame" image does not work, and that the link for the lowest image leads to Jay Wilson directly, rather than to the image of him.
 
[[Image:Jay_Wilson.jpg|left|frame|150px|Caption about [[Jay Wilson]] in a "frame".]][[Image:Jay_Wilson.jpg|right|150px|Caption not working.]]
[[Image:Jay_Wilson.jpg|thumb|150px|Caption about [[Jay Wilson]] in a "thumbnail".]]
[[Image:Jay_Wilson.jpg|right|150px|link=Jay Wilson]]
Notice how the "150px" attribute on the "frame" image does not work, and that the caption for the regular image is only shown in the mouseover.
[[Image:Jay_Wilson.jpg|left|frame|150px|Caption about [[Jay Wilson]] in a "frame".]][[Image:Jay_Wilson.jpg|right|150px|Caption not working.]][[Image:Jay_Wilson.jpg|thumb|150px|Caption about [[Jay Wilson]] in a "thumbnail".]]
<div style="clear:both;"></div>
12,486
edits