Template:QuoteHUP/s/doc

This template defines the two unique styles of quotes used in File:History of the University of Pennsylvania - Montgomery (1900).djvu. There are standard block quotes (the default setting for the template) which have left and right margins equal to zero, 92% font size, and a line height of 1.2em.

The reason for this template is so that Wikisource places paragraph tags in the correct place. Block quotes get their own paragraph tags and inline quotes do not.

Usage
The default is a block quote. The optional first parameter, when set to q, changes the block quote to an inline quote (the q tag in HTML). However, this book has long inline quotes on new lines, but within the same paragraph so this template does exactly that. The second optional parameter, s, for the first template is for when the first parameter is set to q, allowing the inline quote to start a new paragraph, rather than be embedded in the middle of it. There is a second optional parameter for the closing template that, when set to c, will let the paragraph continue after a line break. This is for the paragraphs that have long quote inside of them.
 * Start: QuoteHUP/s
 * End: QuoteHUP/e

Note regarding block quotes
Such as with references, any paragraph after the first in a block quote must have the  and   (paragraph tags) before and after the paragraph, respectively. This is a requirement in the HTML specification.

Standard block quote
Code:

 This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

This is a regular block quote.

This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

Produces:

This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

This is a regular block quote.

This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

Long quote, starting a paragraph
Code:

 This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

This is a long quote that starts a new paragraph. This is a long quote that starts a new paragraph. This is a long quote that starts a new paragraph. This is a long quote that starts a new paragraph. This is a long quote that starts a new paragraph. This is a long quote that starts a new paragraph. This is a long quote that starts a new paragraph. This is a long quote that starts a new paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph.

This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

Produces:

This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

This is a long quote that starts a new paragraph. This is a long quote that starts a new paragraph. This is a long quote that starts a new paragraph. This is a long quote that starts a new paragraph. This is a long quote that starts a new paragraph. This is a long quote that starts a new paragraph. This is a long quote that starts a new paragraph. This is a long quote that starts a new paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph.

This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

Long quote, ending a paragraph
Code:

 This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

This is text leading into a long quote. This is text leading into a long quote. This is text leading into a long quote. This is text leading into a long quote. This is text leading into a long quote. This is text, but this is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote.

This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

Produces:

This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

This is text leading into a long quote. This is text leading into a long quote. This is text leading into a long quote. This is text leading into a long quote. This is text leading into a long quote. This is text, but this is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote.

This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

Long quote, in the middle of a paragraph
Code:

 This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

This is paragraph text leading into a long quote that will continue after the quote. This is paragraph text leading into a long quote that will continue after the quote. This is paragraph text leading into a long quote that will continue after the quote. This is paragraph text leading into a long quote that will continue after the quote. This is paragraph text, but this is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph.

This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

Produces:

This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

This is paragraph text leading into a long quote that will continue after the quote. This is paragraph text leading into a long quote that will continue after the quote. This is paragraph text leading into a long quote that will continue after the quote. This is paragraph text leading into a long quote that will continue after the quote. This is paragraph text, but this is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph. This is a continuation of the paragraph.

This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text. This is plain text.

Centered text
Code:

Here lies interred the Body of

He distinguished himself in Life by many exemplary Virtues and many valuable Qualifications. He was very deeply learned in Astronomy and the Mathematics whereby he rendered himself a most useful Member of Society He served as Professor of those noble sciences in the College of this City. He discharged the trust with honor and integrity.

Produces:

Here lies interred the Body of

He distinguished himself in Life by many exemplary Virtues and many valuable Qualifications. He was very deeply learned in Astronomy and the Mathematics whereby he rendered himself a most useful Member of Society He served as Professor of those noble sciences in the College of this City. He discharged the trust with honor and integrity.

Block-centered text
Code:

Once more I seek the cypress shade,

To weave a garland for the dead,

Alone, dejected, wan!

Shall Willing quit this mortal strife,

And not a verse show him, in life

And death—?

Produces:

Once more I seek the cypress shade,

To weave a garland for the dead,

Alone, dejected, wan!

Shall Willing quit this mortal strife,

And not a verse show him, in life

And death—?