Search results
Results from the WOW.Com Content Network
A simple template to center-align content in tables and other places. Be aware that the center class is applied to this template, which means every element within the template has its left and right margins set to auto. This may harm some templates. Template parameters [Edit template data] Parameter Description Type Status Content 1 Content to be centered Content required Custom CSS style ...
Plain CSS to apply to the inner frame. Use with care. Example text-align: center; String: optional: Link: link: Link for the "Enlarge" link in the caption (in the future, may also be used as the link for the image field inside the frame, though it would probably require an additional height parameter). Page name: optional: Alternative link text ...
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 ...
This is the template test cases page for the sandbox of Template:CSS image crop Purge this page to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki ; see the HTML comment " NewPP limit report " in the rendered page.
This template is used on approximately 244,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.
| 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). Basic parameters {{ 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.
Note: Prefer images in landscape orientation. If you must use one in portrait orientation, avoid very skinny ones. If you must choose a skinny image, then please specify the height as well (e.g., 120x120), but note that if you do so, there will be a gap between left or right edge of the image (depending on the what side of the container the template appears) and the edge of the section.
In such cases, text annotations can be added to an image with the templates Template:Annotated image or Template:Annotated image 4. These templates allow wikitext (e.g., regular text, wikilinks, and reference templates) to be included on the image itself. They may also be used to crop an image so as to focus on a particular portion of it, or ...