Actions

Template

Difference between revisions of "Bobscreen"

From NEC Retro

Line 32: Line 32:
 
| 496 × 384 = 320,320,240,0,0,0,0 <!--Model 1/2 (e.g. Virtua Fighter)-->
 
| 496 × 384 = 320,320,240,0,0,0,0 <!--Model 1/2 (e.g. Virtua Fighter)-->
 
| 400 × 254 = 400,320,240,0,0,0,0 <!-- Midway arcade -->
 
| 400 × 254 = 400,320,240,0,0,0,0 <!-- Midway arcade -->
 +
| 288 × 216 = 288,320,240,0,0,0,0 <!--Rabio Lepus-->
 
| 248 × 224 = 248,320,224,0,0,0,0 <!-- PC Engine -->
 
| 248 × 224 = 248,320,224,0,0,0,0 <!-- PC Engine -->
 
| 512 × 239 = 512,320,239,0,0,0,0 <!--SNES-->
 
| 512 × 239 = 512,320,239,0,0,0,0 <!--SNES-->
Line 111: Line 112:
  
 
==Usage==
 
==Usage==
<tt><nowiki>{{bobscreen|MagicalPuzzlePopils title.png}}</nowiki></tt>
+
<tt><nowiki>{{bobscreen|BariBariDensetsu PCE title.png}}</nowiki></tt>
  
 
returns
 
returns
Line 128: Line 129:
 
==Examples==
 
==Examples==
 
{|class="prettytable"
 
{|class="prettytable"
 +
! Code || Raw image || Output
 +
|-
 +
|<nowiki>{{bobscreen|MagneticField PC6001 Title.png}}</nowiki>
 
|[[File:MagneticField PC6001 Title.png]]
 
|[[File:MagneticField PC6001 Title.png]]
 
|{{bobscreen|MagneticField PC6001 Title.png}}
 
|{{bobscreen|MagneticField PC6001 Title.png}}
 +
|-
 +
|<nowiki>{{bobscreen|RabioLepus Arcade Title.png}}</nowiki>
 +
|[[File:RabioLepus Arcade Title.png]]
 +
|{{bobscreen|RabioLepus Arcade Title.png}}
 
|}
 
|}
 
[[Category:Breakout box templates]]
 
[[Category:Breakout box templates]]
 
</noinclude>
 
</noinclude>

Revision as of 10:35, 17 February 2022


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

Usage

{{bobscreen|BariBariDensetsu PCE title.png}}

returns

BariBariDensetsu PCE title.png

This is how the game appears on an actual PC Engine. The original image taken from an emulator is below:

BariBariDensetsu PCE title.png

Options

{{bobscreen|BariBariDensetsu PCE title.png|width=120}}

returns

BariBariDensetsu PCE 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|MagneticField PC6001 Title.png}} MagneticField PC6001 Title.png

MagneticField PC6001 Title.png

{{bobscreen|RabioLepus Arcade Title.png}} RabioLepus Arcade Title.png

RabioLepus Arcade Title.png