Difference between revisions of "BobscreenTest"

From Sega Retro

(fewer file reads = better performance)
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:imagedim|{{#mediadimensions:{{{1|}}}}}}}{{#vardefine:imagew|{{#explode:{{#var:imagedim}}|×|0}}}}{{#vardefine:imageh|{{#explode:{{#var:imagedim}}|×|1}}}}{{#vardefine:hscale|{{#expr:{{#switch:{{#var:imagedim}}
+
<includeonly>{{let|imagedim={{#replace:{{#mediadimensions:{{{1|}}}}}|,|}}}}{{let|imagew={{#explode:{{#var:imagedim}}|×|0}}|imageh={{#explode:{{#var:imagedim}}|×|1}}}}
| 256 × 224 = 1.25 <!--Mega Drive-->
+
{{let|bsparams={{#switch:{{#var:imagedim}}
| 160 × 144 = 1.2 <!--Game Gear-->
+
<!--thumbnail width, display width, display height, crop (1=no, 2=show left half only)-->
| 352 × 224 = (320/352) <!--Saturn-->
+
| 256 × 192 = 256,{{#switch:{{{smsgg|}}}|yes=192,144|256,192}},1 <!--Master System-->
| 704 × 448 = (640/704) <!--Saturn-->
+
| 248 × 192 = 248,248,192,1 <!--Master System (cropped)-->
| 352 × 240 = (320/352) <!--Saturn PAL-->
+
| 512 × 192 = 512,512,192,2 <!--Master System 3D-->
| 704 × 480 = (640/704) <!--Saturn PAL-->
+
| 496 × 192 = 496,496,192,2 <!--Master System 3D (cropped)-->
| 224 × 224 = (320/224) <!--Bank Panic-->
+
| 256 × 224 = 256,320,224,1 <!--Mega Drive-->
| 240 × 224 = (320/240) <!--Super Locomotive-->
+
| 256 × 240 = 256,320,240,1 <!--Mega Drive PAL; X68000-->
| 288 × 224 = 1 <!--Flashgal, appears to use square pixels.-->
+
| 640 × 480
| 384 × 496 = (372/384) <!--Vertical arcade (e.g. Gain Ground)-->
+
| 320 × 480 = 320,320,240,1 <!--Mega Drive PAL interlaced-->
| 248 × 224 = (320/248) <!-- PC Engine -->
+
| 160 × 144 = 160,192,144,1 <!--Game Gear-->
| 256 × 212 = (283/256) <!-- MSX2 -->
+
| 352 × 224
| 320 × 256 = (341/320) <!-- Amiga -->
+
| 704 × 448 = 352,320,224,1 <!--Saturn-->
| 256 × 240 = 1.25 <!--X68000-->
+
| 352 × 240
| 256 × 232 = (309/256) <!--X68000-->
+
| 704 × 480 = 352,320,240,1 <!--Saturn PAL-->
| 512 × 224 = 0.625 <!--SNES-->
+
| 224 × 224 = 224,320,224,1 <!--Bank Panic-->
| 304 × 224 = (320/304) <!-- Amiga -->
+
| 240 × 224 = 240,320,224,1 <!--Super Locomotive-->
| 384 × 224 = (320/384) <!-- Capcom arcade -->
+
| 288 × 224 = 288,288,224,1 <!--Flashgal, appears to use square pixels.-->
| 1
+
| 384 × 496 = 384,224,320,1 <!--Vertical arcade (e.g. Gain Ground)-->
}}}}}}{{#vardefine:vscale|{{#expr:{{#switch:{{#var:imagedim}}
+
| 384 × 224 = 384,320,224,1 <!-- Capcom arcade -->
| 224 × 256 = 1.25 <!--Vertical arcade (e.g. Deep Scan)-->
+
| 416 × 224 = 416,320,224,1 <!-- Burning Rival -->
| 240 × 256 = 1.25 <!--Vertical arcade (e.g. Angel Kids)-->
+
| 224 × 256 = 224,224,320,1 <!--Vertical arcade (e.g. Deep Scan)-->
| 208 × 256 = 1.08 <!--Vertical arcade (e.g. Bull Fighter)-->
+
| 240 × 256 = 240,240,320,1 <!--Vertical arcade (e.g. Angel Kids)-->
| 224 × 240 = (320/240) <!--Vertical arcade (e.g. Water Match)-->
+
| 208 × 256 = 208,208,277,1 <!--Vertical arcade (e.g. Bull Fighter)-->
| 512 × 448 = 0.8 <!--PlayStation 2-->
+
| 224 × 240 = 224,224,320,1 <!--Vertical arcade (e.g. Water Match)-->
| 512 × 480 = (384/480) <!--Astron Belt-->
+
| 512 × 480 = 320,320,240,1 <!--Astron Belt-->
| 224 × 288 = 1 <!--Pengo, square pixels.-->
+
| 224 × 288 = 224,224,288,1 <!--Pengo, square pixels.-->
| 496 × 384 = (372/384) <!--Model 1/2 (e.g. Virtua Fighter)-->
+
| 496 × 384 = 320,320,240,1 <!--Model 1/2 (e.g. Virtua Fighter)-->
| 320 × 200 = (240/200) <!--IBM PC-->
+
| 400 × 254 = 400,320,240,1 <!-- Midway arcade -->
| 640 × 400 = (240/200) <!--IBM PC-->
+
| 248 × 224 = 248,320,224,1 <!-- PC Engine -->
| 640 × 300 = (320/200) <!--IBM PC (Hercules)-->
+
| 512 × 239 = 512,320,239,1 <!--SNES-->
| 720 × 348 = (720/464) <!--IBM PC (Hercules)-->
+
| 512 × 478
| 352 × 200 = (264/200) <!-- Amiga -->
+
| 256 × 239 = 256,320,239,1 <!--NES/SNES-->
| 320 × 199 = (240/199) <!-- Amiga -->
+
| 512 × 224 = 512,320,224,1 <!--SNES-->
| 336 × 240 = (252/240) <!-- Atari 8-bit -->
+
| 512 × 448 = 320,320,224,1 <!--SNES; PlayStation 2-->
| 352 × 184 = (264/184) <!-- VIC-20 -->
+
| 240 × 160 = 240,240,160,1 <!--GBA-->
| 360 × 240 = (270/240) <!-- VIC-20 -->
+
| 256 × 384 = 256,256,384,1 <!--Nintendo DS-->
| 320 × 210 = (240/210) <!-- Atari 2600 -->
+
| 400 × 480 = 320,320,384,1 <!--Nintendo 3DS-->
| 320 × 214 = (240/214) <!-- Atari 2600 -->
+
| 800 × 480 = 640,640,384,2 <!--Nintendo 3DS 3D-->
| 280 × 192 = (210/192) <!-- Apple II -->
+
| 480 × 272 = 320,320,181,1 <!--PlayStation Portable-->
| 320 × 192 = (240/192) <!-- Amiga -->
+
| 960 × 544 = 320,320,181,1 <!--PlayStation Vita-->
| 768 × 400 = (576/400) <!-- X68000 (Bonanza Bros.)-->
+
| 160 × 152 = 160,160,152,1 <!--NGPC-->
| 312 × 192 = (234/192) <!-- Amiga -->
+
| 256 × 212 = 256,283,212,1 <!-- MSX2 -->
| {{#ifeq:{{{forcewidescreen}}}|yes|0.8|1}}
+
| 320 × 256 = 320,320,240,1 <!-- Amiga -->
}}}}}}{{#vardefine:is3d|{{#switch:{{#var:imagedim}}
+
| 304 × 224 = 304,320,224,1 <!-- Amiga -->
| 512 × 192 = yes <!--Master System-->
+
| 352 × 200 = 352,320,240,1 <!-- Amiga -->
| 496 × 192 = yes <!--Master System (cropped)-->
+
| 320 × 199
| no
+
| 320 × 208
}}}}{{#if:{{{width|}}} | {{#vardefine:bswidth|{{{width|}}}}} {{#vardefine:bsheight|{{#expr:{{getdim|actual={{#var:imagedim}}|w=({{#expr:{{{width|}}}/{{#var:hscale}}}})|output=h}}*{{#var:vscale}}}}}}
+
| 320 × 192 = 320,320,240,1 <!-- Amiga -->
}}{{#if:{{{height|}}} | {{#vardefine:bsheight|{{{height|}}}}} {{#vardefine:bswidth|{{#expr:{{getdim|actual={{#var:imagedim}}|h=({{#expr:{{{height|}}}/{{#var:vscale}}}})|output=w}}*{{#var:hscale}}}}}}
+
| 312 × 192 = 312,312,234,1 <!-- Amiga -->
}}{{#if:{{{width|}}}{{{height|}}} || {{#ifexpr:({{#var:imagew}}*{{#var:hscale}})<{{#ifeq:{{#var:is3d}}|yes|641|321}}
+
| 256 × 232 = 256,309,232,1 <!--X68000-->
| {{#vardefine:bswidth|{{#expr:{{#var:imagew}}*{{#var:hscale}}}}}}{{#vardefine:bsheight|{{#expr:{{#var:imageh}}*{{#var:vscale}}}}}}
+
| 320 × 200
| {{#vardefine:bswidth|320}}{{#vardefine:bsheight|{{#expr:{{getdim|actual={{#var:imagedim}}|w=({{#expr:{{#expr:320/{{#var:hscale}}}})|output=h}}*{{#var:vscale}}}} }}}}
+
| 640 × 400
}}{{#vardefine:rawwidth|{{#expr:trunc({{#var:bswidth}}/{{#var:hscale}})}}}}{{#ifeq:{{#var:is3d}}|yes|{{#vardefine:bswidth|{{#expr:{{#var:bswidth}}/2}}}}}}<div class="bobscreen" style="width:{{#var:bswidth}}px; height:{{#var:bsheight}}px; display:inline-block; text-align:center; overflow:hidden;"><div style="transform:scale({{#var:hscale}},{{#var:vscale}}); transform-origin:0% 0%; width:{{#var:rawwidth}}px !important;">[[File:{{{1}}}|{{#var:rawwidth}}px]]</div></div></includeonly><noinclude>
+
| 640 × 350 = 320,320,240,1 <!--IBM PC-->
 
+
| 640 × 300
 +
| 720 × 348 = 320,320,240,1 <!--IBM PC (Hercules)-->
 +
| 336 × 240 = 336,320,240,1 <!-- Atari 8-bit -->
 +
| 352 × 184 = 352,320,240,1 <!-- VIC-20 -->
 +
| 360 × 240 = 360,320,240,1 <!-- VIC-20 -->
 +
| 320 × 210
 +
| 320 × 214 = 320,320,240,1 <!-- Atari 2600 -->
 +
| 280 × 192 = 280,280,210,1 <!-- Apple II -->
 +
| 768 × 400 = 320,320,240,1 <!-- X68000 (Bonanza Bros.)-->
 +
| 200 × 160 = 200,200,160,1 <!-- Game.com -->
 +
| 176 × 208 = 176,176,208,1 <!-- N-Gage -->
 +
| 1280 × 720
 +
| 1920 × 1080
 +
| 2560 × 1440
 +
| 3840 × 2160 = 320,320,180,1 <!-- HD -->
 +
| 320,320,224,1 <!--Default is Mega Drive NTSC-->
 +
}}}}{{let
 +
|thumbw={{#explode:{{#var:bsparams}}|,|0}}
 +
|bsw={{#explode:{{#var:bsparams}}|,|1}}
 +
|bsh={{#expr:{{#explode:{{#var:bsparams}}|,|2}}*{{#switch:{{{forcewidescreen|}}}|yes=0.8|1}}}}
 +
|bsc={{#explode:{{#var:bsparams}}|,|3}}
 +
}}{{getdim|actual={{#var:imagedim}}|w={{#var:thumbw}}|output=h|var=thumbh}}{{let
 +
|scale={{#if:{{{width|}}}|{{#expr:{{{width|}}}/({{#var:bsw}}/{{#var:bsc}})}}|{{#if:{{{height|}}}|{{#expr:{{{height|}}}/({{#var:bsh}}/{{#var:bsc}})}}|1}}}}
 +
|hscale={{#expr:{{#var:bsw}}/{{#var:thumbw}}}}
 +
|vscale={{#expr:{{#var:bsh}}/{{#var:thumbh}}}}
 +
}}
 +
<div style="overflow:hidden; display:inline-block;
 +
width:{{#expr:({{#var:bsw}}*{{#var:scale}})/{{#var:bsc}}}}px;
 +
height:{{#expr:{{#var:bsh}}*{{#var:scale}}}}px;
 +
">
 +
<div class="bobtransform" style="transform:scale({{#var:hscale}},{{#var:vscale}}); transform-origin:0% 0%; !important;">
 +
<div style="width:{{#expr:{{#var:thumbw}}*{{#var:scale}}}}px; height:{{#expr:{{#var:thumbh}}*{{#var:scale}}}}px;">
 +
[[File:{{{1|}}}|{{#expr:trunc({{#var:thumbw}}*{{#var:scale}})}}px]]
 +
</div>
 +
</div>
 +
</div></includeonly><noinclude>
 +
{{BobTablePlus|
 +
{{BobRowPlus
 +
| if=yes
 +
| align=center
 +
| default=
 +
| content={{BobscreenTest|sonic1 title.png}}
 +
}}
 +
{{BobRowPlus
 +
| if=yes
 +
| default=
 +
| content=''<span itemprop="name">testing</span>''
 +
| headline=yes
 +
| align=center
 +
}}
 +
}}
 +
{{bobscreenTest|OutRun3D title.png|width=120}}
 
This template sets the maximum width of a screenshot to 320 pixels, and corrects its aspect ratio.
 
This template sets the maximum width of a screenshot to 320 pixels, and corrects its aspect ratio.
  
Line 61: Line 112:
  
 
returns
 
returns
{{bobscreen|MagicalPuzzlePopils title.png}}
+
{{BobscreenTest|MagicalPuzzlePopils title.png}}
 
This is how the game appears on an actual [[Sega Game Gear]]. The original image taken from an emulator is below:
 
This is how the game appears on an actual [[Sega Game Gear]]. The original image taken from an emulator is below:
  
Line 67: Line 118:
  
 
===Options===
 
===Options===
<tt><nowiki>{{bobscreen|MagicalPuzzlePopils title.png|width=120}}</nowiki></tt>
+
<tt><nowiki>{{BobscreenTest|MagicalPuzzlePopils title.png|width=120}}</nowiki></tt>
  
 
returns
 
returns
{{bobscreen|MagicalPuzzlePopils title.png|width=120}}
+
{{BobscreenTest|MagicalPuzzlePopils title.png|width=120}}
 
"width" also takes into account the adjusted aspect ratio, so the image appears 120 pixels wide even if the source image is not.
 
"width" also takes into account the adjusted aspect ratio, so the image appears 120 pixels wide even if the source image is not.
  
Line 77: Line 128:
 
! Code || Raw image || Output
 
! Code || Raw image || Output
 
|-
 
|-
| <nowiki>{{bobscreen|Gain Ground Title.png|height=320}}</nowiki>
+
| <nowiki>{{bobscreen|BurningRival title.png}}</nowiki>
| [[File:Gain Ground Title.png]]
+
| [[File:BurningRival title.png]]
| {{bobscreen|Gain Ground Title.png|height=320}}
+
| {{BobscreenTest|BurningRival title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|Virtua Fighter Title.png}}</nowiki>
 
| <nowiki>{{bobscreen|Virtua Fighter Title.png}}</nowiki>
 
| [[File:Virtua Fighter Title.png]]
 
| [[File:Virtua Fighter Title.png]]
| {{bobscreen|Virtua Fighter Title.png}}
+
| {{BobscreenTest|Virtua Fighter Title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|AlteredBeast PS2 title.png}}</nowiki>
 
| <nowiki>{{bobscreen|AlteredBeast PS2 title.png}}</nowiki>
 
| [[File:AlteredBeast PS2 title.png]]
 
| [[File:AlteredBeast PS2 title.png]]
| {{bobscreen|AlteredBeast PS2 title.png}}
+
| {{BobscreenTest|AlteredBeast PS2 title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|BladeEagle title.png}}</nowiki>
 
| <nowiki>{{bobscreen|BladeEagle title.png}}</nowiki>
 
| [[File:BladeEagle title.png]]
 
| [[File:BladeEagle title.png]]
| {{bobscreen|BladeEagle title.png}}
+
| {{BobscreenTest|BladeEagle title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|OutRun3D title.png}}</nowiki>
 
| <nowiki>{{bobscreen|OutRun3D title.png}}</nowiki>
 
| [[File:OutRun3D title.png]]
 
| [[File:OutRun3D title.png]]
| {{bobscreen|OutRun3D title.png}}
+
| {{BobscreenTest|OutRun3D title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|Scd titlescreen.png}}</nowiki>
 
| <nowiki>{{bobscreen|Scd titlescreen.png}}</nowiki>
 
| [[File:Scd titlescreen.png]]
 
| [[File:Scd titlescreen.png]]
| {{bobscreen|Scd titlescreen.png}}
+
| {{BobscreenTest|Scd titlescreen.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|WinterHeat title.png}}</nowiki>
 
| <nowiki>{{bobscreen|WinterHeat title.png}}</nowiki>
 
| [[File:WinterHeat title.png]]
 
| [[File:WinterHeat title.png]]
| {{bobscreen|WinterHeat title.png}}
+
| {{BobscreenTest|WinterHeat title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|Clockwork Knight Title.png}}</nowiki>
 
| <nowiki>{{bobscreen|Clockwork Knight Title.png}}</nowiki>
 
| [[File:Clockwork Knight Title.png]]
 
| [[File:Clockwork Knight Title.png]]
| {{bobscreen|Clockwork Knight Title.png}}
+
| {{BobscreenTest|Clockwork Knight Title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|NiGHTS title.png}}</nowiki>
 
| <nowiki>{{bobscreen|NiGHTS title.png}}</nowiki>
 
| [[File:NiGHTS title.png]]
 
| [[File:NiGHTS title.png]]
| {{bobscreen|NiGHTS title.png}}
+
| {{BobscreenTest|NiGHTS title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|VirtuaFighter 32X Widescreen2.png|forcewidescreen=yes}}</nowiki>
 
| <nowiki>{{bobscreen|VirtuaFighter 32X Widescreen2.png|forcewidescreen=yes}}</nowiki>
 
| [[File:VirtuaFighter 32X Widescreen2.png]]
 
| [[File:VirtuaFighter 32X Widescreen2.png]]
| {{bobscreen|VirtuaFighter 32X Widescreen2.png|forcewidescreen=yes}}
+
| {{BobscreenTest|VirtuaFighter 32X Widescreen2.png|forcewidescreen=yes}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes}}</nowiki>
 
| <nowiki>{{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes}}</nowiki>
 
| [[File:VirtuaFighter 32X Widescreen2 PAL.png]]
 
| [[File:VirtuaFighter 32X Widescreen2 PAL.png]]
| {{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes}}
+
| {{BobscreenTest|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes|width=200}}</nowiki>
 
| <nowiki>{{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes|width=200}}</nowiki>
 
| [[File:VirtuaFighter 32X Widescreen2 PAL.png]]
 
| [[File:VirtuaFighter 32X Widescreen2 PAL.png]]
| {{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes|width=200}}
+
| {{BobscreenTest|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes|width=200}}
|-
 
| <nowiki>{{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes|height=240}}</nowiki>
 
| [[File:VirtuaFighter 32X Widescreen2 PAL.png]]
 
| {{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes|height=240}}
 
 
|-
 
|-
 
| <nowiki>{{bobscreen|Deep Scan.png}}</nowiki>
 
| <nowiki>{{bobscreen|Deep Scan.png}}</nowiki>
 
| [[File:Deep Scan.png]]
 
| [[File:Deep Scan.png]]
| {{bobscreen|Deep Scan.png}}
+
| {{BobscreenTest|Deep Scan.png}}
|-
 
| <nowiki>{{bobscreen|Deep Scan.png|height=320}}</nowiki>
 
| [[File:Deep Scan.png]]
 
| {{bobscreen|Deep Scan.png|height=320}}
 
 
|-
 
|-
 
| <nowiki>{{bobscreen|Deep Scan.png|width=200}}</nowiki>
 
| <nowiki>{{bobscreen|Deep Scan.png|width=200}}</nowiki>
 
| [[File:Deep Scan.png]]
 
| [[File:Deep Scan.png]]
| {{bobscreen|Deep Scan.png|width=200}}
+
| {{BobscreenTest|Deep Scan.png|width=200}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|Alex Kidd in Miracle World Title.png}}</nowiki>
 
| <nowiki>{{bobscreen|Alex Kidd in Miracle World Title.png}}</nowiki>
 
| [[File:Alex Kidd in Miracle World Title.png]]
 
| [[File:Alex Kidd in Miracle World Title.png]]
| {{bobscreen|Alex Kidd in Miracle World Title.png}}
+
| {{BobscreenTest|Alex Kidd in Miracle World Title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|Outrun2spsdxscreen.png|width=320}}</nowiki>
 
| <nowiki>{{bobscreen|Outrun2spsdxscreen.png|width=320}}</nowiki>
 
| [[File:Outrun2spsdxscreen.png|320px]]
 
| [[File:Outrun2spsdxscreen.png|320px]]
| {{bobscreen|Outrun2spsdxscreen.png|width=320}}
+
| {{BobscreenTest|Outrun2spsdxscreen.png|width=320}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|OutRun IBMPC CGA Title.png|width=320}}</nowiki>
 
| <nowiki>{{bobscreen|OutRun IBMPC CGA Title.png|width=320}}</nowiki>
 
| [[File:OutRun IBMPC CGA Title.png|320px]]
 
| [[File:OutRun IBMPC CGA Title.png|320px]]
| {{bobscreen|OutRun IBMPC CGA Title.png|width=320}}
+
| {{BobscreenTest|OutRun IBMPC CGA Title.png|width=320}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|OutRun IBMPC Hercules Title.png|width=320}}</nowiki>
 
| <nowiki>{{bobscreen|OutRun IBMPC Hercules Title.png|width=320}}</nowiki>
 
| [[File:OutRun IBMPC Hercules Title.png|320px]]
 
| [[File:OutRun IBMPC Hercules Title.png|320px]]
| {{bobscreen|OutRun IBMPC Hercules Title.png|width=320}}
+
| {{BobscreenTest|OutRun IBMPC Hercules Title.png|width=320}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|GoldenAxe IBMPC Hercules Title.png|width=320}}</nowiki>
 
| <nowiki>{{bobscreen|GoldenAxe IBMPC Hercules Title.png|width=320}}</nowiki>
 
| [[File:GoldenAxe IBMPC Hercules Title.png|320px]]
 
| [[File:GoldenAxe IBMPC Hercules Title.png|320px]]
| {{bobscreen|GoldenAxe IBMPC Hercules Title.png|width=320}}
+
| {{BobscreenTest|GoldenAxe IBMPC Hercules Title.png|width=320}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|SpaceHarrier Amiga title.png|width=320}}</nowiki>
 
| <nowiki>{{bobscreen|SpaceHarrier Amiga title.png|width=320}}</nowiki>
 
| [[File:SpaceHarrier Amiga title.png|320px]]
 
| [[File:SpaceHarrier Amiga title.png|320px]]
| {{bobscreen|SpaceHarrier Amiga title.png|width=320}}
+
| {{BobscreenTest|SpaceHarrier Amiga title.png|width=320}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|FroggerII A8B Level1.png|width=320}}</nowiki>
 
| <nowiki>{{bobscreen|FroggerII A8B Level1.png|width=320}}</nowiki>
 
| [[File:FroggerII A8B Level1.png|320px]]
 
| [[File:FroggerII A8B Level1.png|320px]]
| {{bobscreen|FroggerII A8B Level1.png|width=320}}
+
| {{BobscreenTest|FroggerII A8B Level1.png|width=320}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|AfterBurnerII PCE Title.png}}</nowiki>
 
| <nowiki>{{bobscreen|AfterBurnerII PCE Title.png}}</nowiki>
 
| [[File:AfterBurnerII PCE Title.png]]
 
| [[File:AfterBurnerII PCE Title.png]]
| {{bobscreen|AfterBurnerII PCE Title.png}}
+
| {{BobscreenTest|AfterBurnerII PCE Title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|Columns MSX2 Title2.png}}</nowiki>
 
| <nowiki>{{bobscreen|Columns MSX2 Title2.png}}</nowiki>
 
| [[File:Columns MSX2 Title2.png]]
 
| [[File:Columns MSX2 Title2.png]]
| {{bobscreen|Columns MSX2 Title2.png}}
+
| {{BobscreenTest|Columns MSX2 Title2.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|BuckRogers VIC20 Title.png}}</nowiki>
 
| <nowiki>{{bobscreen|BuckRogers VIC20 Title.png}}</nowiki>
 
| [[File:BuckRogers VIC20 Title.png]]
 
| [[File:BuckRogers VIC20 Title.png]]
| {{bobscreen|BuckRogers VIC20 Title.png}}
+
| {{BobscreenTest|BuckRogers VIC20 Title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|BuckRogers VIC20 Gameplay.png}}</nowiki>
 
| <nowiki>{{bobscreen|BuckRogers VIC20 Gameplay.png}}</nowiki>
 
| [[File:BuckRogers VIC20 Gameplay.png]]
 
| [[File:BuckRogers VIC20 Gameplay.png]]
| {{bobscreen|BuckRogers VIC20 Gameplay.png}}
+
| {{BobscreenTest|BuckRogers VIC20 Gameplay.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|Frogger 2600 Gameplay.png}}</nowiki>
 
| <nowiki>{{bobscreen|Frogger 2600 Gameplay.png}}</nowiki>
 
| [[File:Frogger 2600 Gameplay.png]]
 
| [[File:Frogger 2600 Gameplay.png]]
| {{bobscreen|Frogger 2600 Gameplay.png}}
+
| {{BobscreenTest|Frogger 2600 Gameplay.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|SuperZaxxon AppleII Gameplay.png}}</nowiki>
 
| <nowiki>{{bobscreen|SuperZaxxon AppleII Gameplay.png}}</nowiki>
 
| [[File:SuperZaxxon AppleII Gameplay.png]]
 
| [[File:SuperZaxxon AppleII Gameplay.png]]
| {{bobscreen|SuperZaxxon AppleII Gameplay.png}}
+
| {{BobscreenTest|SuperZaxxon AppleII Gameplay.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|Carnival 2600 Gameplay.png}}</nowiki>
 
| <nowiki>{{bobscreen|Carnival 2600 Gameplay.png}}</nowiki>
 
| [[File:Carnival 2600 Gameplay.png]]
 
| [[File:Carnival 2600 Gameplay.png]]
| {{bobscreen|Carnival 2600 Gameplay.png}}
+
| {{BobscreenTest|Carnival 2600 Gameplay.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|GLOC Amiga Title.png}}</nowiki>
 
| <nowiki>{{bobscreen|GLOC Amiga Title.png}}</nowiki>
 
| [[File:GLOC Amiga Title.png]]
 
| [[File:GLOC Amiga Title.png]]
| {{bobscreen|GLOC Amiga Title.png}}
+
| {{BobscreenTest|GLOC Amiga Title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|HotRod Amiga Title.png}}</nowiki>
 
| <nowiki>{{bobscreen|HotRod Amiga Title.png}}</nowiki>
 
| [[File:HotRod Amiga Title.png]]
 
| [[File:HotRod Amiga Title.png]]
| {{bobscreen|HotRod Amiga Title.png}}
+
| {{BobscreenTest|HotRod Amiga Title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|SpaceHarrier X68 JP SSBoss.png}}</nowiki>
 
| <nowiki>{{bobscreen|SpaceHarrier X68 JP SSBoss.png}}</nowiki>
 
| [[File:SpaceHarrier X68 JP SSBoss.png]]
 
| [[File:SpaceHarrier X68 JP SSBoss.png]]
| {{bobscreen|SpaceHarrier X68 JP SSBoss.png}}
+
| {{BobscreenTest|SpaceHarrier X68 JP SSBoss.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|BonanzaBros_X68_JP_SSTitle.png}}</nowiki>
 
| <nowiki>{{bobscreen|BonanzaBros_X68_JP_SSTitle.png}}</nowiki>
 
| [[File:BonanzaBros_X68_JP_SSTitle.png]]
 
| [[File:BonanzaBros_X68_JP_SSTitle.png]]
| {{bobscreen|BonanzaBros_X68_JP_SSTitle.png}}
+
| {{BobscreenTest|BonanzaBros_X68_JP_SSTitle.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|AlienSyndrome X68 JP SSIngame.png}}</nowiki>
 
| <nowiki>{{bobscreen|AlienSyndrome X68 JP SSIngame.png}}</nowiki>
 
| [[File:AlienSyndrome X68 JP SSIngame.png]]
 
| [[File:AlienSyndrome X68 JP SSIngame.png]]
| {{bobscreen|AlienSyndrome X68 JP SSIngame.png}}
+
| {{BobscreenTest|AlienSyndrome X68 JP SSIngame.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|LastBattle Amiga Title.png}}</nowiki>
 
| <nowiki>{{bobscreen|LastBattle Amiga Title.png}}</nowiki>
 
| [[File:LastBattle Amiga Title.png]]
 
| [[File:LastBattle Amiga Title.png]]
| {{bobscreen|LastBattle Amiga Title.png}}
+
| {{BobscreenTest|LastBattle Amiga Title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|Doom SNES Title.png}}</nowiki>
 
| <nowiki>{{bobscreen|Doom SNES Title.png}}</nowiki>
 
| [[File:Doom SNES Title.png]]
 
| [[File:Doom SNES Title.png]]
| {{bobscreen|Doom SNES Title.png}}
+
| {{BobscreenTest|Doom SNES Title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|Flashback Amiga Title.png}}</nowiki>
 
| <nowiki>{{bobscreen|Flashback Amiga Title.png}}</nowiki>
 
| [[File:Flashback Amiga Title.png]]
 
| [[File:Flashback Amiga Title.png]]
| {{bobscreen|Flashback Amiga Title.png}}
+
| {{BobscreenTest|Flashback Amiga Title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|GhoulsnGhosts Arcade Title.png}}</nowiki>
 
| <nowiki>{{bobscreen|GhoulsnGhosts Arcade Title.png}}</nowiki>
 
| [[File:GhoulsnGhosts Arcade Title.png]]
 
| [[File:GhoulsnGhosts Arcade Title.png]]
| {{bobscreen|GhoulsnGhosts Arcade Title.png}}
+
| {{BobscreenTest|GhoulsnGhosts Arcade Title.png}}
 
|-
 
|-
 
| <nowiki>{{bobscreen|DarkCastle Amiga Title.png}}</nowiki>
 
| <nowiki>{{bobscreen|DarkCastle Amiga Title.png}}</nowiki>
 
| [[File:DarkCastle Amiga Title.png]]
 
| [[File:DarkCastle Amiga Title.png]]
| {{bobscreen|DarkCastle Amiga Title.png}}
+
| {{BobscreenTest|DarkCastle Amiga Title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|WBiML SMS Title.png|smsgg=yes}}</nowiki>
 +
| [[File:WBiML SMS Title.png]]
 +
| {{BobscreenTest|WBiML SMS Title.png|smsgg=yes}}
 
|}
 
|}
  
 
[[Category:Breakout box templates]]
 
[[Category:Breakout box templates]]
 
</noinclude>
 
</noinclude>

Revision as of 01:03, 10 June 2021

Sonic1 title.png

testing


OutRun3D title.png

This template sets the maximum width of a screenshot to 320 pixels, and corrects its aspect ratio.

Usage

{{bobscreen|MagicalPuzzlePopils title.png}}

returns


MagicalPuzzlePopils title.png

This is how the game appears on an actual Sega Game Gear. The original image taken from an emulator is below:

MagicalPuzzlePopils title.png

Options

{{BobscreenTest|MagicalPuzzlePopils title.png|width=120}}

returns


MagicalPuzzlePopils title.png

"width" also takes into account the adjusted aspect ratio, so the image appears 120 pixels wide even if the source image is not.

Examples

Code Raw image Output
{{bobscreen|BurningRival title.png}} BurningRival title.png

BurningRival title.png

{{bobscreen|Virtua Fighter Title.png}} Virtua Fighter Title.png

Virtua Fighter Title.png

{{bobscreen|AlteredBeast PS2 title.png}} AlteredBeast PS2 title.png

AlteredBeast PS2 title.png

{{bobscreen|BladeEagle title.png}} BladeEagle title.png

BladeEagle title.png

{{bobscreen|OutRun3D title.png}} OutRun3D title.png

OutRun3D title.png

{{bobscreen|Scd titlescreen.png}} Scd titlescreen.png

Scd titlescreen.png

{{bobscreen|WinterHeat title.png}} WinterHeat title.png

WinterHeat title.png

{{bobscreen|Clockwork Knight Title.png}} ClockworkKnightUSPAL Title.png

ClockworkKnightUSPAL Title.png

{{bobscreen|NiGHTS title.png}} NiGHTS title.png

NiGHTS title.png

{{bobscreen|VirtuaFighter 32X Widescreen2.png|forcewidescreen=yes}} VirtuaFighter 32X Widescreen2.png

VirtuaFighter 32X Widescreen2.png

{{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes}} VirtuaFighter 32X Widescreen2 PAL.png

VirtuaFighter 32X Widescreen2 PAL.png

{{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes|width=200}} VirtuaFighter 32X Widescreen2 PAL.png

VirtuaFighter 32X Widescreen2 PAL.png

{{bobscreen|Deep Scan.png}} Deep Scan.png

Deep Scan.png

{{bobscreen|Deep Scan.png|width=200}} Deep Scan.png

Deep Scan.png

{{bobscreen|Alex Kidd in Miracle World Title.png}} Alex Kidd in Miracle World Title.png

Alex Kidd in Miracle World Title.png

{{bobscreen|Outrun2spsdxscreen.png|width=320}} Outrun2spsdxscreen.png

Outrun2spsdxscreen.png

{{bobscreen|OutRun IBMPC CGA Title.png|width=320}} OutRun IBMPC CGA Title.png

OutRun IBMPC CGA Title.png

{{bobscreen|OutRun IBMPC Hercules Title.png|width=320}} OutRun IBMPC Hercules Title.png

OutRun IBMPC Hercules Title.png

{{bobscreen|GoldenAxe IBMPC Hercules Title.png|width=320}} GoldenAxe IBMPC Hercules Title.png

GoldenAxe IBMPC Hercules Title.png

{{bobscreen|SpaceHarrier Amiga title.png|width=320}} SpaceHarrier Amiga title.png

SpaceHarrier Amiga title.png

{{bobscreen|FroggerII A8B Level1.png|width=320}} FroggerII A8B Level1.png

FroggerII A8B Level1.png

{{bobscreen|AfterBurnerII PCE Title.png}} AfterBurnerII PCE Title.png

AfterBurnerII PCE Title.png

{{bobscreen|Columns MSX2 Title2.png}} Columns MSX2 Title2.png

Columns MSX2 Title2.png

{{bobscreen|BuckRogers VIC20 Title.png}} BuckRogers VIC20 Title.png

BuckRogers VIC20 Title.png

{{bobscreen|BuckRogers VIC20 Gameplay.png}} BuckRogers VIC20 Gameplay.png

BuckRogers VIC20 Gameplay.png

{{bobscreen|Frogger 2600 Gameplay.png}} Frogger 2600 Gameplay.png

Frogger 2600 Gameplay.png

{{bobscreen|SuperZaxxon AppleII Gameplay.png}} SuperZaxxon AppleII Gameplay.png

SuperZaxxon AppleII Gameplay.png

{{bobscreen|Carnival 2600 Gameplay.png}} Carnival 2600 Gameplay.png

Carnival 2600 Gameplay.png

{{bobscreen|GLOC Amiga Title.png}} GLOC Amiga Title.png

GLOC Amiga Title.png

{{bobscreen|HotRod Amiga Title.png}} HotRod Amiga Title.png

HotRod Amiga Title.png

{{bobscreen|SpaceHarrier X68 JP SSBoss.png}} SpaceHarrier X68 JP SSBoss.png

SpaceHarrier X68 JP SSBoss.png

{{bobscreen|BonanzaBros_X68_JP_SSTitle.png}} BonanzaBros X68 JP SSTitle.png

BonanzaBros X68 JP SSTitle.png

{{bobscreen|AlienSyndrome X68 JP SSIngame.png}} AlienSyndrome X68 JP SSIngame.png

AlienSyndrome X68 JP SSIngame.png

{{bobscreen|LastBattle Amiga Title.png}} LastBattle Amiga Title.png

LastBattle Amiga Title.png

{{bobscreen|Doom SNES Title.png}} Doom SNES Title.png

Doom SNES Title.png

{{bobscreen|Flashback Amiga Title.png}} Flashback Amiga Title.png

Flashback Amiga Title.png

{{bobscreen|GhoulsnGhosts Arcade Title.png}} GhoulsnGhosts Arcade Title.png

GhoulsnGhosts Arcade Title.png

{{bobscreen|DarkCastle Amiga Title.png}} DarkCastle Amiga Title.png

DarkCastle Amiga Title.png

{{bobscreen|WBiML SMS Title.png|smsgg=yes}} WBiML SMS Title.png

WBiML SMS Title.png