Difference between revisions of "ScreenThumb2"

From Sega Retro

(removed (probably) unnecessary elements)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly><div class="thumb {{#switch: {{{align}}} | left = tleft | right = tright | #default = tright}}" style="display: grid; gap: 0.25em; grid-template-rows: auto auto; grid-template-columns: auto auto; width: min-content;">
 
<includeonly><div class="thumb {{#switch: {{{align}}} | left = tleft | right = tright | #default = tright}}" style="display: grid; gap: 0.25em; grid-template-rows: auto auto; grid-template-columns: auto auto; width: min-content;">
{{Bobscreen | {{{1|}}} | width={{{width|}}} | height={{{height|}}} | forcewidescreen={{{forcewidescreen|}}}}}
+
{{Bobscreen | {{trim|{{{1|}}} }} | width={{{width|}}} | height={{{height|}}} | forcewidescreen={{{forcewidescreen|}}}|link={{{link|File:{{{1|}}}}}}}}
{{Bobscreen | {{{2|}}} | width={{{width|}}} | height={{{height|}}} | forcewidescreen={{{forcewidescreen|}}}}}
+
{{Bobscreen | {{trim|{{{2|}}} }} | width={{{width|}}} | height={{{height|}}} | forcewidescreen={{{forcewidescreen|}}}|link={{{link2|File:{{{2|}}}}}}}}
 
<div class="thumbcaption" style="grid-column: span 2;">{{{3|}}}</div></div></includeonly><noinclude>
 
<div class="thumbcaption" style="grid-column: span 2;">{{{3|}}}</div></div></includeonly><noinclude>
{{ScreenThumb2 | Shining Force CD, Battle Map.png | Shining Force CD, Battle Scene.png | width=200 | Battle map and scene}}
+
{{ScreenThumb2 | width=200
 +
| Shining Force CD, Battle Map.png
 +
| Shining Force CD, Battle Scene.png
 +
| Battle map and scene
 +
| link=Shining Force CD}}
  
 
Formats two thumbnails side by side with a caption.
 
Formats two thumbnails side by side with a caption.
Line 11: Line 15:
 
==Usage==
 
==Usage==
  
<pre>{{ScreenThumb2 | Shining Force CD, Battle Map.png | Shining Force CD, Battle Scene.png | width=200 | Battle map and scene}}</pre>
+
<pre>{{ScreenThumb2 | width=200
 +
| Shining Force CD, Battle Map.png
 +
| Shining Force CD, Battle Scene.png
 +
| Battle map and scene}}</pre>
  
 
The positional arguments are the images and the caption.
 
The positional arguments are the images and the caption.
Line 22: Line 29:
 
| height=
 
| height=
 
| forcewidescreen=
 
| forcewidescreen=
 +
| link=
 +
| link2=
 
</pre>
 
</pre>
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 22:54, 14 June 2024

Shining Force CD, Battle Map.png

Shining Force CD, Battle Scene.png

Battle map and scene

Formats two thumbnails side by side with a caption.

Uses Bobscreen thumbnails, so the aspect ratio is corrected.

Usage

{{ScreenThumb2 | width=200
| Shining Force CD, Battle Map.png
| Shining Force CD, Battle Scene.png
| Battle map and scene}}

The positional arguments are the images and the caption.

The optional named arguments are:

| align=
| width=
| height=
| forcewidescreen=
| link=
| link2=