Difference between revisions of "Blockquote"

(Added blockquote for the display of larger quotes)
 
m (Removed parameter from error template)
Line 1: Line 1:
 
<blockquote style="overflow:hidden;margin:1em 0;padding:0 40px;">
 
<blockquote style="overflow:hidden;margin:1em 0;padding:0 40px;">
{{{text|<includeonly>{{error|text=Error: No text given for quotation}}</includeonly>}}}
+
{{{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>}}
 
{{#if:{{{source|}}}|<div style="line-height=1.5em;text-align:left;padding-left:1.6em;margin-top:0;">—&thinsp;<cite>{{{source|}}}</cite></div>}}
 
</blockquote>
 
</blockquote>

Revision as of 14:18, 16 January 2022


Description

This template displays large text passages as indented quotations.

Parameters

text: The quoted text.

source: The quotation source.

Usage

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