Search results
Results from the WOW.Com Content Network
(required) The element (image, text, etc) around which the border is to appear. display The element's display method inline-block (default if the parameter is not used), block, inline, table, flex, etc. width The width (thickness) of the border (default is 1px). style The border's style
Border border. Put a small border around the image. Location right, left, center or none. Determine the horizontal placement of the image on the page. This defaults to right for thumbnails and framed images. Alignment baseline, middle, sub, super, text-top, text-bottom, top, or bottom. Vertically align the image with respect to adjacent text.
However, "center" sometimes shoves the caption to a 2nd line (under a centered box "[]"), so "thumb|" could be omitted and just hard-code the image size, adding a gray (#BBB) border. Using precise parameters to match other images, a floating-image table can be coded as follows:
You can use it to annotate a diagram. The default background colour is white with a black border. It is usually better to change to a clear background with no border. A couple of points should be noted. Keep the font simple. Arial is probably the best to use because its simple lines come out well when the image is rasterised.
I've noticed an issue with the border template in Firefox and Opera where it seems to add a space before the image. This came up in the WWII template , where a border was added to the Japanese flag. In IE it renders just fine, but in Opera and Firefox it causes the flag to be an extra space to the right, creating a bit of a skewed appearance.
Every image should have a brief description text. This enables blind Wikipedians using a screen reader to know what the image is about. "Star" is the descriptive word in this case. [[:File:Cscr-featured.svg]] Add a colon before Image to create a link to an image. File:Cscr-featured.svg
Icon can also be used to provide the full image markup (include the opening and closing square brackets), if special image settings such as "border" are to be used. If the image is called explicitly image is the name of the image. pix will likely be required as well, the default value for pix is 40x30.
Free images that can be reused commercially and modified are preferred. Non-free images may sometimes be used, but only in certain circumstances. Wikimedia Commons accepts only free images, which can then be used by any of the other Wikimedia projects. To use an image in an article, insert: [[File:Image name.jpg|thumb|Caption for the image]].