|
|
Line 1: |
Line 1: |
− | {|width="{{{width}}}" align="{{{align}}}" cellspacing="4" cellpadding="4" style="font-size: 90%; padding: 4px; margin: 1em; background-color: #f9f9f9;"
| + | <blockquote class="templatequote"><div>{{{text|{{{1|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}} |
− | |- | + | </div>{{#if:{{{sign|{{{2|<noinclude>TRUE</noinclude>}}}}}}|<div class="templatequotecite">—{{{sign|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}}|, <cite>{{{source|{{{3|<noinclude>''Source''</noinclude>}}}}}}</cite>}}</div >}}</blockquote> |
− | |align="center"|''{{{quote}}}''<br>—{{{source}}}
| + | |
− | |-}<noinclude>
| + | |
− | ----
| + | |
− | == Instructions ==
| + | |
− | The '''Quote''' template allows you to easily insert a quote (and its source).
| + | |
− | | + | |
− | As a stylistic device, the quoted text is ''italicized'' in the box by default, so you don't need to put quote marks (" ") around the quoted text; the italics do the work of quote marks in this context. (Should you want to defeat any part of the default italics in the quote, put two apostrophes on each side of the quoted text you do not want italicized, <nowiki>''like this''</nowiki>.)
| + | |
− | | + | |
− | You can pick how wide you want the box (as px or a percentage), and how to align it (center, right, left). The parameters are:
| + | |
− | | + | |
− | <pre> | + | |
− | {{Quote| | + | |
− | width=
| + | |
− | |align= | + | |
− | |quote=
| + | |
− | |source=
| + | |
− | |}}
| + | |
− | </pre> | + | |
− | | + | |
− | For example, entering the following:
| + | |
− | | + | |
− | <pre> | + | |
− | {{Quote| | + | |
− | width=45%
| + | |
− | |align=right | + | |
− | |quote=Cry "Havoc," and let slip the dogs of war.
| + | |
− | |source=[[William Shakespeare]], ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.
| + | |
− | |}}
| + | |
− | </pre> | + | |
− | | + | |
− | | + | |
− | Produces this:
| + | |
− | | + | |
− | {{Quote| | + | |
− | width=45%
| + | |
− | |align=right | + | |
− | |quote=Cry "Havoc," and let slip the dogs of war. | + | |
− | |source=[[w:William Shakespeare|William Shakespeare]], ''[[w:Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.
| + | |
− | |}}
| + | |
− | | + | |
− | </noinclude> | + | |
Revision as of 18:05, 17 August 2010
Lorem ipsum dolor sit amet, consectetur adipiscing 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.