Difference between revisions of "ScaleX"
From Sega Retro
(Created page with "<includeonly><div class="bobtransform" style="transform:scale({{#expr:1/({{{currentwidth|}}}/{{{wantedwidth|}}})}},1) !important; transform-origin:0% 0%; width:{{{wantedwidth|...") |
(don't know if that's the correct aspect ratio) |
||
Line 3: | Line 3: | ||
For when things are too wide: | For when things are too wide: | ||
− | {{sprite | | + | {{sprite | Plasma Sword DC, Characters.png | crop_width=256 | crop_height=216 | crop_x=0 | crop_y=0}} |
− | <pre>{{ScaleX|{{sprite | | + | <pre>{{ScaleX|{{sprite | Plasma Sword DC, Characters.png | crop_width=256 | crop_height=216 | crop_x=0 | crop_y=0}}|currentwidth=352|wantedwidth=224}}</pre> |
− | {{ScaleX|{{sprite | | + | {{ScaleX|{{sprite | Plasma Sword DC, Characters.png| crop_width=256 | crop_height=216 | crop_x=0 | crop_y=0}}|currentwidth=352|wantedwidth=224}} |
A better solution is probably needed. | A better solution is probably needed. | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 10:11, 2 September 2024
For when things are too wide:
{{ScaleX|{{sprite | Plasma Sword DC, Characters.png | crop_width=256 | crop_height=216 | crop_x=0 | crop_y=0}}|currentwidth=352|wantedwidth=224}}
A better solution is probably needed.