Difference between revisions of "Blockquote"

m (Corrected spacing)
m (Fixed spacing)
Line 1: Line 1:
<onlyinclude><blockquote style="overflow:hidden;margin:1em 0;padding:0 40px;">{{{text|<includeonly>{{error|Error: No text given for quotation}}</includeonly>}}}{{#if:{{{source|}}}|<div style="line-height=1.5em;text-align:left;padding-left:1.6em;margin-top:0;">—&thinsp;<cite>{{{source|}}}</cite></div>}}</blockquote></onlyinclude>
+
<includeonly><blockquote style="overflow:hidden;margin:1em 0;padding:0 40px;">{{{text|{{{1|<onlyinclude>{{error|Error: No text given for quotation}}</onlyinclude>}}}}}}{{#if:{{{source|}}}|<div style="line-height=1.5em;text-align:left;padding-left:1.6em;margin-top:0;">—&thinsp;<cite>{{{source|}}}</cite></div>}}</blockquote></includeonly><noinclude>
 
== Description ==
 
== Description ==
 
This template displays large text passages as indented quotations.
 
This template displays large text passages as indented quotations.
Line 6: Line 6:
 
{{bullet}} '''text''': The quoted text.
 
{{bullet}} '''text''': The quoted text.
  
{{bullet}} '''source''': The quotation source.
+
{{bullet}} '''source''': Optional. The quotation source.
  
 
== Usage ==
 
== Usage ==
 
<pre>{{blockquote|text=This is a quotation}}
 
<pre>{{blockquote|text=This is a quotation}}
{{blockquote|text=This is a quotation|source=Source}}</pre>
+
{{blockquote|text=This is a quotation|source=Source}}</pre><noinclude>

Revision as of 15:46, 16 January 2022

Description

This template displays large text passages as indented quotations.

Parameters

text: The quoted text.

source: Optional. The quotation source.

Usage

{{blockquote|text=This is a quotation}}
{{blockquote|text=This is a quotation|source=Source}}