Template:Quote: Difference between revisions
Appearance
Created page with "<blockquote class="templatequote"><div class="Bug6200">{{{text|{{{quote|{{{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|{{{cite|{{{2|<noinclude>TRUE</noinclude>}}}}}}}}} |<div class="templatequotecite">—{{{sign|{{{cite|{{{2|<noinclude>Someone</noinclude>}}}}}}}}}{{#if:{{{source|{..." |
|||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<blockquote | <blockquote style="background-color: #f5f5f5; border-left: 5px solid #ccc; padding: 10px 20px; margin: 1em 0;"> | ||
{{{1}}} | |||
{{#if:{{{2|}}}|<br />— {{{2}}}{{#if:{{{3|}}}|, {{{3}}}}} }} | |||
</blockquote> | |||
{{ | <noinclude> | ||
== Usage == | |||
This template will add a blockquote with a gray background and, optionally, an author and source. | |||
{{Quote|This is a test quote.|John Smith}} | |||
{{Quote|Another quote here.|Jane Doe|Her Famous Book}} | |||
{{Quote|Simple quote with no source.|Alice}} | |||
{{Quote|Quote with no attribution.}} | |||
[[Category:Templates]] | |||
Latest revision as of 22:03, 24 October 2025
{{{1}}}
Usage
This template will add 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.