Difference between revisions of "Ortho"

From Sega Retro

Line 17: Line 17:
 
}}<div style="line-height:0px; font-size:0px;">
 
}}<div style="line-height:0px; font-size:0px;">
 
{{#if:{{{top|}}}|<div style="margin-left:{{#var:tl}}px">[[File:{{{top}}}|{{#var:tw}}px]]</div>}}
 
{{#if:{{{top|}}}|<div style="margin-left:{{#var:tl}}px">[[File:{{{top}}}|{{#var:tw}}px]]</div>}}
{{#if:{{{back|}}}{{{front|}}}{{{left|}}}{{{right|}}}|<div>
+
{{#if:{{{back|}}}{{{front|}}}{{{left|}}}{{{right|}}}|<div>{{#if:{{{back|}}}|<div style="display:inline-block; transform:scaley({{#expr:{{#var:ht}}/{{hactual|{{{back}}}|{{#var:ht}}}}}})">[[File:{{{back}}}|x{{#var:ht}}px]]</div>}}{{#if:{{{left|}}}|<div style="display:inline-block; transform:scaley({{#expr:{{#var:ht}}/{{hactual|{{{left}}}|{{#var:ht}}}}}})">[[File:{{{left}}}|x{{#var:ht}}px]]</div>}}{{#if:{{{front|}}}|<div style="display:inline-block; transform:scaley({{#expr:{{#var:ht}}/{{hactual|{{{front}}}|{{#var:ht}}}}}})">[[File:{{{front}}}|x{{#var:ht}}px]]</div>}}{{#if:{{{right|}}}|<div style="display:inline-block; transform:scaley({{#expr:{{#var:ht}}/{{hactual|{{{right}}}|{{#var:ht}}}}}})">[[File:{{{right}}}|x{{#var:ht}}px]]</div>}}</div>}}
{{#if:{{{back|}}}|<div style="display:inline-block; transform:scaley({{#expr:{{#var:ht}}/{{hactual|{{{back}}}|{{#var:ht}}}}}})">[[File:{{{back}}}|x{{#var:ht}}px]]</div>}}
 
{{#if:{{{left|}}}|<div style="display:inline-block; transform:scaley({{#expr:{{#var:ht}}/{{hactual|{{{left}}}|{{#var:ht}}}}}})">[[File:{{{left}}}|x{{#var:ht}}px]]</div>}}
 
{{#if:{{{front|}}}|<div style="display:inline-block; transform:scaley({{#expr:{{#var:ht}}/{{hactual|{{{front}}}|{{#var:ht}}}}}})">[[File:{{{front}}}|x{{#var:ht}}px]]</div>}}
 
{{#if:{{{right|}}}|<div style="display:inline-block; transform:scaley({{#expr:{{#var:ht}}/{{hactual|{{{right}}}|{{#var:ht}}}}}})">[[File:{{{right}}}|x{{#var:ht}}px]]</div>}}
 
</div>}}
 
 
{{#if:{{{bottom|}}}|<div style="margin-left:{{#var:bl}}px;">[[File:{{{bottom}}}|{{#var:bw}}px]]</div>}}
 
{{#if:{{{bottom|}}}|<div style="margin-left:{{#var:bl}}px;">[[File:{{{bottom}}}|{{#var:bw}}px]]</div>}}
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>
Line 40: Line 35:
 
| bottom_pattern=0010
 
| bottom_pattern=0010
 
}}
 
}}
 +
<div style="border:1px solid red; float:left">
 +
{{ortho
 +
| height=50
 +
| width=50
 +
| front=Dynamite Headdy GG EU box front.jpg
 +
}}</div>
  
 
[[Category:Sega Retro templates]]</noinclude>
 
[[Category:Sega Retro templates]]</noinclude>

Revision as of 18:22, 27 June 2018

Displays an orthogonal box projection.

Dynamite Headdy GG EU Box Top.png
Dynamite Headdy GG EU Box Back.jpg
Dynamite Headdy GG EU Box Spine.jpg
Dynamite Headdy GG EU box front.jpg
Dynamite Headdy GG EU Box Spine2.jpg
Dynamite Headdy GG EU Box Bottom.jpg
Dynamite Headdy GG EU box front.jpg