Actions

Template

Difference between revisions of "Bobscreen"

From Sonic Retro

(updated to Sega Retro's version of the template)
m
Line 103: Line 103:
 
</div>
 
</div>
 
</div>}}</includeonly><noinclude>
 
</div>}}</includeonly><noinclude>
 +
 +
This template sets the maximum width of a screenshot to 320 pixels, and corrects its aspect ratio.
 
==Usage==
 
==Usage==
 
<tt><nowiki>{{bobscreen|Sonic Chaos title GG.png}}</nowiki></tt>
 
<tt><nowiki>{{bobscreen|Sonic Chaos title GG.png}}</nowiki></tt>

Revision as of 12:46, 5 January 2023


This template sets the maximum width of a screenshot to 320 pixels, and corrects its aspect ratio.

Usage

{{bobscreen|Sonic Chaos title GG.png}}

returns

Sonic Chaos title GG.png

This is how the game appears on an actual Sega Game Gear. The original image taken from an emulator is below:

Sonic Chaos title GG.png

Options

{{bobscreen|Sonic Chaos title GG.png|width=120}}

returns

Sonic Chaos title GG.png

"width" also takes into account the adjusted aspect ratio, so the image appears 120 pixels wide even if the source image is not.

{{bobscreen|Sonic Chaos title GG.png|link=Sonic Chaos}}

returns

Sonic Chaos title GG.png

{{bobscreen|SonicColours Wii EU Title.png|forcewidescreen=yes}}

returns

SonicColours Wii EU Title.png

"forcewidescreen" is useful for screenshots that rely on anamorphic widescreen to display a 4:3 image as a 16:9 image.