Template:Compare/doc: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
{{compare|cricket.jpg|file2.jpg|cap|cap2|best=file3.jpg|bestcap=cap3}} | {{compare|cricket.jpg|file2.jpg|cap|cap2|best=file3.jpg|bestcap=cap3}} | ||
Normally, this template floats right, but you can put it on the left side of the page if you want by adding <code>float=left</code> to the mix. | |||
{{compare|float=left|Old Jamie.jpg|Jamie and the Doctor.jpg|'''Lots of problems here''': Biggest thing is that the image is in colour and the comic was originally monochromatic. But also, double frames|Monochromatic}} |
Revision as of 18:47, 24 March 2012
{{compare}} is a "quick 'n' dirty" template for comparing multiple images. It's mainly intended for admin use in order to offer a side-by-side comparison of up to three images at 130px, so that the user can see the difference between pictures at typical thumbnail width.
Usage
Type
{{compare|file.jpg|file2.jpg|cap|cap2}}
- to produce:
Bad | Better |
---|---|
File:File.jpg | File:File2.jpg |
cap | cap2 |
If you want to add a third image, you'll need to add :<code>best=file3.jpg|bestcap=cap3
- such that you get:
Bad | Better | Best |
---|---|---|
File:Cricket.jpg | File:File2.jpg | File:File3.jpg |
cap | cap2 | cap3 |
Normally, this template floats right, but you can put it on the left side of the page if you want by adding float=left
to the mix.
Bad | Better |
---|---|
Lots of problems here: Biggest thing is that the image is in colour and the comic was originally monochromatic. But also, double frames | Monochromatic |