Actions

Template

Difference between revisions of "Bobscreen"

From Sega Retro

Line 12: Line 12:
 
| 248 × 224 = (320/248) <!-- PC Engine -->
 
| 248 × 224 = (320/248) <!-- PC Engine -->
 
| 256 × 212 = (283/256) <!-- MSX2 -->
 
| 256 × 212 = (283/256) <!-- MSX2 -->
 +
| 320 × 256 = (341/320) <!-- Amiga -->
 
| 1
 
| 1
 
}}}}}}{{#vardefine:vscale|{{#expr:{{#switch:{{#mediadimensions:{{{1}}}}}
 
}}}}}}{{#vardefine:vscale|{{#expr:{{#switch:{{#mediadimensions:{{{1}}}}}
Line 186: Line 187:
 
| [[File:Carnival 2600 Gameplay.png]]
 
| [[File:Carnival 2600 Gameplay.png]]
 
| {{bobscreen|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}}
 
|}
 
|}
  
 
[[Category:Breakout box templates]]
 
[[Category:Breakout box templates]]
 
</noinclude>
 
</noinclude>

Revision as of 09:52, 24 December 2018


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