Difference between revisions of "ScreenThumb"

From Sega Retro

(added trim so that the template can be broken into multiple lines without Bobscreen freaking out)
(there's probably a more elegant way)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>{{Thumb
 
<includeonly>{{Thumb
| align={{{align|}}}
+
| align={{{align|}}}{{{float|}}}
 
| width={{{width|}}}
 
| width={{{width|}}}
| {{Bobscreen | {{trim|{{{1|}}} }} | width={{{width|}}} | height={{{height|}}} | forcewidescreen={{{forcewidescreen|}}}}}
+
| {{Bobscreen | {{trim|{{{1|}}} }} | width={{{width|}}} | height={{{height|}}} | forcewidescreen={{{forcewidescreen|}}}|link={{{link|File:{{{1|}}}}}}}}
 
| {{{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|link=Star Wars}}
 
[[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 18: Line 18:
 
| height=
 
| height=
 
| forcewidescreen=
 
| forcewidescreen=
 +
| link=
 
</pre>
 
</pre>
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 17:45, 14 June 2024

Star Wars GG, Stage 17.png

Right aspect ratio
Wrong aspect ratio

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=
| link=