Difference between revisions of "Template:Vquote"
m (1 revision) |
|
(No difference)
|
Latest revision as of 05:07, 23 March 2014
“ | 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. | ” |
Usage
{{Vquote}} is a variant of the {{Rquote}} and {{Cquote}} quotation templates. Where Cquote passages are set to use 100% 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
{{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
45% aligned right →
Code
{{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
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. |
” |
350px aligned left ←
Code
{{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
“ |
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. |
” |
See also
- Template:Bq—quote without border, page-wide; like (and compatible with parameters of) the older {{Quote}} but with more features; conversion from all others listed here is trivially easy (retaining key data, losing decoration, etc.)
- Template:Centered pull quote—pull quote between large quotation marks, page-wide; should rarely be used in articles and is not for block quotations, only pull quotes
- Template:Quote—quote without border, page-wide, smaller-sized attribution
- Template:Quotation—quote with border, page-wide
- Template:Quote box—quote with border, in a reduced floating box
- Template:Rquote—pull quote between large quotation marks, in a reduced floating area; also rarely appropriate in articles
- Template:Talkquote—for quoting other editors (or guidelines, etc.) on talk pages (in a block)
- Template:Tq—for quoting on talk pages, inline
- Category:Quotation templates
The above documentation is transcluded from Template:Vquote/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |