This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date. |
Difference between revisions of "Template:Double image"
From Discovery Wiki
Jump to navigationJump to search (Created page with "<includeonly>{{#switch: {{{1|}}} <!-- first parameter inserts a <div> with a left, right or central float --> | left = <div class="thumb tleft"> | right = <div class="thumb trigh...") |
|||
Line 28: | Line 28: | ||
This template creates a box with two images side by side. It needs parameters like this: | This template creates a box with two images side by side. It needs parameters like this: | ||
− | : | + | :<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> |
or | or | ||
Line 47: | Line 47: | ||
{{double image|right|Nukemine.png|60|Countermeasures.png|60|Players are cautioned with a yellow card, and sent off with a red card, which is sometimes round.||Yellow cartouche|Red cartouche}} | {{double image|right|Nukemine.png|60|Countermeasures.png|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: | To the right, with one single caption: | ||
− | : | + | :<nowiki>{{double image|right|Nukemine.png|60|Countermeasures.png|60|Players are cautioned ... round.||Yellow cartouche|Red cartouche}}</nowiki> |
<br clear=all> | <br clear=all> | ||
{{double image|left|Nukemine.png|60|Countermeasures.png|60|Yellow|Red|Yellow cartouche|Red cartouche}} | {{double image|left|Nukemine.png|60|Countermeasures.png|60|Yellow|Red|Yellow cartouche|Red cartouche}} | ||
To the left. With two captions, one beneath each image: | To the left. With two captions, one beneath each image: | ||
− | : | + | :<nowiki>{{double image|left|Nukemine.png|60|Countermeasures.png|60|Yellow|Red|Yellow cartouche|Red cartouche}}</nowiki> |
− | + | [[Category:Templates]] | |
</noinclude> | </noinclude> |
Latest revision as of 17:06, 12 January 2012
Usage
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}}
Examples
To the right, with one single caption:
- {{double image|right|Nukemine.png|60|Countermeasures.png|60|Players are cautioned ... round.||Yellow cartouche|Red cartouche}}
To the left. With two captions, one beneath each image:
- {{double image|left|Nukemine.png|60|Countermeasures.png|60|Yellow|Red|Yellow cartouche|Red cartouche}}