Difference between revisions of "Blockquote"

m (Fixed spacing)
("Fixed" error with onlyinclude - tried to fix but the template isn't co-operating so I am using a workaround)
Line 1: Line 1:
<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>
+
<includeonly><blockquote style="overflow:hidden;margin:1em 0;padding:0 40px;">{{{text|{{{1|{{error|Error: No text given for quotation.}}}}}}}}{{#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.

Revision as of 17:26, 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}}