Difference between revisions of "User:4CentUser/QuickCrop"
Jump to navigation
Jump to search
(experimenting) |
(work) |
||
Line 1: | Line 1: | ||
<div style="float: | <div style="float: {{Location|}}; width: {{{ScaleWidth|200px}}};"> | ||
{{CSS image crop | {{CSS image crop | ||
|Image = {{{Image}}} | |Image = {{{Image|}}} | ||
|bSize = 100 | |bSize = 100.0 | ||
|oLeft = {{{x1|0}}} | |oLeft = {{{x1|0.0}}} | ||
|oTop = {{{y1| | |oTop = {{{y1|0}}} | ||
|cWidth = | |cWidth = {{#expr:+{{{x2|100.0}}} - {{{x1|0}}}}} | ||
|cHeight = | |cHeight = {{#expr:{{{y2|100.0}}} - {{{y1|0}}}}} | ||
|Description = {{{Description|}}} | |||
|Description = {{{Description| | |||
}} | }} | ||
</div> | </div> | ||
Line 15: | Line 14: | ||
Example: | Example: | ||
{{User:4CentUser/QuickCrop|Image=SonicVsSonichu.jpg|x1=0|y1=0|x2=100|y2= | {{User:4CentUser/QuickCrop | ||
|Image=SonicVsSonichu.jpg | |||
|x1=0.0 | |||
|y1=0.0 | |||
|x2=100.0 | |||
|y2=90.0 | |||
|Location=left | |||
|Description=Test | |||
|ScaleWidth=300.0 | |||
}} | |||
</noinclude> | </noinclude> |
Revision as of 11:47, 26 September 2021
Example: