Template:Crop: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
m (Protected "Template:Crop" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
<nowiki>*</nowiki>Optional
<nowiki>*</nowiki>Optional


<pre>
<pre style="white-space:pre-wrap">
{{crop|image file name|new width|height|vertical position adjustment|horizontal position adjustment|zoom|link=}}
{{crop|image file name|new width|height|vertical position adjustment|horizontal position adjustment|zoom|link=}}
</pre>
</pre>
==Example==
===Original File===
[[File:Csampi.jpg]]
===Using Crop Template===
<pre>{{Crop|Csampi.jpg|150|170}}</pre>
{{Crop|Csampi.jpg|150|170}}
<pre>{{Crop|Csampi.jpg|100|80|10|20|1.5|link=Charles Sampi}}</pre>
{{Crop|Csampi.jpg|100|80|50|5|1.2|link=Charles Sampi}}
[[Category:Wiki System Templates]]
[[Category:Wiki System Templates]]
[[Category:Templates]]
__NOTOC__
</noinclude>
</noinclude>

Latest revision as of 14:20, 1 May 2016

Creates cropped images. Specify image file name, new width, height, vertical position adjustment*, horizontal position adjustment*, zoom*, and link=*

*Optional

{{crop|image file name|new width|height|vertical position adjustment|horizontal position adjustment|zoom|link=}}

Example

Original File

Csampi.jpg

Using Crop Template

{{Crop|Csampi.jpg|150|170}}
Csampi.jpg
{{Crop|Csampi.jpg|100|80|10|20|1.5|link=Charles Sampi}}
Csampi.jpg