Template:Card: Difference between revisions

Jump to navigation Jump to search
note about negative numbers
(adjustments for spacing)
(note about negative numbers)
Line 149: Line 149:
If you need to adjust your image up or down because the head's too low or high, simply add the the number of pixels you want to move the image up after the image name, separated by a "|" character.
If you need to adjust your image up or down because the head's too low or high, simply add the the number of pixels you want to move the image up after the image name, separated by a "|" character.


The template automatically moves the image up by 40 pixels if you don't put anything, so you can change that to 0 by putting |0 for instance. Play with the number and hit preview until you're satisfied.
The template by default moves the image up by 40 pixels, so if you want to move the image down, choose a number less than 40 all the way down to 0 by putting |20 or |0 for instance. (Negative numbers are treated as 0 because a picture at 0 has its top edge aligned with the edge of the card window.)
 
Play with the number and hit preview until you're satisfied.


<pre style="white-space:pre-wrap">
<pre style="white-space:pre-wrap">

Navigation menu