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)))
 
(3 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>
Line 9: Line 9:
==Example==
==Example==
===Original File===
===Original File===
[[File:Idrilmaruni1.jpg|200px]]
[[File:Csampi.jpg]]


===Using Crop Template===
===Using Crop Template===
<pre>{{Crop|Idrilmaruni1.jpg|100|80}}</pre>
<pre>{{Crop|Csampi.jpg|150|170}}</pre>


{{Crop|Idrilmaruni1.jpg|100|80}}
{{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]]

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