Difference between revisions of "Bobscreen"
From Sega Retro
Line 21: | Line 21: | ||
| 496 × 384 = (372/384) <!--Model 1/2 (e.g. Virtua Fighter)--> | | 496 × 384 = (372/384) <!--Model 1/2 (e.g. Virtua Fighter)--> | ||
| 320 × 200 = (240/200) <!--IBM PC--> | | 320 × 200 = (240/200) <!--IBM PC--> | ||
− | | 640 × 300 = (320/200) <!--IBM PC--> | + | | 640 × 300 = (320/200) <!--IBM PC (Hercules)--> |
+ | | 720 × 348 = (720/464) <!--IBM PC (Hercules)--> | ||
| {{#ifeq:{{{forcewidescreen}}}|yes|0.8|1}} | | {{#ifeq:{{{forcewidescreen}}}|yes|0.8|1}} | ||
}}}}}}{{#vardefine:is3d|{{#switch:{{#mediadimensions:{{{1}}}}} | }}}}}}{{#vardefine:is3d|{{#switch:{{#mediadimensions:{{{1}}}}} | ||
Line 135: | Line 136: | ||
| [[File:OutRun IBMPC Hercules Title.png|320px]] | | [[File:OutRun IBMPC Hercules Title.png|320px]] | ||
| {{bobscreen|OutRun IBMPC Hercules Title.png|width=320}} | | {{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}} | ||
|} | |} | ||
[[Category:Breakout box templates]] | [[Category:Breakout box templates]] | ||
</noinclude> | </noinclude> |
Revision as of 07:18, 5 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
This is how the game appears on an actual Sega Game Gear. The original image taken from an emulator is below:
Options
{{bobscreen|MagicalPuzzlePopils title.png|width=120}}
returns
"width" also takes into account the adjusted aspect ratio, so the image appears 120 pixels wide even if the source image is not.