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 | Night Warriors, Characters.png | crop_width=352 | crop_height=144 | crop_x=0 | crop_y=0}}
+
{{sprite | Plasma Sword DC, Characters.png | crop_width=256 | crop_height=216 | crop_x=0 | crop_y=0}}
  
  
<pre>{{ScaleX|{{sprite | Night Warriors, Characters.png | crop_width=352 | crop_height=144 | crop_x=0 | crop_y=0}}|currentwidth=352|wantedwidth=320}}</pre>
+
<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 | Night Warriors, Characters.png | crop_width=352 | crop_height=144 | crop_x=0 | crop_y=0}}|currentwidth=352|wantedwidth=320}}
+
{{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:

Plasma Sword DC, Characters.png


{{ScaleX|{{sprite | Plasma Sword DC, Characters.png | crop_width=256 | crop_height=216 | crop_x=0 | crop_y=0}}|currentwidth=352|wantedwidth=224}}
Plasma Sword DC, Characters.png

A better solution is probably needed.