Template:Quote: Difference between revisions
Appearance
No edit summary |
|||
| Line 1: | Line 1: | ||
<includeonly> | |||
<blockquote style="background-color: #f5f5f5; border-left: 5px solid #ccc; padding: 10px 20px; margin: 1em 0;"> | <blockquote style="background-color: #f5f5f5; border-left: 5px solid #ccc; padding: 10px 20px; margin: 1em 0;"> | ||
{{{1}}} | {{{1|}}} | ||
{{#if:{{{2|}}}|<br />— {{{2}}}{{#if:{{{3|}}}|, {{{3}}}}} }} | {{#if:{{{2|}}}|<br />— {{{2}}}{{#if:{{{3|}}}|, {{{3}}}}} }} | ||
</blockquote> | </blockquote> | ||
</includeonly><noinclude> | |||
== Usage == | == Usage == | ||
This template | This template adds a blockquote with a gray background and, optionally, an author and source. | ||
{{Quote|This is a test quote.|John Smith}} | {{Quote|This is a test quote.|John Smith}} | ||
| Line 12: | Line 13: | ||
{{Quote|Simple quote with no source.|Alice}} | {{Quote|Simple quote with no source.|Alice}} | ||
{{Quote|Quote with no attribution.}} | {{Quote|Quote with no attribution.}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | |||
Latest revision as of 19:56, 20 February 2026
Usage
This template adds a blockquote with a gray background and, optionally, an author and source.
This is a test quote.
— John Smith
Another quote here.
— Jane Doe, Her Famous Book
Simple quote with no source.
— Alice
Quote with no attribution.