Difference between revisions of "ScreenThumb"

From Sega Retro

(there's probably a more elegant way)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
| align={{{align|}}}{{{float|}}}
 
| 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 16: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=