Template:CSS image crop/doc: Difference between revisions

Content deleted Content added
Sardanaphalus (talk | contribs)
BASEPAGENAME, sandbox non-categorisation
Line 1:
{{Documentation subpage}}
 
Preview{{tl|{{BASEPAGENAME}}}} Crop Template lets you createcreates a crop of an image inline for previewing the look and feel of a page. If the edit is committed these crops should be replaced with server side cropped images to avoid sending extra image data to people.
 
Note: There was a previous glitch for which some people had to use "tleft" "tright" etc as a workaround because "left" and "right" did not work. As a result, to avoid having to fix all those pages that used the workaround, the template has been designed to function properly regardless of whether tright or right is used. See template talk for details.
 
=== Usage ===
<pre>
{{CSS image crop
Line 22 ⟶ 23:
By default the magnify icon will lead to the image file. To override this choice, use {{para|magnify-link|pagename}}.
 
=== Examples ===
Dew image with center formatting:
{{CSS image crop
Line 64 ⟶ 65:
}}</pre>
 
=== See also ===
* [[Template:{{tl|Annotated image]]}} ([[Template:Annotated_imageAnnotated image/doc/Samples#Cropping_an_image|withCropping an image|with empty "annotations" parameter]]).
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE, PLEASE: -->
[[Category:Graphic templates]]
 
[[bg:Шаблон:Crop]]
}}</includeonly>