Difference between revisions of "Bobscreen"

From Sega Retro

 
(43 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><div style="display:none">
+
<includeonly>{{#if:{{{noresize|}}}|[[File:{{{1|}}}{{#if:{{{width|}}}{{{height|}}}|{{!}}}}{{#if:{{{width|}}}|{{{width|}}}}}{{#if:{{{height|}}}|x{{{height|}}}}}{{#if:{{{width|}}}{{{height|}}}|px}}]]|{{let|imagedim={{#replace:{{#mediadimensions:{{{1|}}}}}|,|}}}}{{let|imagew={{#explode:{{#var:imagedim}}|×|0}}|imageh={{#explode:{{#var:imagedim}}|×|1}}}}
{{#vardefine:imagewidth|{{#mediawidth:{{{1}}}}}}}
+
{{let|bsparams={{#switch:{{#var:imagedim}}
{{#vardefine:imageheight|{{#mediaheight:{{{1}}}}}}}
+
<!--thumbnail width, display width, display height, crop (top, bottom, left, right)-->
{{#vardefine:xratio|{{#if:{{{forcewidescreen|}}}|16|4}}}}
+
| 256 × 192 = 256,{{#switch:{{{smsgg|}}}|yes=192,144|256,192}},0,0,0,0 <!--Master System-->
{{#vardefine:yratio|{{#if:{{{forcewidescreen|}}}|9|3}}}}
+
| 248 × 192 = 248,248,192,0,0,0,0 <!--Master System (cropped)-->
{{#if:{{{forcewidescreen|}}}||{{
+
| 512 × 192 = 512,512,192,0,0,0,256 <!--Master System 3D-->
#ifeq: {{#mediadimensions:{{{1}}}}} | 320 × 224 |{{#vardefine:xratio|10}}{{#vardefine:yratio|7}}|}}{{
+
| 496 × 192 = 496,496,192,0,0,0,248 <!--Master System 3D (cropped)-->
#ifeq: {{#mediadimensions:{{{1}}}}} | 248 × 192 |{{#vardefine:xratio|31}}{{#vardefine:yratio|24}}|}}
+
| 256 × 224 = 256,320,224,0,0,0,0 <!--Mega Drive-->
 +
| 256 × 240 = 256,320,240,0,0,0,0 <!--Mega Drive PAL; X68000-->
 +
| 640 × 480
 +
| 320 × 480 = 320,320,240,0,0,0,0 <!--Mega Drive PAL interlaced-->
 +
| 160 × 144 = 160,192,144,0,0,0,0 <!--Game Gear-->
 +
| 352 × 224
 +
| 704 × 448 = 352,320,224,0,0,0,0 <!--Saturn-->
 +
| 352 × 240
 +
| 352 × 256
 +
| 704 × 480 = 352,320,240,0,0,0,0 <!--Saturn PAL-->
 +
| 224 × 224 = 224,320,224,0,0,0,0 <!--Bank Panic-->
 +
| 240 × 224 = 240,320,224,0,0,0,0 <!--Super Locomotive-->
 +
| 288 × 224 = 288,288,224,0,0,0,0 <!--Flashgal, appears to use square pixels.-->
 +
| 384 × 496 = 384,224,320,0,0,0,0 <!--Vertical arcade (e.g. Gain Ground)-->
 +
| 384 × 224 = 384,320,224,0,0,0,0 <!-- Capcom arcade -->
 +
| 416 × 224 = 416,320,224,0,0,0,0 <!-- Burning Rival -->
 +
| 224 × 256 = 224,224,320,0,0,0,0 <!--Vertical arcade (e.g. Deep Scan)-->
 +
| 240 × 256 = 240,240,320,0,0,0,0 <!--Vertical arcade (e.g. Angel Kids)-->
 +
| 208 × 256 = 208,208,277,0,0,0,0 <!--Vertical arcade (e.g. Bull Fighter)-->
 +
| 224 × 240 = 224,224,320,0,0,0,0 <!--Vertical arcade (e.g. Water Match)-->
 +
| 480 × 640 = 240,240,320,0,0,0,0 <!--Vertical arcade (e.g. Ikaruga)-->
 +
| 512 × 480 = 320,320,240,0,0,0,0 <!--Astron Belt-->
 +
| 224 × 288 = 224,224,288,0,0,0,0 <!--Pengo, square pixels.-->
 +
| 496 × 384 = 320,320,240,0,0,0,0 <!--Model 1/2 (e.g. Virtua Fighter)-->
 +
| 400 × 254 = 400,320,240,0,0,0,0 <!-- Midway arcade -->
 +
| 248 × 224 = 248,320,224,0,0,0,0 <!-- PC Engine -->
 +
| 512 × 239 = 512,320,239,0,0,0,0 <!--SNES-->
 +
| 512 × 478
 +
| 256 × 239 = 256,320,239,0,0,0,0 <!--NES/SNES-->
 +
| 512 × 224 = 512,320,224,0,0,0,0 <!--SNES-->
 +
| 512 × 448 = 320,320,224,0,0,0,0 <!--SNES; PlayStation 2-->
 +
| 240 × 160 = 240,240,160,0,0,0,0 <!--GBA-->
 +
| 256 × 384 = 256,256,384,0,0,0,0 <!--Nintendo DS-->
 +
| 400 × 480 = 320,320,384,0,0,0,0 <!--Nintendo 3DS-->
 +
| 800 × 480 = 640,640,384,0,0,0,320 <!--Nintendo 3DS 3D-->
 +
| 480 × 272 = 320,320,181,0,0,0,0 <!--PlayStation Portable-->
 +
| 960 × 544 = 320,320,181,0,0,0,0 <!--PlayStation Vita-->
 +
| 160 × 152 = 160,160,152,0,0,0,0 <!--NGPC-->
 +
| 256 × 212 = 256,283,212,0,0,0,0 <!-- MSX2 -->
 +
| 320 × 256 = 320,320,240,0,0,0,0 <!-- Amiga -->
 +
| 304 × 224 = 304,320,224,0,0,0,0 <!-- Amiga -->
 +
| 352 × 200 = 352,320,240,0,0,0,0 <!-- Amiga -->
 +
| 320 × 199
 +
| 320 × 208
 +
| 320 × 192 = 320,320,240,0,0,0,0 <!-- Amiga -->
 +
| 312 × 192 = 312,312,234,0,0,0,0 <!-- Amiga -->
 +
| 256 × 232 = 256,309,232,0,0,0,0 <!--X68000-->
 +
| 320 × 200
 +
| 640 × 400
 +
| 640 × 350 = 320,320,240,0,0,0,0 <!--IBM PC-->
 +
| 640 × 300
 +
| 720 × 348 = 320,320,240,0,0,0,0 <!--IBM PC (Hercules)-->
 +
| 336 × 240 = 336,320,240,0,0,0,0 <!-- Atari 8-bit -->
 +
| 352 × 184 = 352,320,240,0,0,0,0 <!-- VIC-20 -->
 +
| 360 × 240 = 360,320,240,0,0,0,0 <!-- VIC-20 -->
 +
| 320 × 210
 +
| 320 × 214 = 320,320,240,0,0,0,0 <!-- Atari 2600 -->
 +
| 280 × 192 = 280,280,210,0,0,0,0 <!-- Apple II -->
 +
| 768 × 400 = 320,320,240,0,0,0,0 <!-- X68000 (Bonanza Bros.)-->
 +
| 200 × 160 = 200,200,160,0,0,0,0 <!-- Game.com -->
 +
| 176 × 208 = 176,176,208,0,0,0,0 <!-- N-Gage -->
 +
| 1280 × 720
 +
| 1920 × 1080
 +
| 2560 × 1440
 +
| 3840 × 2160 = 320,320,180,0,0,0,0 <!-- HD -->
 +
| 320,320,224,0,0,0,0 <!--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}}}}
 +
|bst={{#explode:{{#var:bsparams}}|,|3}}
 +
|bsb={{#explode:{{#var:bsparams}}|,|4}}
 +
|bsl={{#explode:{{#var:bsparams}}|,|5}}
 +
|bsr={{#explode:{{#var:bsparams}}|,|6}}
 +
}}{{getdim|actual={{#var:imagedim}}|w={{#var:thumbw}}|output=h|var=thumbh}}{{let
 +
|scale={{#if:{{{width|}}}|{{#expr:{{{width|}}}/{{#var:bsw}}}}|{{#if:{{{height|}}}|{{#expr:{{{height|}}}/{{#var:bsh}}}}|1}}}}
 +
|hscale={{#expr:{{#var:bsw}}/{{#var:thumbw}}}}
 +
|vscale={{#expr:{{#var:bsh}}/{{#var:thumbh}}}}
 
}}
 
}}
{{#ifeq:{{#mediadimensions:{{{1}}}}} | 960 × 544 |{{#vardefine:xratio|16}}{{#vardefine:yratio|9}}|}}
+
<div style="overflow:hidden; display:inline-block;
{{#ifeq:{{#mediadimensions:{{{1}}}}} | 1,280 × 720 |{{#vardefine:xratio|16}}{{#vardefine:yratio|9}}|}}
+
width:{{#expr:({{#var:bsw}}-{{#var:bsl}}-{{#var:bsr}})*{{#var:scale}}}}px;
{{#ifeq:{{#mediadimensions:{{{1}}}}} | 1,920 × 1080 |{{#vardefine:xratio|16}}{{#vardefine:yratio|9}}|}}
+
height:{{#expr:({{#var:bsh}}-{{#var:bst}}-{{#var:bsb}})*{{#var:scale}}}}px;
 
+
">
<!-- vertical monitors -->
+
<div class="bobtransform" style="transform:scale({{#var:hscale}},{{#var:vscale}}); transform-origin:0% 0%; !important;">
{{#ifexpr:{{#mediawidth:{{{1}}}}} < {{#mediaheight:{{{1}}}}}|
+
<div style="position:relative; width:{{#expr:{{#var:thumbw}}*{{#var:scale}}}}px; height:{{#expr:{{#var:thumbh}}*{{#var:scale}}}}px;
{{#vardefine:oldxratio|{{#var:xratio}}}}
+
top:-{{#expr:{{#var:bst}}*{{#var:scale}}}}px
{{#vardefine:xratio|{{#var:yratio}}}}
+
left:-{{#expr:{{#var:bsl}}*{{#var:scale}}}}px
{{#vardefine:yratio|{{#var:oldxratio}}}}
+
">
|}}
+
[[File:{{{1|}}}|{{#expr:trunc({{#var:thumbw}}*{{#var:scale}})}}px|link={{{link|File:{{{1|}}}}}}]]
{{#vardefine:calculatedheight|{{#var:imageheight}}}}
+
</div>
{{#vardefine:calculatedwidth|{{#expr:({{#var:calculatedheight}}/{{#var:yratio}})*{{#var:xratio}}}}}}
+
</div>
 
+
</div>}}</includeonly><noinclude>
 
 
{{#if:{{{width|}}}|{{#vardefine:calculatedwidth|{{{width}}}}}{{#vardefine:calculatedheight|{{#expr:({{#var:calculatedwidth}}/{{#var:xratio}})*{{#var:yratio}}}}}}|}}
 
{{#if:{{{height|}}}|{{#vardefine:calculatedheight|{{{height}}}}}{{#vardefine:calculatedwidth|{{#expr:({{#var:calculatedheight}}/{{#var:yratio}})*{{#var:xratio}}}}}}|}}
 
 
 
{{#vardefine:xscale|{{#expr:{{#var:calculatedwidth}}/{{#var:imagewidth}}}}}}
 
{{#vardefine:yscale|{{#expr:{{#var:calculatedheight}}/{{#var:imageheight}}}}}}
 
 
 
{{#vardefine:hmargin|{{#expr:({{#var:calculatedwidth}}-{{#var:imagewidth}})/2}}}}
 
{{#vardefine:vmargin|{{#expr:({{#var:calculatedheight}}-{{#var:imageheight}})/2}}}}
 
</div><div class="bobscreen" style="margin-bottom: {{#var:vmargin}}px; margin-top: {{#var:vmargin}}px; margin-left: {{#var:hmargin}}px; margin-right: {{#var:hmargin}}px; display:inline-block; text-align:center;"><div style="transform:scale({{#var:xscale}},{{#var:yscale}}); transform-origin:50%;">[[File:{{{1}}}]]</div></div></includeonly><noinclude>
 
  
 
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 50: Line 117:
 
"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.
  
==Height==
+
==Examples==
In addition, this template corrects heights:
+
{|class="prettytable"
[[File:WinterHeat title.png]] -> {{bobscreen|WinterHeat title.png}}
+
! Code || Raw image || Output
 
+
|-
 
+
| <nowiki>{{bobscreen|Gain Ground Title.png|height=320}}</nowiki>
[[File:Clockwork Knight Title.png]] -> {{bobscreen|Clockwork Knight Title.png}}
+
| [[File:Gain Ground Title.png]]
 
+
| {{bobscreen|Gain Ground Title.png|height=320}}
 
+
|-
[[File:NiGHTS title.png]] -> {{bobscreen|NiGHTS title.png}}
+
| <nowiki>{{bobscreen|Virtua Fighter Title.png}}</nowiki>
 
+
| [[File:Virtua Fighter Title.png]]
 
+
| {{bobscreen|Virtua Fighter Title.png}}
[[File:NiGHTS title.png]] -> {{bobscreen|NiGHTS title.png|width=320}}
+
|-
 
+
| <nowiki>{{bobscreen|AlteredBeast PS2 title.png}}</nowiki>
==Anamorphic widescreen==
+
| [[File:AlteredBeast PS2 title.png]]
widescreen [[File:VirtuaFighter 32X Widescreen2.png]] -> {{bobscreen|VirtuaFighter 32X Widescreen2.png|forcewidescreen=yes}}
+
| {{bobscreen|AlteredBeast PS2 title.png}}
 
+
|-
 
+
| <nowiki>{{bobscreen|BladeEagle title.png}}</nowiki>
widescreen [[File:VirtuaFighter 32X Widescreen2 PAL.png]] -> {{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes}}
+
| [[File:BladeEagle title.png]]
 
+
| {{bobscreen|BladeEagle title.png}}
 
+
|-
widescreen w200 [[File:VirtuaFighter 32X Widescreen2 PAL.png]] -> {{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes|width=200}}
+
| <nowiki>{{bobscreen|OutRun3D title.png}}</nowiki>
 
+
| [[File:OutRun3D title.png]]
 
+
| {{bobscreen|OutRun3D title.png}}
widescreen h200 [[File:VirtuaFighter 32X Widescreen2 PAL.png]] -> {{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes|height=200}}
+
|-
 
+
| <nowiki>{{bobscreen|Scd titlescreen.png}}</nowiki>
==Vertical monitors==
+
| [[File:Scd titlescreen.png]]
 
+
| {{bobscreen|Scd titlescreen.png}}
{{bobscreen|Deep Scan.png}}
+
|-
 
+
| <nowiki>{{bobscreen|WinterHeat title.png}}</nowiki>
{{bobscreen|Deep Scan.png|height=320}}
+
| [[File:WinterHeat title.png]]
 
+
| {{bobscreen|WinterHeat title.png}}
{{bobscreen|Deep Scan.png|width=200}}
+
|-
 
+
| <nowiki>{{bobscreen|Clockwork Knight Title.png}}</nowiki>
==Master System==
+
| [[File:Clockwork Knight Title.png]]
[[File:Alex Kidd in Miracle World Title.png]] -> {{bobscreen|Alex Kidd in Miracle World Title.png}}
+
| {{bobscreen|Clockwork Knight Title.png}}
 
+
|-
==Widescreen==
+
| <nowiki>{{bobscreen|NiGHTS title.png}}</nowiki>
{{bobscreen|Vanquish title screen.png|width=320}}
+
| [[File:NiGHTS title.png]]
 +
| {{bobscreen|NiGHTS title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|VirtuaFighter 32X Widescreen2.png|forcewidescreen=yes}}</nowiki>
 +
| [[File:VirtuaFighter 32X Widescreen2.png]]
 +
| {{bobscreen|VirtuaFighter 32X Widescreen2.png|forcewidescreen=yes}}
 +
|-
 +
| <nowiki>{{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes}}</nowiki>
 +
| [[File:VirtuaFighter 32X Widescreen2 PAL.png]]
 +
| {{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes}}
 +
|-
 +
| <nowiki>{{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes|width=200}}</nowiki>
 +
| [[File:VirtuaFighter 32X Widescreen2 PAL.png]]
 +
| {{bobscreen|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>
 +
| [[File:Deep Scan.png]]
 +
| {{bobscreen|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>
 +
| [[File:Deep Scan.png]]
 +
| {{bobscreen|Deep Scan.png|width=200}}
 +
|-
 +
| <nowiki>{{bobscreen|Alex Kidd in Miracle World Title.png}}</nowiki>
 +
| [[File:Alex Kidd in Miracle World Title.png]]
 +
| {{bobscreen|Alex Kidd in Miracle World Title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|Outrun2spsdxscreen.png|width=320}}</nowiki>
 +
| [[File:Outrun2spsdxscreen.png|320px]]
 +
| {{bobscreen|Outrun2spsdxscreen.png|width=320}}
 +
|-
 +
| <nowiki>{{bobscreen|OutRun IBMPC CGA Title.png|width=320}}</nowiki>
 +
| [[File:OutRun IBMPC CGA Title.png|320px]]
 +
| {{bobscreen|OutRun IBMPC CGA Title.png|width=320}}
 +
|-
 +
| <nowiki>{{bobscreen|OutRun IBMPC Hercules Title.png|width=320}}</nowiki>
 +
| [[File:OutRun IBMPC Hercules Title.png|320px]]
 +
| {{bobscreen|OutRun IBMPC Hercules Title.png|width=320}}
 +
|-
 +
| <nowiki>{{bobscreen|GoldenAxe IBMPC Hercules Title.png|width=320}}</nowiki>
 +
| [[File:GoldenAxe IBMPC Hercules Title.png|320px]]
 +
| {{bobscreen|GoldenAxe IBMPC Hercules Title.png|width=320}}
 +
|-
 +
| <nowiki>{{bobscreen|SpaceHarrier Amiga title.png|width=320}}</nowiki>
 +
| [[File:SpaceHarrier Amiga title.png|320px]]
 +
| {{bobscreen|SpaceHarrier Amiga title.png|width=320}}
 +
|-
 +
| <nowiki>{{bobscreen|FroggerII A8B Level1.png|width=320}}</nowiki>
 +
| [[File:FroggerII A8B Level1.png|320px]]
 +
| {{bobscreen|FroggerII A8B Level1.png|width=320}}
 +
|-
 +
| <nowiki>{{bobscreen|AfterBurnerII PCE Title.png}}</nowiki>
 +
| [[File:AfterBurnerII PCE Title.png]]
 +
| {{bobscreen|AfterBurnerII PCE Title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|Columns MSX2 Title2.png}}</nowiki>
 +
| [[File:Columns MSX2 Title2.png]]
 +
| {{bobscreen|Columns MSX2 Title2.png}}
 +
|-
 +
| <nowiki>{{bobscreen|BuckRogers VIC20 Title.png}}</nowiki>
 +
| [[File:BuckRogers VIC20 Title.png]]
 +
| {{bobscreen|BuckRogers VIC20 Title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|BuckRogers VIC20 Gameplay.png}}</nowiki>
 +
| [[File:BuckRogers VIC20 Gameplay.png]]
 +
| {{bobscreen|BuckRogers VIC20 Gameplay.png}}
 +
|-
 +
| <nowiki>{{bobscreen|Frogger 2600 Gameplay.png}}</nowiki>
 +
| [[File:Frogger 2600 Gameplay.png]]
 +
| {{bobscreen|Frogger 2600 Gameplay.png}}
 +
|-
 +
| <nowiki>{{bobscreen|SuperZaxxon AppleII Gameplay.png}}</nowiki>
 +
| [[File:SuperZaxxon AppleII Gameplay.png]]
 +
| {{bobscreen|SuperZaxxon AppleII Gameplay.png}}
 +
|-
 +
| <nowiki>{{bobscreen|Carnival 2600 Gameplay.png}}</nowiki>
 +
| [[File:Carnival 2600 Gameplay.png]]
 +
| {{bobscreen|Carnival 2600 Gameplay.png}}
 +
|-
 +
| <nowiki>{{bobscreen|GLOC Amiga Title.png}}</nowiki>
 +
| [[File:GLOC Amiga Title.png]]
 +
| {{bobscreen|GLOC Amiga Title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|HotRod Amiga Title.png}}</nowiki>
 +
| [[File:HotRod Amiga Title.png]]
 +
| {{bobscreen|HotRod Amiga Title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|SpaceHarrier X68 JP SSBoss.png}}</nowiki>
 +
| [[File:SpaceHarrier X68 JP SSBoss.png]]
 +
| {{bobscreen|SpaceHarrier X68 JP SSBoss.png}}
 +
|-
 +
| <nowiki>{{bobscreen|BonanzaBros_X68_JP_SSTitle.png}}</nowiki>
 +
| [[File:BonanzaBros_X68_JP_SSTitle.png]]
 +
| {{bobscreen|BonanzaBros_X68_JP_SSTitle.png}}
 +
|-
 +
| <nowiki>{{bobscreen|AlienSyndrome X68 JP SSIngame.png}}</nowiki>
 +
| [[File:AlienSyndrome X68 JP SSIngame.png]]
 +
| {{bobscreen|AlienSyndrome X68 JP SSIngame.png}}
 +
|-
 +
| <nowiki>{{bobscreen|LastBattle Amiga Title.png}}</nowiki>
 +
| [[File:LastBattle Amiga Title.png]]
 +
| {{bobscreen|LastBattle Amiga Title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|Doom SNES Title.png}}</nowiki>
 +
| [[File:Doom SNES Title.png]]
 +
| {{bobscreen|Doom SNES Title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|Flashback Amiga Title.png}}</nowiki>
 +
| [[File:Flashback Amiga Title.png]]
 +
| {{bobscreen|Flashback Amiga Title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|GhoulsnGhosts Arcade Title.png}}</nowiki>
 +
| [[File:GhoulsnGhosts Arcade Title.png]]
 +
| {{bobscreen|GhoulsnGhosts Arcade Title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|DarkCastle Amiga Title.png}}</nowiki>
 +
| [[File:DarkCastle Amiga Title.png]]
 +
| {{bobscreen|DarkCastle Amiga Title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|Lemmings IBMPC EGA Title.png}}</nowiki>
 +
| [[File:Lemmings IBMPC EGA Title.png]]
 +
| {{bobscreen|Lemmings IBMPC EGA Title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|MortalKombat Arcade Title.png}}</nowiki>
 +
| [[File:MortalKombat Arcade Title.png]]
 +
| {{bobscreen|MortalKombat Arcade Title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|BurningRival title.png}}</nowiki>
 +
| [[File:BurningRival title.png]]
 +
| {{bobscreen|BurningRival title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|VirtuaRacing Model1 US WDUD Widescreen.png|forcewidescreen=yes|height=240}}</nowiki>
 +
| [[File:VirtuaRacing Model1 US WDUD Widescreen.png]]
 +
| {{bobscreen|VirtuaRacing Model1 US WDUD Widescreen.png|forcewidescreen=yes|height=240}}
 +
|-
 +
| <nowiki>{{bobscreen|LostVikings Amiga Title.png}}</nowiki>
 +
| [[File:LostVikings Amiga Title.png]]
 +
| {{bobscreen|LostVikings Amiga Title.png}}
 +
|-
 +
| <nowiki>{{bobscreen|Ikaruga title1.png|link=Ikaruga}}</nowiki>
 +
| [[File:Ikaruga title1.png]]
 +
| {{bobscreen|Ikaruga title1.png|link=Ikaruga}}
 +
|-
 +
| <nowiki>{{bobscreen|ComixZone PC Cheat.png|noresize=yes}}</nowiki>
 +
| [[File:ComixZone PC Cheat.png]]
 +
| {{bobscreen|ComixZone PC Cheat.png|noresize=yes}}
 +
|-
 +
| <nowiki>{{bobscreen|ComixZone PC Cheat.png|noresize=yes|width=200}}</nowiki>
 +
| [[File:ComixZone PC Cheat.png]]
 +
| {{bobscreen|ComixZone PC Cheat.png|noresize=yes|width=200}}
 +
|-
 +
| <nowiki>{{bobscreen|ComixZone PC Cheat.png|noresize=yes|height=200}}</nowiki>
 +
| [[File:ComixZone PC Cheat.png]]
 +
| {{bobscreen|ComixZone PC Cheat.png|noresize=yes|height=200}}
 +
|-
 +
| <nowiki>{{bobscreen|SegaRally Saturn EU Title.png}}</nowiki>
 +
| [[File:SegaRally Saturn EU Title.png]]
 +
| {{bobscreen|SegaRally Saturn EU Title.png}}
 +
|}
  
 
[[Category:Breakout box templates]]
 
[[Category:Breakout box templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:00, 21 September 2021


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

{{bobscreen|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|Gain Ground Title.png|height=320}} Gain Ground Title.png

Gain Ground 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|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes|height=240}} VirtuaFighter 32X Widescreen2 PAL.png

VirtuaFighter 32X Widescreen2 PAL.png

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

Deep Scan.png

{{bobscreen|Deep Scan.png|height=320}} 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|Lemmings IBMPC EGA Title.png}} Lemmings IBMPC EGA Title.png

Lemmings IBMPC EGA Title.png

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

MortalKombat Arcade Title.png

{{bobscreen|BurningRival title.png}} BurningRival title.png

BurningRival title.png

{{bobscreen|VirtuaRacing Model1 US WDUD Widescreen.png|forcewidescreen=yes|height=240}} VirtuaRacing Model1 US WDUD Widescreen.png

VirtuaRacing Model1 US WDUD Widescreen.png

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

LostVikings Amiga Title.png

{{bobscreen|Ikaruga title1.png|link=Ikaruga}} Ikaruga title1.png

Ikaruga title1.png

{{bobscreen|ComixZone PC Cheat.png|noresize=yes}} ComixZone PC Cheat.png ComixZone PC Cheat.png
{{bobscreen|ComixZone PC Cheat.png|noresize=yes|width=200}} ComixZone PC Cheat.png ComixZone PC Cheat.png
{{bobscreen|ComixZone PC Cheat.png|noresize=yes|height=200}} ComixZone PC Cheat.png ComixZone PC Cheat.png
{{bobscreen|SegaRally Saturn EU Title.png}} SegaRally Saturn EU Title.png

SegaRally Saturn EU Title.png