Template:Vquote

From Wikibooks, open books for an open world
Jump to: navigation, search
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

—Source, Citation

Template documentation[edit] [history] [purge]

Usage[edit]

{{Vquote}} is a variant of the {{Rquote}} and {{Cquote}} quotation templates. Where Cquote passages are set to use 100% of of a page's width, and Rquote to 33%, Vquote allows the individual editor to set the percentage of the page width the quotation will occupy, similar to {{Quote_box}}. Rquote is intended for passages of 50 words or less, and Cquote for longer pull quotes. Vquote is intended to provide a middle ground between the two.

With the freedom to size the quotation, the editor takes responsibility for the aesthetics of the contribution. For instance, rather than setting Vquote at 50% or above, a page would probably be more readable using Cquote.

For long quotations in the text, the Manual of Style recommends using the HTML <blockquote> element or the {{quote}} template (which produces the blockquote tag).

Parameters[edit]

{{Vquote|alignment|width= |quote text|source|citation}}
alignment 
left or right.
width 
The width of the box, either a relative percentage of the screen such as 45%, or the user can set an absolute width such as 300px. If undefined, the template will assume 100%.
quote text 
Text to be quoted, without quotation marks around it.
Note: If the quote text contains one or more "=" (equal signs), then the quote text must resemble {{Vquote|1=quote text}} (see "Equals sign in parameter value")
source 
Individual or other party responsible for the quotation.
citation 
Information on where the quotation was published.

Examples[edit]

45% aligned right →[edit]

Code[edit]

{{Vquote|right|width=45%|
Yet there are moments when the walls of the mind grow thin; when nothing is unabsorbed, and I could
fancy that we might blow so vast a bubble that the sun might set and rise in it and we might take
the blue of midday and the black of midnight and be cast off and escape from here and now.|
[[Virginia Woolf]]|[[The Waves]]}}

Result[edit]

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Yet there are moments when the walls of the mind grow thin; when nothing is unabsorbed, and I could fancy that we might blow so vast a bubble that the sun might set and rise in it and we might take the blue of midday and the black of midnight and be cast off and escape from here and now.

— Virginia Woolf, The Waves

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


350px aligned left ←[edit]

Code[edit]

{{Vquote|left|width=350px|
You see things vacationing on a motorcycle in a way that is completely different from any other.
In a car you're always in a compartment, and because you're used to it you don't realize that through
that car window everything you see is just more TV. You're a passive observer and it is all moving by
you boringly in a frame.|
Robert M. Pirsig|Zen and the Art of Motorcycle Maintenance}}

Result[edit]

You see things vacationing on a motorcycle in a way that is completely different from any other. In a car you're always in a compartment, and because you're used to it you don't realize that through that car window everything you see is just more TV. You're a passive observer and it is all moving by you boringly in a frame.

— Robert M. Pirsig, Zen and the Art of Motorcycle Maintenance

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.