Difference between revisions of "Template:Double image/doc"
(Created page with "<noinclude>{{Wikipedia}} </noinclude>{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === This template creates a ...") |
Dinobot1000 (talk | contribs) (→See also: rm redundant sortkey(s)) |
||
Line 40: | Line 40: | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
− | [[Category:Templates | + | [[Category:Templates]] |
</includeonly> | </includeonly> |
Latest revision as of 15:40, 15 February 2015
This template uses Creative Commons licensed content from Wikipedia's Template:Double image/doc template.
The list of authors can be seen in the page history there. See Wikipedia's copyrights page for more information. |
This is a documentation subpage for Template:Double image. It contains usage information, categories and other content that is not part of the original template page. |
Usage[edit]
This template creates a box with two images side by side. It needs parameters like this:
{{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}}
or
{{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 }}
See wikipedia:WP:ALT for advice about alt text.
Examples[edit]
To the right, with one single caption:
{{double image|right|Yellow card.svg|60|Red card.svg|60|Players are cautioned ... round.||Yellow cartouche|Red cartouche}}
To the left. With two captions, one beneath each image:
{{double image|left|Yellow card.svg|60|Red card.svg|60|Yellow|Red|Yellow cartouche|Red cartouche}}
See also[edit]
- {{Multiple image}}
- {{Triple image}}