Template:Double image: Difference between revisions

From The Jedi Academy Archives
Jump to navigation Jump to search
Created page with "=== Usage === This template creates a box with two images side by side. It needs parameters like this: :<code><nowiki>{{double image|left/right/center|Left image|Left image size..."
 
Blanked the page
 
Line 1: Line 1:
=== Usage ===
This template creates a box with two images side by side. It needs parameters like this:


:<code><nowiki>{{double image|left/right/center|Left image|Left image size|Right image|Right image size|Left caption|Right caption|Left alt text|Right alt text}}</nowiki></code>
or
<pre>
{{double image
|1=left/right/center
|2=Left image
|3=Left image size
|4=Right image
|5=Right image size
|6=Left caption
|7=Right caption (leave blank to combine)
|8=Left image alt text
|9=Right image alt text}}
</pre>
See [[WP:ALT]] for advice about [[alt text]].
=== Examples ===
{{double image|right|Yellow card.svg|60|Red card.svg|60|Players are cautioned with a yellow card, and sent off with a red card, which is sometimes round.||Yellow cartouche|Red cartouche}}
To the right, with one single caption:
:<code><nowiki>{{double image|right|Yellow card.svg|60|Red card.svg|60|Players are cautioned ... round.||Yellow cartouche|Red cartouche}}</nowiki></code>
<br clear=all>
{{double image|left|Yellow card.svg|60|Red card.svg|60|Yellow|Red|Yellow cartouche|Red cartouche}}
To the left. With two captions, one beneath each image:
:<code><nowiki>{{double image|left|Yellow card.svg|60|Red card.svg|60|Yellow|Red|Yellow cartouche|Red cartouche}}</nowiki></code>
{{-}}

Latest revision as of 13:12, 11 September 2011