Template:Quote/doc

quote adds a blockquote to an article page, with the addition of an attribute and source.

Usage
This template accepts three parameters in the following order:
 * 1) The text of the quote.
 * 2) Originator of the quote (optional).
 * 3) Source information (optional). This is normally explanatory text about the orginator of the quote.

produces:

"Phrase"

=

produces:

"Phrase"

- Somebody

=

produces:

"Phrase"

- Somebody

Layout
Sometimes you may wish to choose the layout or place the quote in a non-standard place. In this case it's recommended to set both margins and sides to 0 as detailed below.

Margins
margins control the area around the quote and is responsible for centering it. Enter one to four values exactly as you would CSS margin property values. I.e. margins=10px 20px 30px 40px is the same as margins:10px 20px 30px 40px; in CSS.

produces:

"Phrase"

- Somebody

=

Notice that it is no longer centered. The default value is "0 auto".

Sides
sides control how much of a gap is left on each side of the quote. This is used instead of margins as margins are already used to center the quote and also margins do not work next to floating elements. Enter NO MORE THAN ONE value exactly as you would in a CSS width property value. I.e. sides=50px is the same as width:50px; in CSS.

produces:

"Phrase"

- Somebody

"Phrase"

- Somebody

=

Notice the different indents. The default value is
 * "10%" if neither sides nor width nor float is defined
 * "0" if width or float is defined but not sides.

Width
width controls how wide the quote is. Keep in mind this includes the sides!

produces:

"Phrase"

- Somebody

"Phrase"

- Somebody

"Phrase"

- Somebody

=

Note: specifying width will cause sides to default to "0" unless sides has also been specified.

Float
float sets the float of the quote. Not that the text from each line merges into a single paragraph.

Would yield something like

"Phrase"

- Somebody Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text. "Phrase"

- Somebody Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah. =

= Use   to clear the float and force the quote to appear at different vertical positions

Would yield something like

"Phrase"

- Somebody Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text.

"Phrase"

- Somebody Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah. =

= Use =  to clear the float and force the quote to appear at different vertical positions and also force a line in between them.

Would yield something like

"Phrase"

- Somebody Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text. = "Phrase"

- Somebody Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah.

Note: specifying float will cause sides to default to "0" unless sides has also been specified.