Template:Image: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 57: | Line 57: | ||
|Beth Brower-2.jpg | |Beth Brower-2.jpg | ||
|This is a caption. | |This is a caption. | ||
|width=150px | |||
}} | }} | ||
</pre> | </pre> | ||
| style="background-color: white;" | {{Image|Beth Brower-2.jpg|This is a caption.}} | | style="background-color: white;" | {{Image|Beth Brower-2.jpg|This is a caption.|width=150px}} | ||
|- | |- | ||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Alignment</span><br><div style="text-align: left;"><span style="font-weight: normal;">In order to have an Image align to either margin, pass <code>align=</code>, with the input of either <code>left</code> or <code>right</code>. The default alignment is center. '''If you wish to have text wrap around the image thumbnail, you MUST pass <code>align=</code>, otherwise the image will be centered as a block element. (i.e., Text will not wrap around it.)'''</div> | ! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Alignment</span><br><div style="text-align: left;"><span style="font-weight: normal;">In order to have an Image align to either margin, pass <code>align=</code>, with the input of either <code>left</code> or <code>right</code>. The default alignment is center. '''If you wish to have text wrap around the image thumbnail, you MUST pass <code>align=</code>, otherwise the image will be centered as a block element. (i.e., Text will not wrap around it.)'''</div> | ||