Difference between revisions of "ScreenThumb"
From Sega Retro
(added align attribute for floating to the left, defaults to right) |
(added trim so that the template can be broken into multiple lines without Bobscreen freaking out) |
||
Line 2: | Line 2: | ||
| align={{{align|}}} | | align={{{align|}}} | ||
| width={{{width|}}} | | width={{{width|}}} | ||
− | |{{Bobscreen|{{{1|}}}|width={{{width|}}}|height={{{height|}}}|forcewidescreen={{{forcewidescreen|}}}}} | + | | {{Bobscreen | {{trim|{{{1|}}} }} | width={{{width|}}} | height={{{height|}}} | forcewidescreen={{{forcewidescreen|}}}}} |
− | |{{{2|}}} | + | | {{{2|}}} |
}}</includeonly><noinclude>{{ScreenThumb|Star Wars GG, Stage 17.png|Right aspect ratio}} | }}</includeonly><noinclude>{{ScreenThumb|Star Wars GG, Stage 17.png|Right aspect ratio}} | ||
[[File:Star Wars GG, Stage 17.png|thumb|right|Wrong aspect ratio]] | [[File:Star Wars GG, Stage 17.png|thumb|right|Wrong aspect ratio]] | ||
Line 14: | Line 14: | ||
Not quite as smart as the standard Mediawiki one for File, so you might need to use other arguments to make sure screenshots don't dominate: | Not quite as smart as the standard Mediawiki one for File, so you might need to use other arguments to make sure screenshots don't dominate: | ||
<pre> | <pre> | ||
+ | | align= | ||
| width= | | width= | ||
| height= | | height= |
Revision as of 17:02, 20 April 2022
Bobscreen thumbnails, so the aspect ratio is corrected.
{{ScreenThumb|Star Wars GG, Stage 17.png|Right aspect ratio}}
Not quite as smart as the standard Mediawiki one for File, so you might need to use other arguments to make sure screenshots don't dominate:
| align= | width= | height= | forcewidescreen=