Jump to content

Template:Quote: Difference between revisions

From Echoes from Elsewhere Wiki
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 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>}}}}}}}}}
<blockquote style="background-color: #f5f5f5; border-left: 5px solid #ccc; padding: 10px 20px; margin: 1em 0;">
|<div class="templatequotecite">&#8212;{{{sign|{{{cite|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}}
{{{1}}}
  |,&nbsp;<cite>{{{source|{{{3|<noinclude>Source</noinclude>}}}}}}</cite>
{{#if:{{{2|}}}|<br />{{{2}}}{{#if:{{{3|}}}|, {{{3}}}}} }}
}}</div>
</blockquote>
}}</blockquote><noinclude>
 
{{documentation}}
<noinclude>
<!-- Add cats and interwikis to the /doc subpage, not here! -->
== Usage ==
</noinclude>
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.