Difference between revisions of "BobscreenTest"
From Sega Retro
(added height option) |
(sms-on-gg) |
||
Line 2: | Line 2: | ||
{{let|bsparams={{#switch:{{#var:imagedim}} | {{let|bsparams={{#switch:{{#var:imagedim}} | ||
<!--thumbnail width, display width, display height, crop (top, bottom, left, right)--> | <!--thumbnail width, display width, display height, crop (top, bottom, left, right)--> | ||
− | | 256 × 192 = 256,256,192,0,0,0,0 <!--Master System--> | + | | 256 × 192 = 256,{{#switch:{{{smsgg|}}}|yes=192,144|256,192}},0,0,0,0 <!--Master System--> |
| 248 × 192 = 248,248,192,0,0,0,0 <!--Master System (cropped)--> | | 248 × 192 = 248,248,192,0,0,0,0 <!--Master System (cropped)--> | ||
| 512 × 192 = 512,512,192,0,0,0,256 <!--Master System 3D--> | | 512 × 192 = 512,512,192,0,0,0,256 <!--Master System 3D--> | ||
Line 281: | Line 281: | ||
| [[File:DarkCastle Amiga Title.png]] | | [[File:DarkCastle Amiga Title.png]] | ||
| {{BobscreenTest|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 17:56, 28 May 2021
testing |
---|
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
{{BobscreenTest|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.