Difference between revisions of "Bobscreen"

From Sega Retro

Line 25: Line 25:
 
| 720 × 348 = (720/464) <!--IBM PC (Hercules)-->
 
| 720 × 348 = (720/464) <!--IBM PC (Hercules)-->
 
| 352 × 200 = (264/200) <!-- Amiga -->
 
| 352 × 200 = (264/200) <!-- Amiga -->
 +
| 336 × 240 = (252/240) <!-- Atari 8-bit -->
 
| {{#ifeq:{{{forcewidescreen}}}|yes|0.8|1}}
 
| {{#ifeq:{{{forcewidescreen}}}|yes|0.8|1}}
 
}}}}}}{{#vardefine:is3d|{{#switch:{{#mediadimensions:{{{1}}}}}
 
}}}}}}{{#vardefine:is3d|{{#switch:{{#mediadimensions:{{{1}}}}}
Line 146: Line 147:
 
| [[File:SpaceHarrier Amiga title.png|320px]]
 
| [[File:SpaceHarrier Amiga title.png|320px]]
 
| {{bobscreen|SpaceHarrier Amiga title.png|width=320}}
 
| {{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}}
 
|}
 
|}
  
 
[[Category:Breakout box templates]]
 
[[Category:Breakout box templates]]
 
</noinclude>
 
</noinclude>

Revision as of 14:08, 6 August 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