Template:Cquote: Difference between revisions
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) Shamelessly stolen from https://en.wikipedia.org/wiki/Template:Cquote , minus the deprecated parameters etc. |
Apple Bottom (talk | contribs) No edit summary |
||
| Line 23: | Line 23: | ||
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%; font-size: smaller; text-align: right;" {{!}} <cite>— {{#if:{{{author|}}}|{{{author|}}}{{#if:{{{source|}}}|, {{{source|}}}}}|{{#if:{{{source|}}}|{{{source|}}}}}}}</cite> | {{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%; font-size: smaller; text-align: right;" {{!}} <cite>— {{#if:{{{author|}}}|{{{author|}}}{{#if:{{{source|}}}|, {{{source|}}}}}|{{#if:{{{source|}}}|{{{source|}}}}}}}</cite> | ||
}} | }} | ||
|}<noinclude> | |}<noinclude>[[Category:Templates]] | ||
{{Cquote/Doc}} | {{Cquote/Doc}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 21:29, 14 March 2018
| “ | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | ” |
This template can be used to produce nice-looking quotes in articles. It takes the following parameters:
- quote: text of the quote. (required; parameter name may be left out.)
- author: name of the person that wrote or spoke the text being quoted. (optional)
- source: source of the quote (publication title, speech, etc). (optional)
- bgcolor: the color of the background. (optional)
- qcolor: color of the quotemarks. (optional)
- float: position to put the quote; defaults to center, but can also be right or left. For best effect, should be paired with width=30% or less.
- width: width of the quote.