Search results
Results From The WOW.Com Content Network
| magnify-link = The image to be linked by the magnify icon (Use if the Image parameter is set to {{Annotated image}} or the Link parameter leads to something other than the image). For the crop parameters, note that since we're going for a desired width, the size of the image being cropped from will vary depending on what crop_left and crop ...
{{Easy CSS image crop | image = The name of the image file, e.g. Foo.jpg | desired_width = How wide the image should be after cropping. Defaults to 220. Defaults to 220. | crop_left_perc = Percent to crop from the left, leaving out percentage sign (so 10.3% becomes 10.3) | crop_right_perc = Percent to crop from the right.
The following code generates the pie chart shown at right. Note that the default chart size and colors are used, and the value of "1" for the "other" parameter is only used for its "truth value" as a visible string—i.e., to say, yes, we want an "Other" entry in the legend (the same chart would result if "0" were used).
See also Template:Easy CSS image crop, which simplifies the interface for this template a bit. {{CSS image crop}} creates a crop of an image inline for previewing the look and feel of a page, or for linking to full images when a slight crop is preferred in an article, but the full image is more encyclopaedic in general. Where only a small ...
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Donate
Main page; Contents; Current events; Random article; About Wikipedia; Contact us
See also Template:Easy CSS image crop, which simplifies the interface for this template a bit. {{CSS image crop}} creates a crop of an image inline for previewing the look and feel of a page, or for linking to full images when a slight crop is preferred in an article, but the full image is more encyclopaedic in general. Where only a small ...
The example also shows how the chart's overall style can be overridden by more specific styles set by {}. In this case, the color of the first row of cells is set to yellow using the features of the {} template; see that template's documentation for details on how to specify the CSS of rows and individual cells of a chart.