Template:Imagequote/doc

Usage

 * 1 = Size of left margin desired
 * 2 = Text of blockquote

Purpose and example
This template creates proper blockquotes when a left-aligned image would otherwise eliminate the left margin of the quoted text. A standard blockquote (or a template such as bquote) next to a left-aligned image, as with this code: Paragraph above "Blockquote text" Paragraph below

Produces this result: Paragraph above Blockquote text Paragraph below

Notice that the blockquote does not have a proper left margin. Notice also that this problem does not exist with right-aligned images. The reason for the vanishing left-side margin are somewhat technical and boring (it has to do with CSS and the defaults of the MediaWiki software). When we use the Imagequote template, however, the proper left margin is added to the left side of the blockquote. Thus, the code: Paragraph above

Paragraph below

Produces: Paragraph above  Blockquote text Paragraph below

Images used with this template should be given a specific width (in the example above, 180 px). The variable should be the width of the image +30 (in the example above, 210 px).