Difference between revisions of "User:4CentUser/QuickCrop"

From CWCki
Jump to navigation Jump to search
(got location to work)
(usage notes)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
{{CSS image crop
{{CSS image crop
|Image        = {{{Image|}}}
|Image        = {{{Image|}}}
|bSize        = 100.0
|bSize        = 100px
|oLeft        = {{{x1|0.0}}}
|oLeft        = {{{x1|0.0}}}
|oTop          = {{{y1|0.0}}}
|oTop          = {{{y1|0.0}}}
Line 12: Line 12:


<noinclude>
<noinclude>
Usage:<br>
<code>
<nowiki>
{{QuickCrop</nowiki>
|Image= Name of image file<br>
|x1= leftmost edge<br>
|y1= top edge<br>
|x2= rightmost edge<br>
|y2= bottom edge<br>
|Location= location on screen<br>
|Description= Description<br>
|ScaleWidth= End size of image.<br>
}}
</code>
Example:
Example:


{{User:4CentUser/QuickCrop
{{User:4CentUser/QuickCrop
|Image=SonicVsSonichu.jpg
|Image=SonicVsSonichu.jpg
|x1=0.0
|x1=0
|y1=0.0
|y1=0
|x2=100.0
|x2=100
|y2=80.0
|y2=60
|Location=left
|Location=left
|Description=Test
|Description=Test
|ScaleWidth=100.0
|ScaleWidth = 500
}}
}}
</noinclude>
</noinclude>

Latest revision as of 12:03, 26 September 2021


Usage:
{{QuickCrop |Image= Name of image file
|x1= leftmost edge
|y1= top edge
|x2= rightmost edge
|y2= bottom edge
|Location= location on screen
|Description= Description
|ScaleWidth= End size of image.
}}


Example:

Test
Test