Template:Compare/doc: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
to produce the top right image. Alternately, if you have three images you'd like to compare, you can type | to produce the top right image. Alternately, if you have three images you'd like to compare, you can type | ||
: | :<code>best=file3.jpg|bestcap=cap3</code> | ||
{{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| | {{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|Better, because the comic was '''originally''' monochromatic, and [[T:ICC]] requires the use of the original printing. Note how focusing on a single panel makes the image "bigger" as a thumbnail.}} | ||
:which will give you the second image. If, however, you want to make the comparison appear on the '''left''' side of the page, like our third example, you just need to add <code>float=left</code> to the mix. | :which will give you the second image. If, however, you want to make the comparison appear on the '''left''' side of the page, like our third example, you just need to add <code>float=left</code> to the mix. |
Revision as of 19:00, 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
This template displays differently depending on the parameters you choose.
Bad | Better |
---|---|
File:File.jpg | File:File2.jpg |
cap | cap2 |
Bad | Better | Best |
---|---|---|
File:File.jpg | File:File2.jpg | File:File3.jpg |
cap | cap2 | cap3 |
Type
{{compare|file.jpg|file2.jpg|cap|cap2}}
to produce the top right image. Alternately, if you have three images you'd like to compare, you can type
best=file3.jpg|bestcap=cap3
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 | Better, because the comic was originally monochromatic, and T:ICC requires the use of the original printing. Note how focusing on a single panel makes the image "bigger" as a thumbnail. |
- which will give you the second image. If, however, you want to make the comparison appear on the left side of the page, like our third example, you just need to add
float=left
to the mix.