Difference between revisions of "ScreenThumb"

From Sega Retro

(I wish shared templates was a thing)
Line 1: Line 1:
<includeonly><div class="thumb tright"><div class="thumb inner">{{Bobscreen|{{{1|}}}|width={{{width|}}}|height={{{height|}}}|forcewidescreen={{{forcewidescreen|}}}}}</div><div class="thumbcaption" style="max-width:{{{width|320}}}px">{{{2|}}}</div></div></includeonly><noinclude>{{ScreenThumb|Star Wars GG, Stage 17.png|Right aspect ratio}}
+
<includeonly><div class="thumb tright"><div class="thumb inner">{{Bobscreen|{{{1|}}}|width={{{width|}}}|height={{{height|}}}|forcewidescreen={{{forcewidescreen|}}}}}</div><div class="thumbcaption" style="max-width:{{{width|320}}}px !important;">{{{2|}}}</div></div></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]]
  

Revision as of 17:20, 16 February 2022

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:

| width=
| height=
| forcewidescreen=