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

From CWCki
Jump to navigation Jump to search
(work)
(got location to work)
Line 1: Line 1:
<div style="float: {{Location|}}; width: {{{ScaleWidth|200px}}};">
<div style="float: {{{Location|right}}}; width: {{{ScaleWidth|}}};">
{{CSS image crop
{{CSS image crop
|Image        = {{{Image|}}}
|Image        = {{{Image|}}}
|bSize        = 100.0
|bSize        = 100.0
|oLeft        = {{{x1|0.0}}}
|oLeft        = {{{x1|0.0}}}
|oTop          = {{{y1|0}}}
|oTop          = {{{y1|0.0}}}
|cWidth        = {{#expr:+{{{x2|100.0}}} - {{{x1|0}}}}}
|cWidth        = {{#expr: {{{x2|50.0}}} - {{{x1|0.0}}} }}
|cHeight      = {{#expr:{{{y2|100.0}}} - {{{y1|0}}}}}
|cHeight      = {{#expr: {{{y2|}}} - {{{y1|0.0}}} }}
|Description  =  {{{Description|}}}
|Description  =  {{{Description|}}}
}}
}}
Line 19: Line 19:
|y1=0.0
|y1=0.0
|x2=100.0
|x2=100.0
|y2=90.0
|y2=80.0
|Location=left
|Location=left
|Description=Test
|Description=Test
|ScaleWidth=300.0
|ScaleWidth=100.0
}}
}}
</noinclude>
</noinclude>

Revision as of 12:51, 26 September 2021


Example:

Test
Test