Difference between revisions of "Bobscreen"
From Sega Retro
Line 93: | Line 93: | ||
left:-{{#expr:{{#var:bsl}}*{{#var:scale}}}}px | left:-{{#expr:{{#var:bsl}}*{{#var:scale}}}}px | ||
"> | "> | ||
− | [[File:{{{1|}}}|{{#expr:trunc({{#var:thumbw}}*{{#var:scale}})}}px]] | + | [[File:{{{1|}}}|{{#expr:trunc({{#var:thumbw}}*{{#var:scale}})}}px|link={{{link|File:{{{1|}}}}}}]] |
</div> | </div> | ||
</div> | </div> | ||
Line 300: | Line 300: | ||
| {{bobscreen|LostVikings Amiga Title.png}} | | {{bobscreen|LostVikings Amiga Title.png}} | ||
|- | |- | ||
− | | <nowiki>{{bobscreen|Ikaruga title1.png}}</nowiki> | + | | <nowiki>{{bobscreen|Ikaruga title1.png|link=Ikaruga}}</nowiki> |
| [[File:Ikaruga title1.png]] | | [[File:Ikaruga title1.png]] | ||
− | | {{bobscreen|Ikaruga title1.png}} | + | | {{bobscreen|Ikaruga title1.png|link=Ikaruga}} |
|} | |} | ||
[[Category:Breakout box templates]] | [[Category:Breakout box templates]] | ||
</noinclude> | </noinclude> |
Revision as of 14:01, 14 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
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.